#zigbee-archived

1 messages ยท Page 168 of 1

uneven night
#

deconz addon ?

steep pollen
#

Hi guys
I finally got a LIDL Melinera christmas light strip
I think @sudden fern wrote a quirk for it last year but mine does not get one applied
Different model? Mine is the _TZE200_s8gkrkxk TS0601
Greetings

violet dagger
#

same model

regal plaza
#

Hi. Does anyone know if it is possible to change the IP of a Zigbee bridge in ZHA? I need to change Bridge to another network.

jolly narwhal
#

Sure, but you might be better off moving to ZHA or zigbee2mqtt in the end, depending on the bridge

#

There is no need to isolate a local controlled device

steep pollen
violet dagger
#

maybe frenck made it work with the Tuya integration

regal plaza
jolly narwhal
#

So horrible

#

But still local

#

There is no need to isolate it

#

And even so you can just deny the host internet access

steep pollen
regal plaza
regal plaza
regal plaza
crude otter
#

are there any recommended outdoor zigbee temp/humidity sensors?

jolly narwhal
regal plaza
regal plaza
#

@steep pollen Thanks for the tip. Worked perfectly ๐Ÿ˜‰

pine swan
#

I'm just thinking of buying some Zigbee buttons and sensors. Is Zigbee a good choice? Are there any advantages to choosing either a CC USB dongle and plugging it into my HA Pi or getting a Zigbee bridge with whichever firmware is appropriate?

sour shadow
#

Yes it is, and the best approach is a good stick, not a hub

obsidian sandalBOT
#

Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.

Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.

Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.

pine swan
#

Thanks. I had been looking at CC2531 sticks. I'll look for the CC2652

sour shadow
#

Based on initial feedback it seems to be fine

violet dagger
#

Not at that price lol

pine swan
#

Cool thanks. I just wanted to make sure the CC2652 abd CC2652P were the same thing

violet dagger
#

Check localbytes store should be cheaper

pine swan
sour shadow
#

Same, but different, but same

#

Buy direct if you're doing that

runic thorn
#

Thank you whoever summoned the bot, I was going to ask about this today.

#

Need to start moving things off of smartthings, getting tired of dealing with it.

violet dagger
#

Wise decision

runic thorn
#

Are there any good usbs that do both zigbee and zwave so I only need to buy one?

violet dagger
#

Nope

runic thorn
#

Figured ๐Ÿ™‚

sour shadow
#

There's an ok one, mentioned in the bot message, but honestly if you're buying new there's no reason to buy t

pine swan
#

Has anyone in the UK ordered from ITlead? How big was the order? Did you get hit for Customs charges?

sour shadow
#

Yes, just the stick, no, took about a month to arrive

molten linden
sour shadow
#

Eh, try explaining the nuances and you just confuse people even more

raven jewel
odd mango
#

hi. I have a dimmer switch, which does not switch on if insity is provided together with switch on command. Basically, if I want to switch on the light at certain intensity, I have to send two commands: one to set intensity, another just to switch on.
Is this normal, o just a nuance of this particular dimmer?

lyric vortex
#

I found what seems to be a decent z-wave usb, but can someone recommend a good zigbee usb?

sour shadow
radiant steppe
#

Hello, I've been told here that the best option to link a hue bulb is with z2m.
How do I pt a hue bulb in pair mode like any z2m devices ?

sour shadow
radiant steppe
#

Well, Koenk is working on a solution because TI usb devices are not working with touchlink. I'll have to use the Hue hub for now ๐Ÿ˜ฆ

sour shadow
#

Wrong channel

#

(do also read #rules about not posting long walls of text)

violet dagger
molten linden
#

if you need an extension cord for a stick more times than not ๐Ÿค” (plus I'm just being snarky today)

cerulean abyss
#

Hey tube, if I later wanted to add poe to your box stick whatever you want to call them thing, how hard would it be

lilac wharf
#

PoE splitter not an option?

cerulean abyss
#

Was wondering if a more sleek solution existed

sour shadow
#

Buy a PoE capable unit zany

jolly narwhal
molten linden
#

splitter is the way to go. the ethernet jack on the non-poe isn't compatible with PoE so even if you could get the pins to a PoE "chip" it wouldn't work.

jolly narwhal
peak jasper
#

I'm using zha with a hubz combo stick (but only for zigbee, not for zwave)

#

Using HA OS in a qemu vm on Linux, passing the USB through. I made sure nothing on the host is trying to access it.

tropic depot
#

What else is running in HA

peak jasper
#

Was that question for me? Nothing that uses USB.

austere patio
jolly narwhal
#

Multiple layers of virtualization plus shoddy drives can surely be a factor

#

It's it in a usb2 or 3 port?

austere patio
#

HUSBZB-1 uses a CP2102x from what I recall, I dunno what the virtualization situation is with that chip

round crow
#

๐Ÿ‘‹ Hey everyone - been googling all day w/o any luck so I'm hoping someone here has answers! I'm trying to change the zigbee channel of my HUSBZB-1 stick using proxmox, kvm running debian.

  • proxmox correctly shows USB stick under hardware. In HA it shows up under /dev/ttyUSB0 and /dev/ttyUSB1
  • when i try to access the host server (that the VM runs in) /dev/ttyUSB0 doesn't work
  • when I access the shell of the VM, I can only access home assistant cli and I have no idea how to access the "host" shell to be able to run bellows
  • I've set channel in configuration.yaml under zha, but from reading everywhere I have to run bellows to restart the network, etc.
  • I tried running bellows scan from the host shell, but /dev/ttyUSB0 says they don't exist

Am I missing anything? Thanks!

austere patio
#

After changing the channel you'll have to re-join every device

round crow
#

thank you

austere patio
#

Np. Make sure ZHA is disabled before running any tools that use the serial port, otherwise they won't work

#

If you're already going to delete your network, you may as well run an energy scan to find a quiet channel from the perspective of the Zigbee radio

round crow
#

that's a great idea!

#

is that using bellows scan -d /tty/USB1?

austere patio
#

bellows -d /dev/... scan -e -t 500 --channels 11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26

#

Pick the one with the most negative RSSI, but only one of 15, 20, 25

#

Otherwise a WiFi network can completely overlap with the Zigbee network

round crow
#

i think that's what's happening right now - my zigbee network drops like every day

#

i learned about wifi interference today so i want to give that a shot

austere patio
#

If you're using the default channel of 15, that shouldn't happen unless you have a WiFI network on a non-standard channel (i.e. not 1/6/11)

round crow
#

i'm assuming its been the default channel of 15 (been trying to confirm all day), my 2.4ghz wifi is on channel 1

#

i don't know what else it could be - it's driving me crazy having everything drop every day even with 2 always plugged in routers

austere patio
round crow
#

yes, earlier today i did but after being down for 3 hours, it came back up and hasn't given me anything useful yet

austere patio
#

Can you post the log? Down for any amount of time is unusual

round crow
#

damn, logs are gone ever since i disabled zigbee

#

so i don't think i'll be able to share now, but after i scan these channels, etc ill re-enable it and see if it happens today

austere patio
#

Is your home-assistant.log file empty?

round crow
#

yes

#

but it wasn't earlier today when i was scrolling through it

#

is this command supposed to take more than 5 seconds?

#

i disabled ZHA from within homeassistant, then restarted the home-assistant VM in proxmox

austere patio
#

Should take about 8s

round crow
#

ok then something is hanging

austere patio
#

Try it with bellows -v DEBUG ...

round crow
#

i think my VM was hanging because i just got it to work!

austere patio
#

What do the scan results look like?

round crow
#

i think its possible to omit the channels flag btw

#

seems like 15 is -51

#

20: -86

austere patio
#

What about 25?

#

Do you have a large network on 15? That would impact the scan result

obsidian sandalBOT
round crow
#

when you mean large network, do you mean zigbee network? i think that's the default zha channel and it only has 2 battery powered devices + 2 always-on routers (both IKEA)

dense pilot
#

Hi,
I've moved my Philips Hue Light Bulbs from the Hue Hub to the ConBee 2 (zigbee) integration. The light itself works fine, but it does not turn all lights on or off when I use a group switch. Also using a group defined by the integration does not work.
Anybody know what that problem clould be?

round crow
#

i haven't re-synced my devices but i only have 9 total

austere patio
#

Looks like 20 is a way better choice than 15

round crow
#

yeah seems like it - i'm going to try that

#

my husbzb stick is next to my wifi router and sonos speaker so i figured that could have something to do with it

#

its on an usb cable extension

#

my philips hue bridge works totally fine and i have like 12+ hue lights, which sits next to my linux box

austere patio
#

bellows -d ... leave and bellows -d ... form -c 20 will form a new network on channel 20

#

Hopefully that fixes your problem, because 3 hours of downtime is definitely unusual ๐Ÿ˜†

peak jasper
round crow
#

thanks puddly! trying all of that now

#

damn, leave worked just fine but running form gives me an invalid value for -D --database

austere patio
#

You may have to give it a temporary one: --database /tmp/deleteme.db

round crow
#

ah yeah

#

it says file /root/.config/bellows.app.db does not exist

#

should that be pointed to home assistant's zigbee db?

austere patio
#

Sure

round crow
#

and/or will i have to delete the zigbee.db generated by homeassistant now that i've joined a different channel?

austere patio
#

The database contains basic device info so re-joining devices will be faster since the IEEE address already tells ZHA everything it needs to know about a device

#

You can delete it if you want, it'll look the same as it does now after you re-join everything

round crow
#

got it - i think i'll just delete it if i can

#

someone on some github thread said to do this: touch $HOME/.config/bellows/app.db

#

but ./config/bellows doesn't exist - that doesn't seem right?

austere patio
#

It'd be /root/.config/bellows/app.db, I think it requiring the database is a bug in the tool

#

Because I don't think it does anything with the database

round crow
#

oh ok cool

#

because i do see /config/zigbee.db that is in my homeassistnat folder i can link to

austere patio
#

That'd work

round crow
#

ok, i ran: bellows -d /dev/ttyUSB1 form -c 20 -D /config/zigbee.db

#

its been a couple seconds and its still running

austere patio
#

That is an unrelated glitch with the tool, you can CTRL-C it ๐Ÿ˜…

#

bellows -d /dev/ttyUSB1 info should tell you the current network settings and the channel

round crow
#

success 0?

austere patio
#

0 is usually the SUCCESS status

#

radioChannel=20 so you're good

round crow
#

ohhh great, thank you!

#

now its time to see heh

molten linden
lone stag
#

can i add an effect_list to a zigbee light group for a colorloop? preferably one where i can adjust the speed of the color loop

#

i have lidl LIVARNO LUX rgb zigbee lights

sleek cipher
#

I am trying to set up a Conbee2 stick with ZHA. I am getting stuck on the first screen when it is setting up, the circle keeps spinning. Anyone know why that may be?

cunning viper
sleek cipher
#

I was able to get it added, but it told me that Home assistant needs to be restarted

cunning viper
#

My impression from forums/reddit is that deconz or Zigbee2MQTT may be better. Anyone else here have a preference? I can't decide

lilac wharf
#

conbee support in zigbee2mqtt is experimental, so ZHA or deconz would be a better choice for that stick

obsidian sandalBOT
#

For Zigbee2MQTT any CC2652p (or CC2652) based stick is a good choice. Those are also a good choice for ZHA, which also supports the EmberZNet sticks (see here for some details). Don't pick the cheap CC2530/CC2531 sticks, and avoid the Sonoff Zigbee bridge since Zigbee and WiFi aren't friends. If you're not using deCONZ avoid the ConBee and RaspBee devices.

cunning viper
#

so deCONZ might be the way to go I'm assuming

sleek cipher
#

I got it working with ZHA and its been fantastic so far

thick plover
#

anyone able to help me with the setup of mosquitto and zigbee2mqtt?

#

both are running as containers, i can log in to the mosquitto broker via mqtt explorer

#

just that zigbee2mqtt is sitting on 'Loading, please wait.' when I open the WebUI

thick plover
#

and now getting this while trying to start zigbee2mqtt after changing some of the config to what i thought would fix it.

#

Zigbee2MQTT:error 2021-12-31 14:23:20: Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby

#

could that be because devices are trying to connect to it that were paired with my old instance?

thick plover
#

got it all working, ๐Ÿ˜„

thick plover
#

What solved the problem was turning off the Adaptive Lighting integration which was still trying to push commands to lights no longer connected to the coordinator

gentle flint
#

Should depend on the device. If connection is lost on current channel (radio moved to the new one) then device should scan all the channels for the same ext pan id and rejoins on new channel. But some devices still would need rejoining.

#

Theoretically, some could back the current settings, modify the channel and restore new config. If not afraid to have rejoin all the devices

austere patio
fleet lodge
#

I swear I've seen him active in HA, Z2M or other Zigbee communities, but I don't remember which one.

sour shadow
#

Real world experience still says it's experimental

cursive narwhal
#

Hi, i'm quite new with HAss and Zigbee and ..., after struggeling several times with flashing, connecting aso. with my Sonoff ZBBridge it has been worked yesterday and found several aqara switches.

Today i want to start with some HAss scripts but there is no reaction if clickink the switches.
If looking in -Configuration, Services i found the ZigBee Home Automation, if trying to add device and switch on the log, there ist no reaction neither in Log windows nor in the Sonoff console.
How2 debug this?

sour shadow
#

Are those actual switches, wired up and with associated switch entities? Or are those battery powered remotes?

cursive narwhal
#

battery powered

sour shadow
#

And presumably you're using events or device triggers in your automations?

cursive narwhal
#

i'm using eg. Modell:WXKG01M Xiaomi Switches (worked yesterday), i've not done any automation yet

sour shadow
#

ZHA uses events (or device triggers) for remotes

#

There's no entities that'll change state/react, nothing to log

cursive narwhal
#

Crab, after rebooting HAas it wokred again

#

Sorry, should be the first step

sour shadow
#

The ZBBridge isn't awesome, it's entirely possible that comms with it failed

cursive narwhal
#

But i has to reboot HAas on my pi4 not the ZBBridge, this worked with no Problems the last weeks with FHem and solo

sour shadow
#

Yeah, the communication with the ZBBridge is known to be problematic - it's down to the chipset that it uses, and the fact that it's on WiFi

#

This is why it's not recommended (by anybody that actually has a clue, lots of idiots recommend it)

cursive narwhal
#

is there a stable way to use zigbee devices?

sour shadow
#

Yes, something that's not that ๐Ÿ˜„

obsidian sandalBOT
#

Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.

Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.

Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.

sour shadow
#

If you really want something network connected there are some Ethernet connected CC2652 based devices, sold by Tube

#

The combination of wired and a different chipset means those are fine

cursive narwhal
#

Thx, not so easy ๐Ÿ™‚

#

maybe i give Phoscon RaspBee II a try

sour shadow
#

๐Ÿคจ

#

Please do read the bot message

cursive narwhal
#

Ok, Thx, i'll find something delivered in Germany
At least one other Question, could you point me to a Documentation about using Docker (HAss @real iglooi4)

sour shadow
#

Do you mean the HA Container install method?

cursive narwhal
#

No, i've installed a ready image with HA Container in Docker. But i've no idea how to access the Docker environment. e.g. SSH or something else

sour shadow
#

Ready image?

#

Do you have add-ons and a Supervisor?

cursive narwhal
#

yes

sour shadow
#

Then you don't have HA Container

#

You have Home Assistant OS

cursive narwhal
#

thx4the advice

sour shadow
#

There are three guides on that page

cursive narwhal
#

yes, now , at least, i got it

quaint belfry
#

hi guys

#

can someone help me?

#

i have bought new zigbee (3.0) lights from aliexpress

#

it is not supported, so I want to support it. But i cant find the "ZigbeeModel".

#

it only came with one tiny paper

violet dagger
#

zigbeemodel is shown when trying to pair it

quaint belfry
#

and there is nothing on there. Also nothing on bulb

#

device type?

#

there is the screenshot

violet dagger
#

see that line saying: Zigbee Model... that's ZigbeeModel

quaint belfry
#

oh i see

#

ghaha yeah

#

Need coffe

violet dagger
#

your issue would be the Zigbee Manufacturer is missing from that Zigbee Model fingerprint

quaint belfry
#

but whats the differnt between zigbeeModel and model?

violet dagger
#

so just add another line to the converter

quaint belfry
#

oke oke

#

thats fast. I do not understand

violet dagger
#

model is manufacturer's designation for that device, zigbeemodel is required by zigbee spec

quaint belfry
#

Ok that sounds correct

#

but where should i enter the new line?

quaint belfry
#

yeah, thats what i am trying to do now

violet dagger
#

that wasn't obvious from your beginner level questions

quaint belfry
#

i am good in other stuff

#

this is new to me

#

confused with model and zigbeemodel

#

also because of the "." dot in the zigbeemodel, looks like concatination to me, and dont see that coming back in my zigbeeModel

violet dagger
#

i don't know where you see dots

quaint belfry
#

in the example it says on the zigbeeModel "lumi.sens"

violet dagger
#

seems you know other stuff too much and draw your own false conclusions

quaint belfry
#

i think so

#

new to this

violet dagger
#

zigbeemodel can have any character in it

quaint belfry
#

ah oke

#

thats on crapy example then. lol

violet dagger
#

maybe for you, worked perfectly for me

quaint belfry
#

yeah vair enough

vestal atlas
#

oh, sonoff really seem to be stepping up their zigbee game. Looks like the will release their button, motion sensor, temp sensor, contact sensor & bridge all using cc2652 ๐Ÿ˜ฎ

#

they didn't seem to get the issue with wifi coordinators tho ๐Ÿ˜…

knotty saffron
#

Hello. Is it right place for cc2531 troubleshooting?

violet dagger
#

chip used in sensors is irrelevant if it keeps on draining batteries

jolly narwhal
violet dagger
#

turn it into a router and buy a CC2652x... troubleshooting done

jolly narwhal
sour shadow
knotty saffron
#

Nice.

jolly narwhal
knotty saffron
#

But it was ok several years , untill my friend ask me if I could try his stick , because it doesn't work for him. It didn't work for me also, and I reconnected my adapter and now it doesn't work too

#

Output of ls -l /dev/serial/by-id gives me a adapter

#

But it isn't found by the addon i think

knotty saffron
#

I restarted, server, then the host also. Didn't help. I restored last backup and it helped

quaint belfry
#

@violet dagger i am really close

vestal atlas
quaint belfry
#

beginning to get it

#

expect for the last line

#

in the example. it says: exposes:

#

how do i know what it exposes? i dont have other devices which do the same where i can see the value's

#

i am now using a wallplug

#

so i nknow it is a switch and exposes a boolean

#

"true/false, on/off"

#

in the example i can see that this time it uses properties (concatination) like e.temperature()

#

i checked documentation for exposes of a switch, but it does not say from what object

cursive narwhal
#

I'm using a not very stable IMO Sonoff ZBBridge.
Now, after advise from Tinkerer, i studied many CC2652 devices, but found no delivered from/to Germany.
Are there any recommendation for a replacement of the Sonoff ZBBridge? i would prefere a Raspi Shield not usb stick or a network connected bridge.

last ruin
#

Can I reset the kWh meter on a Develco SPLZB-131 power plug? Using deCONZ.

jovial aspen
#

isn't slaesh in germany?

sour shadow
#

Yes

#

As long as you don't run into any issues you'd be fine buying from them

jovial aspen
#

i had to wait one thousand years for my stick to be delivered

#

but it came eventually

sour shadow
#

Communication isn't something he's capable of apparently, so if you have any problems you're largely out of luck

cursive narwhal
#

Ok, saw tubes store, but since there is no impressum and no delivery info ...

violet dagger
#

what an amateur

obsidian sandalBOT
#

@compact haven Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, text walls (longer than 15 lines) and unapproved bots.

Please take the time now to review all of the rules and references in #rules.

For sharing code or logs use https://www.codepile.net/ (pick YAML for the language) or https://paste.debian.net/ (pick YAML for the language).

sour shadow
#

There's delivery info once you start working through the process

jovial aspen
#

my sonoff zigbee 3.0 plus arrived in the country a few days ago!

#

now for it to meander its way up to Brisbane from Sydney

compact haven
#

ahh, i hope it arrives soon

#

do you have any experience with zigbee2mqtt?

sour shadow
#

Lots of people do, but the wall you posted has no relevant errors

#

It would appear to be running

compact haven
#

I know, thats why i'm stuck.

#

The log just ends there

sour shadow
#

What makes you think it isn't running?

compact haven
#

Well if i go to the frontend, the devices page keeps saying 'Loading, please wait' and i don't see any zigbee service spinning up

#

Where can i check if it is actually working

#

I have a philips hue living iris that i want to touchlink (because I have no remote). but it never detects a device

#

Do I have to define an adapter ?

#

I'm walking through the pages and now I can see the message when I try to scan for touchlink
Request 'zigbee2mqtt/bridge/request/touchlink/scan' failed with error: 'SRSP - AF - interPanCtl after 6000ms'

sour shadow
#

ISTR there's issues with Touchlink and CC2652 based sticks

lilac parcel
#

Hi. Is there any updates with ZHA and Conbee II dongle ? I see backups are not supported and since (at least part of) the device database is stored on the Conbee II itself, if that fails, then I will have to re-pair all my 40+ devices. Isn't there anything that can be done, e.g. Windows offline backup or something like that (not ideal, since manual, but better than wasting days re-pairing all devices) ? Thank you

compact haven
#

just got it to work by unplugging and plugging the usb dongle

#

I'm stupid

sour shadow
lilac parcel
sour shadow
#

Ok?

#

Why not follow the link I posted instead?

#

You don't even say which of the many commands you ran though

lilac parcel
#

Indeed, your link maybe more recent or have more packages. I am trying in a virtual environment and will let you know, thanks ๐Ÿ™‚

sour shadow
#

Well, I provided that link because it's relevant to your question. I have no context for the random link you tagged me against

#

I'm pretty sure though that's for the TI sticks, not ConBee

lilac parcel
#

The link you provided cites an example with DeconZ. But when I try to run the commands, I get
Building wheel for pycryptodome (setup.py) ... error
ERROR: Command errored out with exit status 1:
(and a lot of extra red lines)

sour shadow
#

Well, that's a pull - as in not yet merged

#

This pull request is still a work in progress

#

What those red lines are is probably relevant

obsidian sandalBOT
#

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

Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.

lilac parcel
#

Might be that I miss gcc inside the docker container. About pycryptodome not sure if that is the new or the deprecated package. I remember some issues with Saltstack / Gentoo back then

sour shadow
#

Those commands aren't run inside Docker

lilac parcel
#

OK so that's different compared to the link I posted

#

Thanks for clarifying

#

OK now it's running correctly

#

But it's only some network key etc that are on the device itself then, not the device list ?

#

*zigbee device list I mean (40+ devices)

jovial aspen
#

so just how bad are the sonoff zigbee wifi bridges?

#

CC2531 bad?

sour shadow
#

Bad, and worse

jovial aspen
#

oh dear

sour shadow
jovial aspen
#

i just helped a mate flash one with z2t and set it up with ZHA

#

๐Ÿคฆโ€โ™‚๏ธ

sour shadow
#

For Zigbee2Tasmota they're not totally shit, since the brains is local to the stick

#

Z2M is pretty limited though, so I doubt anybody would notice

jovial aspen
#

oh well if it sucks too bad i'll give him my sonoff 3.0 plus when it arrives

jolly narwhal
#

2531 is fine as a router

quaint belfry
#

he

#

trying to add a unsupported device (lumi doorsensor

#

i succesfull added the sensor, but it is not working

#

i dont know whats shoud be insede the "fromZigbee: [],

#

i put in [on_off]

#

can someone help me?

lilac wharf
jolly narwhal
#

A few weeks ago

#

But..... "Other"

#

Is just a more political correct term for "please don't"

quaint belfry
sudden coyote
#

Does ZigBee Green power work with binding? I found this in a white paper on end devices Vs green power, but I'm not 100% sure on what it implies:

all other networking and support-related aspects, like routing and binding, are offloaded to the Zigbee backbone network.

I want to make sure the lights work even if HA is down

feral rivet
#

@sudden coyote - on another note - what Zigbee adaptor are you using for getting Green Power support?
I learned the hard way Sonoff USB 3.0 + ZHA does not..

sudden coyote
#

Currently using ZigBee2MQTT. I haven't got any green power devices yet which is why I'm asking. I'm using a Conbee, but the Z2M docs seem to suggest that some router devices (e.g. hue bulbs) can do the green power translation

jolly narwhal
#

Green power on already battery operated and 5w bulbs WhiteGuyBlinking

sudden coyote
strong falcon
#

I recently bought a ConBee II, and testing out if I should replace my Ikea hub to control Trรฅdfri bulbs. First test is that the response time for the switch is a lot longer, and dimming looks like stepwise instead of linear. From what I read before buying the ConBee II, I expected same or better response time for the switch. I'm running HA in Docker on an nuc, so HA resources should not be a problem. (i5/Ubuntu), and set up Zigbee using ZHA.

jolly narwhal
feral rivet
#

I havent had a lot of good luck with the ConBee stick in a Unraid based HAssos VM, so went with the Sonoff stick - works a lot better, but no Green Power

jolly narwhal
#

Conbee isn't... Great

molten linden
cursive narwhal
#

thx

covert matrix
#

hey , can any1 hook with me a good guide to flush tuya ir blaster with tasmota ?

sudden coyote
# jolly narwhal Conbee isn't... Great

I don't disagree :') but it works fine for my small network and gave me options with ZHA/ deconz/ Z2M when starting out. Will almost certainly change it for the new Sonoff stick soon

sour shadow
sudden coyote
strong falcon
#

I wasn't unhappy with the Ikea gateway, I just wanted to have one less device (not counting a USB stick as a separate device), but I'm kind of preparing for buyin more Zigbee devices.

jolly narwhal
covert matrix
#

another question about zigbee lights , i have several types of light bulbs, some rgb e27 some gu10 and another single e27 but its not rgb

#

only the single light is a repeater rest are not

#

any way to tell before you buy ? or someone have a list of those who repeat the signal and those who dont ?

sour shadow
#

Generally each brand is a known entity

#

Sengled are known to not be routers

#

Almost every other brand is

covert matrix
#

weid

sour shadow
#

Tuya...

#

Yeah, Tuya like Sonoff is who the hell knows what they were smoking

covert matrix
#

any recommended zigbee brands i should look for ?

sour shadow
#

For what?

covert matrix
#

bulbs

sour shadow
#

Hue

#

Ikea

#

Innr

#

Sengled

covert matrix
#

thanks, noted

lilac parcel
# jolly narwhal Conbee isn't... Great

Why not? The main issue I had was the backup, but Tinkerer pointed me in the right direction. Furthermore pairing devices is sometimes a pain, especially IKEA switches/etc, but not sure if that is the Conbee or just the device being *******

jolly narwhal
#

Because most users who have issues

#

Have a Conbee

lilac parcel
obsidian sandalBOT
#

Buy something CC2652 based. This list is a good one, both Tube and Electrolama have been proven to have excellent customer service. The current generation of EZSP sticks (see here for some) are also a good choice for ZHA.

Anything CC2530 or CC2531 based should be avoided - they're old, slow, and only suitable for a dozen or so devices. The Sonoff ZBbridge isn't advised since it uses WiFi (built in interference causing stability/reliability issues), and the HUSBZB-1 uses an older chipset so should be avoided.

Finally, the ConBee range are fine with deCONZ, but experience with ZHA and Zigbee2MQTT appears to be mixed.

jolly narwhal
sour shadow
#

The CC2652 has issues, sure, but it's also getting regular firmware updates and things get fixed

jolly narwhal
#

I had a cc2531, threw it out after 2 days

#

Bought a cc1352

#

Then a zzh

lilac parcel
#

So CC2652 based include the CC2652P (Sonoff Zigbee 3.0 dongle) ?

jolly narwhal
#

Yes, although I will probably never buy a sonoff product

lilac parcel
#

Which one would you rather reccomend ๐Ÿ™‚ ?

#

I just bought a bunch of sonoff wifi switches, but will of course flash Tasmota on them

jolly narwhal
#

Zzh / tube are the good options currently

fast quiver
#

Anyone had any luck with Innr light bulbs on zigbee2mqtt? This one: https://www.zigbee2mqtt.io/devices/RB_265.html is coming up unsupported. I Have two of them and they are both coming up unsupported.

I have moved my gateway directly under the bulb with no luck =/

#

is there a quirk or something? do i need to create a custom converter to get it to pick it up?

sour shadow
#

Both are good, and both sellers have excellent customer service

lilac parcel
#

Any retailers in EU ?

#

The Tube looks especially cool. If you get the Ethernet version, can you still use USB for data communication then? Or it's only for debugging in that case ?

#

I would be interested to buy it but paying +50% in taxes/duties is a lot ๐Ÿ˜ฆ

strange shuttle
#

Hi guys, can anyone explain to me how to read the zigbee network map, using ZHA

#

like what does a red line with a number on it means

inland coral
#

โ€œThe Zigbee coordinator will be represented by a rectangle at the top. Any device that serves as Zigbee router (usually all devices running on Mains electricity / grid power) will represented as ovals, and Zigbee end-device (usually battery powered sensors) will be represented by as circles.

The lines between those representions show all the possible paths through Zigbee mesh. Any path with a LQI over 192 is shown as green, LQI 129-192 is shown as yellow, and anything 128 and lower is shown as red.โ€

strange shuttle
#

@inland coral Thanks, so the higher the number = the better signal?

inland coral
#

Yes. Red=bad ๐Ÿ˜„

strange shuttle
#

rofl, well time to get me some routers

lilac parcel
severe linden
#

has added ZIGBEE to home assistant! ๐Ÿ˜Ž

sour shadow
#

That's not the ZZH, that's another seller, one known to have zero communication skills

violet dagger
#

its more of an "order and pray" type of service

lilac parcel
#

The Tube is the more "ready to deploy" as far as I see, more rugged. Not sure how much I really need ethernet, but I would definitively like the flexibility of it, e.g. moving to a more central location

lilac parcel
jolly narwhal
#

No idea, zigbee2mqtt backs up on every boot afaik

#

I've moved my stick around between three different machines over three years

#

Never had issues

lilac parcel
#

I'm currently using ZHA, not sure if that's compatible though

#

(with zigbee2MQTT)

jolly narwhal
#

It is two different integrations

#

One is part of ha

#

One is not

lilac parcel
#

But is it easy to migrate from ZHA to zigbee2MQTT

#

?

#

And what additional benefits does zigbee2MQTT bring ?

jolly narwhal
#

Decoupling

#

Running zigbee2mqtt somewhere else than in my garage DC

#

And multiple instances of ha can access the same ZigBee network

lilac parcel
#

OK :o. So you also have multiple coordinators ?

jolly narwhal
#

No

lilac parcel
#

Alright, Just ordered 2 x Tube with Ethernet

#

Hope this will support the maker a bit ๐Ÿ™‚

severe linden
#

Did I.... did I pick a bad time to switch to zigbee? I'm looking for bulbs...and the options are...not encouraging. Or is this just another supply chain shortage issue?

lilac parcel
austere patio
#

Were you able to test the Conbee backup with a second coordinator?

#

Or did just the backup itself succeed?

lilac parcel
#

The backup succeeded, although it's just a ~30 lines JSON file with network configuration. The list of zigbee devices / database must be stored somewhere else (probably on homeassistant itself)

austere patio
#

The Conbee specifically does not store any device info

lilac parcel
#

Lots of DEBUG messages but no ERROR as far as I could see

austere patio
#

Great, thanks for testing it

lilac parcel
#

No worries, thank you for writing it ๐Ÿ˜‰

#

Now the question is whether you can migrate from zha to zigbee2mqtt easily without having to re-pair everything :S

austere patio
#

With a Conbee or with another adapter?

lilac parcel
#

Right now I'm on Conbee II until the Tube arrives

austere patio
#

Z2M will be missing its equivalent of ZHA's zigbee.db so it will have to somehow re-initialize every device. I think it does that for unknown devices if you enable joins and just let the network run for a while.

#

Is your Conbee running a recent firmware? The backup should contain a non-zero frame_counter value.

#

Every time you send packets that number is incremented so if you restore a backup that's too old, other devices will not like that the counter rolled back. It's best to perform a backup right when you're doing the swap, to ensure it doesn't roll back.

lilac parcel
#

frame_counter is 0

austere patio
#

Looks like you'll need to update the Conbee firmware, they only allowed it to be read in recent versions

lilac parcel
#

Damn it

austere patio
#

Or you can just replace it with 5000000 and hope it's high enough ๐Ÿ˜†

lilac parcel
#

First I must manage to setup Zigbee2MQTT anyway. Right now I'm getting a 502 Bad gateway error, surely I'm missing some configuration

lilac parcel
austere patio
#

You can update it without the Docker image if you use GCFFlasher_internal

lilac parcel
#

Yeah but then I need to install deconz

austere patio
#

Unfortunately yes

#

What platform are you using?

#

It may be possible to just extract the binary out of the .deb package

lilac parcel
#

Raspbian on Raspberry PI 4 (64 bit)

austere patio
#

Nvm, doesn't work, it's not statically linked

#

How are you running the Docker image?

#

I have something like /dev/serial/by-id/usb-dresden*-if00:/dev/ttyACM0 in my docker-compose file and it works for me

lilac parcel
#

Nah I removed it. I'm really not familiar with docker. It didn't like (and neither GCFFlasher_internal running directly on the host) the /dev/serial/by-id/...., and Docker didn't like the direct /dev/ttyACM1 either. It complained it didn't exist

#

Seems to have worked by flashing directly on the host

#

But now zigpy crashes

#

WARNING No response to 'Command.read_parameter' command with seq id '0x02'

austere patio
#

You may have to unplug the Conbee and plug it back in after flashing the firmware

#

Or run the command again

lilac parcel
#

Funny running the command again worked

#

Exactly

#

๐Ÿ˜„

#

"frame_counter": 1111739

#

Now it's saying something at least

#

Now on to fix Zigbee2MQTT. Is it "normal" that it's such a struggle to configure ?

austere patio
#

Not too sure, I haven't tried running it in a while. Does it not have debug logs that tell you what error it's having?

sour shadow
#

The add-on is more complicated to configure than the native install

lilac parcel
#

Not very explicitly. Now I restarted Raspberry PI. I see this as the main possible culprit

#

INFO: MQTT credentials not configured, trying to auto-discovering ...

lilac parcel
sour shadow
#

Compared to not-the-add-on

lilac parcel
#

Zigbee2MQTT:error 2021-12-31 19:56:09: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)

austere patio
#

What adapter are you trying to use it with?

lilac parcel
#

Conbee

sour shadow
#

Did you tell it that?

austere patio
#

You have to specify the adapter type in the config file, otherwise it assumes it's a TI coordinator, which it isn't

lilac parcel
#

I pointed Zigbee2MQTT to /dev/serial/by-id/....

sour shadow
lilac parcel
#

Aaaah

sour shadow
#

Yup, the docs ... the downfall of many a person

austere patio
#

I think Z2M will also erase the Conbee's network settings, not sure if it does that with non-TI adapters

#

So you may have to copy the network information into the advanced section in its config file

lilac parcel
#

I am quite confused because the is MQTT config, Zigbee2MQTT config and I think I saw configuration in 2 other places

#

The "advanced" section seems to be already quite well populated

sour shadow
#

You need to configure Z2M to tell it about your broker, and how to authenticate to it

lilac parcel
#

Not necessarily correctly though

sour shadow
#

The add-on tries to be smart

lilac parcel
#

Somehow I'm confused

#

You have addons -> Zigbee2MQTT configuration -> edit "file"

#

And file editor -> zigbee2mqtt -> configuration.yaml

#

but it's not the same file

#

Because I set adapter: deconz but it's not being taken into account into the "other one"

sour shadow
#

Yeah, the add-on is a pain in the ass

lilac parcel
#

So what do you use then, ZHA ?

sour shadow
#

No, I use Zigbee2MQTT running in Docker, natively, without any Supervisor nonsense

lilac parcel
#

Isn't "Supervisor" just a tool that deploys the Docker image and manages its configuration, in essence ?

sour shadow
#

Yes, but the add-ons come with sprinkles of unicorn ๐Ÿ’ฉ - as you're finding

#

(the Supervisor is basically like K8s, it's a Docker manager, and handles device pass-through and other stuff that I'm perfectly capable of doing myself, thank you)

jolly narwhal
lilac parcel
#

๐Ÿ˜„

#

Well I'm not that capable with Docker to be honest, but if there is not another way around it :/

jolly narwhal
austere patio
#

DEBUG=zigbee-herdsman* npm start is all you need

lilac parcel
#

But maybe it's better that I wait until I get the Tube controller though, not that I have to re-re-pair all devices

lilac parcel
#

I'm largely confused with all the docker containers currently running on my raspberry pi ... There must be like 10 containers for home assistant and addons ๐Ÿ˜†

austere patio
#

It's if you directly want to run Z2M without a container

#

(Not that I'd seriously recommend it but it's a whole lot easier for testing)

violet dagger
#

if you're running haos its best not to ask questions about things running underneath

lilac parcel
#

๐Ÿ˜ฎ

#

I get this error by trying to run npm in what I believe to be the zigbee2mqtt container

#

npm ERR! enoent ENOENT: no such file or directory, open '/package.json'

#

zigbee2mqtt/zigbee2mqtt-aarch64:1.20.0-1

violet dagger
#

the joys off addons, where nothing is in the officially documented path

lilac parcel
#

So what is the solution then ?

violet dagger
lilac parcel
lilac parcel
#

The logs are really not that helpful though

lilac parcel
#

But I'm not sure if it's the right path where I run the command

hardy crane
#

what exactly is your error based on the logs from the addon?

#

the addon makes a /zigbee2mqtt folder in your /config folder

#

do you have that folder if so, is there a valid configuration.yaml file there (this should have the same info as the info you put in the addon config page and some extra)

lilac parcel
#

/paste

#

What was the pastebin-like service ?

jolly narwhal
#

/cut

obsidian sandalBOT
#

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

Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.

lilac parcel
#

Thanks ๐Ÿ™‚

jolly narwhal
#

I prefer HATEBIN

jolly narwhal
#

But even better cat your.file | nc termbin.com 9999

lilac parcel
#

And /usr/share/hassio/homeassistant/zigbee2mqtt/configuration.yaml contains roughly the same information as the web configuration editor

austere patio
lilac parcel
austere patio
#

Seems like it

lilac parcel
#

I have /app/package.json, /app/lib, /app/node_modules and some other files

austere patio
#

How are you starting the container?

lilac parcel
#

Well ... I'm not ... Home Assistant is starting it

austere patio
#

So you're using the addon?

lilac parcel
#

yes

austere patio
#

You shouldn't be running npm stuff in the addon container, I only mentioned it if you're trying to run Z2M directly after git clone-ing the repository

lilac parcel
#

ah

#

Then I'm really lost

#

I thought about setting up stuff this weekend but maybe better to wait until I get the Tube controller. I will have to repair 40+ devices anyway apparently ๐Ÿ˜ฆ

jolly narwhal
#

Try the same operation on a pure Debian host either with zigbee2mqtt natively or in a docker container

lilac parcel
#

So without the addon ? I'll need to setup another raspberry pi for that test

jolly narwhal
#

I always forget other people don't have six systems ready to test stuff

lilac parcel
#

Oh no i have many systems, problem is in the middle of renovations and after a moving there are not many systems that are ready and easy to find ๐Ÿ˜„

hardy crane
#

@lilac parcel slightly confused with what you're doing

#

you have HAOS if I'm getting that right

#

so you have addons

#

but then you're mentioning /usr/share/...

#

also none of the log files look like logs of the addon

lilac parcel
#

I got confused already during the install to be honest ... I guess it's supervised, because it was installed on top of raspbian / raspberry pi os

jolly narwhal
#

So unsupported too then

hardy crane
#

then it's supervised

jolly narwhal
hardy crane
#

that could be why you're having the issues

#

make a pastebin of the addon's configuration tab

#

and a pastebin of the addon's log tab after you restart it and wait for all the logs to show up

lilac parcel
#

Well if I need to reinstall everything that could also be done IMHO, I just would like to "port over" the main configurations, not having to reconfigure everything from scratch

quaint belfry
#

hi, how can i obtain the missing information for an unsupported device?

hardy crane
#

I have tried Z2M with a Conbee in HAOS to see if it worked and it's loading up fine

lilac parcel
#

I don't like this Windows-like approach of reinstalling everything every time though

#

๐Ÿ˜„

hardy crane
#

anything will be better than running an unsupported installation which might be causing a problem no one would know

lilac parcel
#

The main thing that pushed me away from HAOS was, IIRC, the fact that I couldn't install or use ssh (or it was "unsupported") as well as custom applications (I use saltstack to manage my systems)

hardy crane
#

you said you have other machines. You can run salstack there to manage your systems. If you mean to manage HAOS the point of it is it's managed for you

#

there is ssh there are ssh addons. Probably were doing something that couldn't be done ๐Ÿ˜…

#

if you want full management should just use containers

lilac parcel
#

Yes but I mean to deploy e.g. network configuration, files, add users etc using saltstack. At the moment everything is down, still trying to setup everything after the move ...

lilac parcel
quaint belfry
#

in proxmox

#

make a debian vm

#

install docker for debian vm:

#
 sudo apt-get update
 sudo apt-get install \
    ca-certificates \
    curl \
    gnupg \
    lsb-release
#
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
#

apt update

#

and there you have docker installed on your vm

#

you can see docker as a "vm"

lilac parcel
#

Well I understood it's an evolution of LXC that can also run on Windows

quaint belfry
#

only it is a pre install vm (image)

lilac parcel
#

I am just unfamiliar with the command line. Only know "docker ps / start / stop / rm" ๐Ÿ˜„

quaint belfry
#

docker logs $containerName

#

docker inspect %containerName

#

thats a good start

lilac parcel
#

Thanks

quaint belfry
#

i guess your know to linux?

#

where containerName is the name of your container

lilac parcel
#

On my raspberry pi however I cannot even find where docker config files are stored :o. Doesn't seem to be in the "standard" paths

quaint belfry
#

where your from?

#

thats where docker inspects comes around

#

normaly everything you want is already inside the container (image)

lilac parcel
#

I am familiar with Linux and programming. Been doing that for more than 15 years. But these latest changes of technologies (e.g. docker) I never personally had to deal with

quaint belfry
#

so what happends when the image goes corrupted or something

lilac parcel
#

Yeah you just redownload it

quaint belfry
#

you want the data still on your system. Problem is, its inside the container

lilac parcel
#

Separate data and "system that can easily be reinstalled from the internet"

quaint belfry
#

so when you want data to be preserved for many reasons, you can bind a local path(directory) from the host to a path (directory) inside the container

#

yeah thats pretty much it

#

with the command "docker inspect homeassistant" (where homeassistant is a docker container name) you can check these volume (path) binds from host to inside container

#

the container is also a linux container (this can be ubuntu, debian, alpine or what ever)

lilac parcel
#

Yes. It's a bit similar to how also cloudinit, terraforma, ... infrastructure managers work. Define config and where to get some custom files, then deploy a standard image from the internet

quaint belfry
#

yes, kubernetes is more of the same

#

but if you install home assistant on a raspberry, and you have got a Raspberry pi4

#

then i recommend installing docker and then home assistant

lilac parcel
#

I have a PI4 with 8GB RAM

quaint belfry
#

you can install the predefined image from home assistant, but i fu**ing hate it, because cli is not what it should be

#

for people that dont work with linux its okay, but if your known to linux, you will pull your hair out

#

are you from the netherlands?

#

i think England

lilac parcel
#

No Denmark :D. Why ?

#

Why England ๐Ÿ˜„ `

quaint belfry
#

i made a guide how to install this

lilac parcel
#

?

quaint belfry
#

silverstone

#

it's a circuit

#

in England

lilac parcel
#

Aaah I don't like to give away my identity too easily

quaint belfry
#

thats oka

lilac parcel
#

Yeah I used to watch F1 back in the days

#

๐Ÿ˜„

quaint belfry
#

been there 2 years ago when vettel bashed in to max

#

in front of my eyes

#

this year i was at Spa

#

but then my guide is not usefull for you

lilac parcel
#

And you are from Italy?

quaint belfry
#

because of the language

#

Netherlands

lilac parcel
#

Ah Google translate usually works fine

#

๐Ÿ˜„

#

But this is the reason why the HA OS didn't seem very flexible to me, so I agree with you

quaint belfry
lilac parcel
#

But then I must have found some tutorial and the installation probably got mixed up quite a bit

quaint belfry
#

this is a ubuntu based

lilac parcel
#

onlinedoctranslator should translate it fine ๐Ÿ™‚

quaint belfry
#

this is the export of a markdown file, so dont mind the layout

lilac parcel
#

But then do you have the same result as I currently have, with 10+ docker containers running on the host, 4 for HA and the others for the addons ?

jolly narwhal
#

4 for ha

quaint belfry
#

that can be

jolly narwhal
quaint belfry
#

the overhead is very low

lilac parcel
quaint belfry
lilac parcel
#

14 containers, but to be fair only 1 for HA itself. Rest is for addons

quaint belfry
#

i got a bunch as well

#

look at the link

#

there you can see how much ha is using

lilac parcel
#

<1% CPU and 0% RAM ๐Ÿ˜„

quaint belfry
#

yeah and the entire system a bit more but not worying

#

screenshot underway

lilac parcel
#

Well it depends what your 100% is. If it's a 32 core with 256GB of RAM that would be a lot actually ๐Ÿ˜„

quaint belfry
#

indeed

#

so here the htop output

#

2 threads 8 gb ram

#

less then your pi4

lilac parcel
#

Yeah

quaint belfry
#

it runs very smooth

#

and fast

lilac parcel
#

But it doesn't appear that my current system is running homeassistant-supervised

#

because dpkg -S homeassistant doesn't find the package

#

Weird

quaint belfry
#

it is moved

#

you did know that?

#

its under settings now

lilac parcel
#

What do you mean ?

quaint belfry
#

well 4 weeks ago there was a supervisor tab right

#

it is moved

lilac parcel
#

dpkg --search homeassistant
dpkg-query: no path found matching pattern homeassistant

#

Ah that yes

#

I know

#

but I mean on the raspberry / baremetal

#

Following your tutorial there should be a "homeassistant-supervised" package installed

quaint belfry
#

but it is not a package?

lilac parcel
#

But there is not

quaint belfry
#

ah oke

#

can you do an lsb_releas -a

#

release

lilac parcel
#

So I'm not sure which installation I have actually

#

lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye

quaint belfry
#

oke

#

and home assistant is running or not at all

#

?

lilac parcel
#

Running

quaint belfry
#

i still would go for the docker variant

lilac parcel
#

I'm having issues with Zigbee2MQTT (see above)

#

So maybe a reinstall is desired

quaint belfry
#

if you dont have any configuration

#

that would be best for stability i gues

lilac parcel
#

I have 40+ devices -_-

#

Lots of config

quaint belfry
#

a that sucks

#

and you dont have a backup?

#

from supervisor

#

?

lilac parcel
quaint belfry
#

sort of

#

because it is debian, you can just see it as debian (vm) instead of a special os for raspberry

#

so i just follow the docker install for debian guide

lilac parcel
#

I have a backup but I don't know how to download it

quaint belfry
#

and then the install script from home assistant

quaint belfry
lilac parcel
#

Yes. Raspberry PI OS Lite/Minimal -> Docker -> Home assistant install

quaint belfry
#

correct!

#

my guide is using a ubuntu aproach

#

so you do not want to install that docker (it is for ubuntu)

lilac parcel
quaint belfry
#

i will do a search for you

#

give me a sec

lilac parcel
#

I don't think it will change much. But thank you ๐Ÿ™‚

quaint belfry
#

wow the find command cant find it lol

lilac parcel
#

/usr/share/hassio/backup

#

That's where they seem to be in my case ๐Ÿ˜„

quaint belfry
#

haha

#

yeah its from a database

#

filename does not corronspand

#

so, you should be okay

#

you can rsync the backup i guess and you should be fine

lilac parcel
#

Yes

#

There is a backup.json file describing what is contained in each tar file

#

I just hope this time I won't end up with yet another mess ๐Ÿ˜ฆ

#

Did you manage to get Zigbee2MQTT working ?

quaint belfry
#

i will test my backup from the same location and see if it restores well or not

#

making snapshot as we speak in proxmox

quaint belfry
#

using it with over 55 devices

#

backup works as well!

#

you dont extract the tar file with backup

#

just upload tar file in supervisor > backups

#

i hope you made a full backup (including directory)

austere patio
#

Why are you switching to Z2M from ZHA?

lilac parcel
#

More flexibility I'd say

#

Besides the fact that ZHA seems very ***** sometimes during pairing

#

I only paired devices for now, didn't set up automations yet ๐Ÿ˜ฆ

austere patio
#

Any features in particular?

lilac parcel
#

Not really. ZHA seemed more limited based on some tutorials I found

jovial aspen
#

and it takes so many clicks to navigate into it

lilac parcel
#

๐Ÿ˜„

jovial aspen
#

right!

lilac parcel
#

That's true. I don't know if it's more controller or ZHA related but having to click 500 times on IKEA devices to get them to pair, reload ZHA "search again" 10 times , doesn't seem an indicator of stability

quaint belfry
#

he guys

#

i wish you al the best

lilac parcel
#

It might be the controller though (Conbee)

quaint belfry
#

and a happy new year

#

going downstairs to my wife

lilac parcel
quaint belfry
#

your welcome

#

btw

#

with zigbee2mqtt i made a smoke detector alarm automation, when smoke is detected all my lights will blink 4 times in 8 seconds

#

i have only zigbee lights (35)

#

they all blink within that time span

austere patio
#

Though the Conbee is sensitive to noise and sometimes just "doesn't work" if it's not in an optimal location

lilac parcel
#

Why are you asking ? Should I stick to ZHA ?

#

I'd like to avoid having to re-pair devices once they are far away from the controller

#

Right now I didn't put them in place yet, just pre-paired them

tropic depot
#

๐Ÿคฆ๐Ÿปโ€โ™‚๏ธ

#

Bad news

#

You really should pair them where they will live

lilac parcel
#

Why ?

#

If already the IKEA devices are such a PAIN in the *** when they are 2cm from the controller, imagine 20m away

tropic depot
#

Things will stabilize on their own

lilac parcel
#

And I cannot be in 2 places at the same time ...

tropic depot
#

๐Ÿค”

#

Use the phone to toggle pairing mode in HA

#

donโ€™t need to be at the hostโ€ฆ

lilac parcel
#

I actually didn't think about that. Thanks ๐Ÿ˜„

austere patio
#

Or enable joins and walk over to the lightswitch with the bulb

#

They don't have to happen concurrently, you just enable joins and then reset the bulb

lilac parcel
#

Why is it so bad to pre-pair them ?

tropic depot
#

Theyโ€™ll have to migrate around after

#

Some devices donโ€™t switch parents well

austere patio
#

Routers probably aren't going to care but end devices definitely will, since they pick a parent router and generally stick with it

lilac parcel
#

So if one router breaks, all "children" need to be repaired ?

#

That seems a very stupid "feature"

tropic depot
#

No

lilac parcel
#

I heard that the network stabilizes in 1-2 days usually

tropic depot
#

Yep

#

But for end devices that donโ€™t switch parents well or at all

#

Theyโ€™ll be paired to something potentially much further away than if you paired them where they will live

lilac wharf
#

|| Xiaomi ||

tropic depot
#

which * may * negatively impact performance / functionality

lilac parcel
#

Alright

#

I didn't know that routing was effective even before / just after pairing

oak pike
#

Hi all. Isn't there a map to see what devices are connecting where? (as far as one zigbee device hanging off of another)

lilac wharf
#

What zigbee integration are you using?

oak pike
#

oh finally. found it. visualization tab. Duur.

#

Is there a means to manually say which devices you want connected where?

lilac wharf
#

You can choose a single router to enable joins from, but even after pairing with that router, the device might still choose to reroute

oak pike
#

ah

#

I was lumping together a bunch of floor lamps (controlled by dumb light switches) in hopes I could set up a kill switch for them all (and return everything back on with double click on the switch), but it seems a certain combination of "child 1 actually turned their lights off which cut power to the outlet" can cause some massively delayed behavior during normal use when hitting the dumb switch back on.

#

I thought maybe if the slow devices were routing via a smart plug that was off (due to dumb switch) that maybe that's causing it

#

in some cases it was like an 8 second delay

jolly narwhal
#

Ooof

#

I've never had more than a few milliseconds

austere patio
oak pike
#

I haven't either. My speeds have been awesome. But I think the rub is the fact the smart plug may get turned off (power cut, thus not communicating) if one of my kids actually turns their dang lights off.

#

@austere patio I'm on the newer side to home assistant and hate to say it I'm not sure how to respond to that. How would I know?

austere patio
#

Which coordinator USB stick are you using?

oak pike
#

nortek zwave/zigbee combo. HSUSB1 or something?

austere patio
#

So not a coordinator hardware problem then

oak pike
#

speeds are great if all light switches are kept on. Just happens if they're turned off, then I hit the zigbee kill switch, etc

#

it's that absence of them being offline for some time that does it in

austere patio
#

Yeah, Zigbee devices don't expect to lose power

oak pike
#

prob the reason people prefer smart switches

#

I just had a few plugs laying around since we took down christmas lights and wanted to employ them for this

#

should probably find another productive use for them ๐Ÿ˜›

jolly narwhal
#

Yeah, my daughter grew up with smart lights, so she doesn't flip any switches

#

Most of them are too high up for her anyway

oak pike
#

what's your means of getting them turned on then?

jolly narwhal
#

Door sensors / motion sensors / Xiaomi cube

#

Or time of day

#

Or light level

#

I have one dumb bulb left in my house, I should get that replaced

oak pike
#

gotcha. I struggle with that. I think about the times where one of my kids is napping or they simply want their lights off despite the conditions otherwise being a normal time you'd typically want lights on

jolly narwhal
#

Yeah, we have Xiaomi wireless wall swiches in our bedroom still, and her bedside lamp is controlled by a ZigBee button too

#

Those are the only physical ones we have

#

Which are still just smart switches connected to specific lights

oak pike
#

I don't have any smart switches. No neutrals and too cheap to get the few that exist without neutral. ๐Ÿ˜›

jolly narwhal
#

Wireless ones are great

#

I have 40 or so ZigBee battery devices

#

So far replaced two batteries in 3 years

oak pike
#

which xiaomi switch do you have/suggest?

jolly narwhal
#

I use the single button one, the double rocker one, and the square and round aqara door sensors

#

I have one door sensor on my mailbox, and it works fine in -15c still

#

Plus the single button one I use as a doorbell too for 2 years now, with -30c winters and 30c summers without issues

#

Plus a bunch of the temp/humi sensors

oak pike
#

I've been pretty happy with my aqara purchases

#

I have door sensors, some temp/humidity, and this little zigbee switch I have is aqara.

#

Is this what you were referencing as far as the xiaomi switch you use? When I google I'm getting a lot of random aqara stuff, some kasa, etc.

#

I'm trying to get a visual of what you're using

jolly narwhal
#
lumi.sensor_magnet.aq2
lumi.sensor_cube.aqgl01
lumi.remote.b286acn01
lumi.remote.b1acn01
lumi.sensor_smoke
lumi.sen_ill.mgl01
lumi.airmonitor.acn01
lumi.sensor_switch.aq2
lumi.sensor_motion.aq2
lumi.weather
lumi.sensor_magnet
#

Think those are the ones

oak pike
#

Nice. I was more referencing the physical switches themselves though. Like I'm not sure with what products I'm seeing which are what you're using.

jolly narwhal
#

Found a few more

oak pike
#

so like.. what switches in particular are these in your kids rooms @jolly narwhal ?

#

they like standard sized light switches in the wall or the little square gizmos with double sided tape?

jovial aspen
#

i'm intrigued by the idea of the aqara cubes

jovial aspen
#

Iโ€™ve got an old Hue bulb that I canโ€™t seem to remove from ZHA

#

Not permanently anyway

#

I remove it, it rejoins even when ZHA isnโ€™t in pairing mode

oak pike
#

I'm still not sure I understand what a cube is/does/why it exists. Granted I haven't looked in to it too far but...

sinful swift
#

It's a fancy remote control.

oak pike
#

that does what? Is it just a multi-sided thing with multiple switches?

royal star
#

Thatโ€™s exactly it

oak pike
#

huh. I kind of want one now and I don't know why.

royal star
#

Personally I donโ€™t see much of a use case for it

#

I have a bunch of their 6 button / single button switches though

oak pike
#

3 of my water leak sensors just dropped off HA and are showing unavailable. this is a first. :/

royal star
#

Whatโ€™s your coordinator / what routers do you have?

oak pike
#

nortek zwave/zigbee stick

royal star
#

Donโ€™t have any experience with that one, I have the zzh

oak pike
#

I plugged a random zigbee smart plug in near the one sensor and pressed the button on it and it lit up again, so that's cool

#

I wonder if the other two will check in on their own accord at some point. They're not as easy to get to (water leak sensors)

royal star
#

Trying to find the cheapest sensor offerings on AliExpress is like a needle in a haystack

jolly narwhal
jolly narwhal
lilac parcel
#

@quaint belfry I set up a new instance of Raspberry PI OS with Docker installed. However, not sure if should also follow the post-installation steps for non-root user. Typically it's reccomended to run applications as non-root

quaint belfry
#

You can add a user to the docker group. User ID - aG docker $user

lilac parcel
#

Yeah useradd docker probably first

quaint belfry
#

Docker default runs as root, there is almost nothing to do about that

#

I should advise to do usermod instead of user add

lilac parcel
#

Why ? docker doesn't appear to exist as a user yet

#

Only the group is there

quaint belfry
#

Just best practice

lilac parcel
#

usermod docker
usermod: user 'docker' does not exist

jolly narwhal
#

What

quaint belfry
#

It's usermod - aG docker peter

jolly narwhal
#

You add your user to the docker group

lilac parcel
#

Yeah but I just wanted to create a "docker" user for that. What's wrong with it ?

quaint belfry
#

Yeah, not sudo all the time

jolly narwhal
#

Having a docker user makes no sense

#

Use your own user

quaint belfry
#

Sure it does

#

Yeah that's still the same?

#

So if you are troubleshooting, you don't have to do sudo all the time or become root?

jolly narwhal
#

Why would one have two users? One for docker and one for everything else?

quaint belfry
#

I don't know his username?

#

So it's an example

lilac parcel
#

I can also create my username

#

Just don't see much of a point because I always login as root for maintenance ...

quaint belfry
#

That's bad

#

Don't do that

jolly narwhal
#

I have one user, my user, that user is part of any group it needs permissions to access stuff for

quaint belfry
#

Everything you do, it's ownership is root when creating stuff

#

Most of the time that is not needed

jolly narwhal
#

usermod -aG groupname $USER

#

Then do chgrp -R docker /dockerfolder

#

And chmod -R g+s /dockerfolder

quaint belfry
#

But why do that atxbyea

#

Permissions don't really change, because users that can use docker are root as well

#

So these permissions don't really matter from user perspective

jolly narwhal
#

Because
a) my user can access all docker commands and docker files
b) all docker files are group owned by the docker group
c) all new files created will be group owned by docker group

quaint belfry
#

Application is a different angle

#

But runnen docker, is done by root

jolly narwhal
#

Yes ?

#

So?

quaint belfry
#

It does not really matter if an other user is owner

#

Root is calling the shots

lilac parcel
jolly narwhal
#

Is that where you store your persistent docker volumes? If so that is odd

lilac parcel
#

I don't know

#

I just installed docker

quaint belfry
#

That's docker defaultt

lilac parcel
#

I was used in Linux that configuration are stored in /etc/

#

But docker apparently does something else for most stuff -_-

quaint belfry
#

It's not configuration, but volumes it stores there

jolly narwhal
#

Docker stores files exactly where you tell it @lilac parcel

lilac parcel
#

well I don't even know where to edit the config files to tell him where to store them

quaint belfry
#

That you normally do in the run command of docker

jolly narwhal
#

Preferably docker-compose

quaint belfry
#

You bind a folder from your host machine to inside of the container

#

You can see that with the docker inspect command I told you yesterday

lilac parcel
#

Yes

#

But what I mean was how to you set the config location on a "global" scale

jolly narwhal
#

You don't

quaint belfry
#

there you can see what folder is mounted from the host ==> container

lilac parcel
#

e.g. similar to what you do with samba there is a /etc/samba/smb.conf file

jolly narwhal
#

You map containers to their respective folders

#

And usually only config folders

lilac parcel
#

In proxmox you have the same "global" configuration

jolly narwhal
#

The rest you don't care about

#

99.9% of docker files and folders are discardable

lilac parcel
#

You only care about your own data, yes

quaint belfry
#

yes and the config file

#

so the smb.conf

#

and the data from the shares

lilac parcel
#

config file of docker container or config file of the application running inside docker ?

quaint belfry
#

that one will be the same

lilac parcel
#

Ehm no

#

I don't think so

quaint belfry
#

you "map" (bind) this folder to your system

#

but it is

#

oke example

lilac parcel
#

Eh ? In KVM/libvirt/qemu/Proxmox you also have 1 config file in /etc/pve/.../vmid.conf. But the data is stored on another disk

#

You are telling me that the docker container's configuration is also stored in the mapped folder ๐Ÿ˜ฎ ?

quaint belfry
#

no only the folders you want

#

so in your example of using samba container

#

you only want the smb.conf file and the data on the shares

lilac parcel
#

So there is no "editable" docker container id config file .conf or .xml let's say? Everything HAS to be managed by the docker command ?

jolly narwhal
#

Yes

#

Docker-compose

quaint belfry
#

yeah pre defined

jolly narwhal
quaint belfry
#

but its a bit the same as proxmox does whit there vm's settings?

#

like 100.conf

#

it is also predefined

#

and the it boots

lilac parcel
quaint belfry
#

yeah that indeed, but as atxbyea said

lilac parcel
#

Docker seems to be lacking that, or storing config as "binary"