#zigbee-archived
1 messages ยท Page 168 of 1
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
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.
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
I did not
I'm not 100% sure if this will work with the ZHA integration
I changed the ip of my mediaserver and the edited the ip inside the hidden integrations config file and it worked
maybe frenck made it work with the Tuya integration
I can take a snapshot of my HA and try. But do you know what the file would be for ZHA?
Sonoff with Tasmota
So horrible
But still local
There is no need to isolate it
And even so you can just deny the host internet access
Samba addon
\\HA IP\config\.storage\core.config_entries
The wifi network has 2.4 and 5 which causes some instability. The separate IoT network I have here has only 2.4
During the 8 months I have it, it is working very well ๐
I'll see if I can find it here. Thanks
are there any recommended outdoor zigbee temp/humidity sensors?
This is why you don't buy wireless ZigBee gateways
I have used these here with no problems.
https://pt.aliexpress.com/item/4000713904483.html?spm=a2g0o.9042311.0.0.39e6b90aYFa3uf
No direct sunlight or rain. But with outdoor humidity reaching 100%
Thanks
@steep pollen Thanks for the tip. Worked perfectly ๐
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?
Yes it is, and the best approach is a good stick, not a hub
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.
Thanks. I had been looking at CC2531 sticks. I'll look for the CC2652
Does this look like a sensible buy or should I be looking at the ยฃ40+ ones? https://smile.amazon.co.uk/Sonoff-Universal-Gateway-Antenna-Assistant/dp/B09KXTCMSC
Based on initial feedback it seems to be fine
Not at that price lol
Cool thanks. I just wanted to make sure the CC2652 abd CC2652P were the same thing
Check localbytes store should be cheaper
As in the ยฃ24 is too much?
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.
Wise decision
Are there any good usbs that do both zigbee and zwave so I only need to buy one?
Nope
Figured ๐
There's an ok one, mentioned in the bot message, but honestly if you're buying new there's no reason to buy t
Has anyone in the UK ordered from ITlead? How big was the order? Did you get hit for Customs charges?
Yes, just the stick, no, took about a month to arrive
not everything is a "stick" ๐คช
Eh, try explaining the nuances and you just confuse people even more
I've ordered several times with various size orders and not been hit yet.
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?
I found what seems to be a decent z-wave usb, but can someone recommend a good zigbee usb?

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 ?
Find it in https://www.zigbee2mqtt.io/information/supported_devices.html and follow the guidance there?
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 ๐ฆ
Your fault for using the wrong form factor
if you need an extension cord for a stick more times than not ๐ค (plus I'm just being snarky today)
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
PoE splitter not an option?
Was wondering if a more sleek solution existed
Buy a PoE capable unit 

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.

I have recently (a few days now) noticed zigbee switches and bulbs sometimes failing to turn on/off when they are supposed to. I'm seeing entries like this: https://www.toptal.com/developers/hastebin/qafiyefexu.lua in my log.
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.
What else is running in HA
Was that question for me? Nothing that uses USB.
CRC errors are uncorrectable, somehow serial data sent from your stick is being corrupted
Multiple layers of virtualization plus shoddy drives can surely be a factor
It's it in a usb2 or 3 port?
HUSBZB-1 uses a CP2102x from what I recall, I dunno what the virtualization situation is with that chip
๐ 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 cliand 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/ttyUSB0says they don't exist
Am I missing anything? Thanks!
I think you need to run login (maybe not) and then docker exec -it homeassistant bash to get into the HA container
After changing the channel you'll have to re-join every device
omg this worked! how did you discover this? i've been googling for hours and this info isn't around anywhere ๐ข
thank you
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
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
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
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)
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
Have you enabled https://www.home-assistant.io/integrations/zha/#debug-logging to see what happens when it doesn't work?
yes, earlier today i did but after being down for 3 hours, it came back up and hasn't given me anything useful yet
Can you post the log? Down for any amount of time is unusual
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
Is your home-assistant.log file empty?
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
Should take about 8s
ok then something is hanging
Try it with bellows -v DEBUG ...
i think my VM was hanging because i just got it to work!
What do the scan results look like?
What about 25?
Do you have a large network on 15? That would impact the scan result
@round crow posted a code wall, it is moved here --> https://hastebin.com/yurakobuha
@round crow posted a code wall, it is moved here --> https://hastebin.com/nadujavixe
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)
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?
i haven't re-synced my devices but i only have 9 total
Looks like 20 is a way better choice than 15
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
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 ๐
It's a USB 2 port. I've been using this vm configuration without issue for over a year. This problem just started recently.
thanks puddly! trying all of that now
damn, leave worked just fine but running form gives me an invalid value for -D --database
You may have to give it a temporary one: --database /tmp/deleteme.db
ah yeah
it says file /root/.config/bellows.app.db does not exist
should that be pointed to home assistant's zigbee db?
Sure
and/or will i have to delete the zigbee.db generated by homeassistant now that i've joined a different channel?
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
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?
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
oh ok cool
because i do see /config/zigbee.db that is in my homeassistnat folder i can link to
That'd work
ok, i ran: bellows -d /dev/ttyUSB1 form -c 20 -D /config/zigbee.db
its been a couple seconds and its still running
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
in case anyone cares ๐คฃ popped one of the Newer Aqara E1 contact sensors and it's using this radio now vs the old NXP one. https://www.mouser.com/ProductDetail/Telink/TLSR8258F512ET32?qs=81r%252BiQLm7BQQ77ycfYQMfg%3D%3D
Their SDK is open http://wiki.telink-semi.cn/wiki/chip-series/TLSR9-Series/
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
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?
What guide are you following? I just received my conbee about 30 minutes ago so I'm gonna give it a shot here soon and see if I have the same issue
Ah swell! :)
https://www.home-assistant.io/integrations/zha
This has quite a bit of info!
I was able to get it added, but it told me that Home assistant needs to be restarted
My impression from forums/reddit is that deconz or Zigbee2MQTT may be better. Anyone else here have a preference? I can't decide
conbee support in zigbee2mqtt is experimental, so ZHA or deconz would be a better choice for that stick
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.
so deCONZ might be the way to go I'm assuming
I got it working with ZHA and its been fantastic so far
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
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?
got it all working, ๐
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
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
That was my theory as well but I have yet to actually get it to work with my network of mostly IKEA bulbs, even after power cycling them multiple times and waiting for a while ๐
Odd question, but does anyone know where to find this guy https://e2e.ti.com/members/6199310
I swear I've seen him active in HA, Z2M or other Zigbee communities, but I don't remember which one.
Not true anymore... https://www.zigbee2mqtt.io/guide/adapters/#recommended
Real world experience still says it's experimental
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?
Are those actual switches, wired up and with associated switch entities? Or are those battery powered remotes?
battery powered
And presumably you're using events or device triggers in your automations?
i'm using eg. Modell:WXKG01M Xiaomi Switches (worked yesterday), i've not done any automation yet
ZHA uses events (or device triggers) for remotes
There's no entities that'll change state/react, nothing to log
The ZBBridge isn't awesome, it's entirely possible that comms with it failed
But i has to reboot HAas on my pi4 not the ZBBridge, this worked with no Problems the last weeks with FHem and solo
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)
is there a stable way to use zigbee devices?
Yes, something that's not that ๐
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.
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
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)
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
Ready image?
That sounds like you're actually running #330990055533576204
Do you have add-ons and a Supervisor?
yes
Then you don't have HA Container
You have Home Assistant OS
#330990055533576204 can help you further, but largely no Docker for you
Great, thx, so i misunderstood the guide https://www.home-assistant.io/installation/raspberrypi
thx4the advice
There are three guides on that page
yes, now , at least, i got it
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
zigbeemodel is shown when trying to pair it
and there is nothing on there. Also nothing on bulb
device type?
there is the screenshot
see that line saying: Zigbee Model... that's ZigbeeModel
your issue would be the Zigbee Manufacturer is missing from that Zigbee Model fingerprint
but whats the differnt between zigbeeModel and model?
so just add another line to the converter
model is manufacturer's designation for that device, zigbeemodel is required by zigbee spec
yeah, thats what i am trying to do now
that wasn't obvious from your beginner level questions
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
i don't know where you see dots
here's an example on how its done https://github.com/Koenkk/zigbee-herdsman-converters/pull/3031/files
in the example it says on the zigbeeModel "lumi.sens"
seems you know other stuff too much and draw your own false conclusions
zigbeemodel can have any character in it
maybe for you, worked perfectly for me
yeah vair enough
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 ๐
Hello. Is it right place for cc2531 troubleshooting?
chip used in sensors is irrelevant if it keeps on draining batteries
Best advice is to get rid of it 
turn it into a router and buy a CC2652x... troubleshooting done

- Buy CC2652
- Replace CC2531
- Yeet CC2531
Nice.

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
I restarted, server, then the host also. Didn't help. I restored last backup and it helped
@violet dagger i am really close
It'll be a world of difference. They will go from using silabs to ti, so it'll use zstack now. Hopefully that'll resolve issues people have had with the devices.
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
link for screenshot: https://owncloud.fambaron.nl/index.php/s/mLkeABCGwHzRMf2
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.
Can I reset the kWh meter on a Develco SPLZB-131 power plug? Using deCONZ.
isn't slaesh in germany?
i had to wait one thousand years for my stick to be delivered
but it came eventually
Communication isn't something he's capable of apparently, so if you have any problems you're largely out of luck
Ok, saw tubes store, but since there is no impressum and no delivery info ...
what an amateur
@compact haven posted a code wall, it is moved here --> https://hastebin.com/enipumizin
@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).
There's delivery info once you start working through the process
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
Lots of people do, but the wall you posted has no relevant errors
It would appear to be running
What makes you think it isn't running?
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'
ISTR there's issues with Touchlink and CC2652 based sticks
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
It is incredibly rare for a coordinator to fail. If it does it's probably because the entire computer went up in smoke due to a lightning strike.
That said see #zigbee-archived message
@sour shadow I tried to follow https://gist.github.com/EverythingSmartHome/990f2436608fd347cd20cf0009b5cef4 but it's timing out when trying (?) to connect
Ok?
Why not follow the link I posted instead?
You don't even say which of the many commands you ran though
Indeed, your link maybe more recent or have more packages. I am trying in a virtual environment and will let you know, thanks ๐
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
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)
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
Please use a code share site to share code or logs, for example:
- https://www.codepile.net/ (select YAML as the language)
- https://paste.debian.net/ (select YAML as the language)
- https://hastebin.com/ (sometimes may not allow you to save)
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.
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
Those commands aren't run inside Docker
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)
Bad, and worse
oh dear

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
oh well if it sucks too bad i'll give him my sonoff 3.0 plus when it arrives
2531 is fine as a router
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?
Interesting. That must be very recent then
A few weeks ago
But..... "Other"
Is just a more political correct term for "please don't"
what line should this be. How to obtain this information
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
@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..
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
Green power on already battery operated and 5w bulbs 
I'd love to just avoid green power altogether, but wired smart switches for controlling ZigBee bulbs just don't exist here in the UK. And using batteries for a light switch is just.....
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.
All my lights are ZigBee and are controlled by either battery operated devices or time, can't say I have any issues, 3 years and replaced two batteries so far, on 40 or so battery devices
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
Conbee isn't... Great
Ship from the US anywhere. $15 for international shipments. 1-4 weeks delivery. (You are resp for import taxes/duties)
thx
hey , can any1 hook with me a good guide to flush tuya ir blaster with tasmota ?
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
#diy-archived may be able to - it's not very Zigbee related
Sure, the battery options will work fine and will probably be what I pick, but seems ridiculous to use batteries when there's power right behind it :')
alrighty
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.
We haven't used light switches for two years now, they are just on 24/7
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 ?
Generally each brand is a known entity
Sengled are known to not be routers
Almost every other brand is
got those and they are not
https://www.aliexpress.com/item/1005003097642075.html?spm=a2g0o.9042311.0.0.498e4c4dST3P1V
weid
any recommended zigbee brands i should look for ?
For what?
bulbs
thanks, noted
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 *******
Alright, what would you recomend then ? I also read bad stuff about the Sonoff 3.0 Zigbee stick (firmware issues), also the CC2531 only seem to handle well a few devices, not 40+
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.

The CC2652 has issues, sure, but it's also getting regular firmware updates and things get fixed
So CC2652 based include the CC2652P (Sonoff Zigbee 3.0 dongle) ?
Yes, although I will probably never buy a sonoff product
Which one would you rather reccomend ๐ ?
I just bought a bunch of sonoff wifi switches, but will of course flash Tasmota on them
Zzh / tube are the good options currently
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?
Both are good, and both sellers have excellent customer service
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 ๐ฆ
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
โ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.โ
@inland coral Thanks, so the higher the number = the better signal?
Yes. Red=bad ๐
rofl, well time to get me some routers
Thanks, I assume this is for the ZZH, right ? I would've preferred the Tube actually ๐
has added ZIGBEE to home assistant! ๐
That's not the ZZH, that's another seller, one known to have zero communication skills
its more of an "order and pray" type of service
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
Do you know if the Tube can be backed up with e.g. zigpy ?
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
But is it easy to migrate from ZHA to zigbee2MQTT
?
And what additional benefits does zigbee2MQTT bring ?
Decoupling
Running zigbee2mqtt somewhere else than in my garage DC
And multiple instances of ha can access the same ZigBee network
OK :o. So you also have multiple coordinators ?
No
Alright, Just ordered 2 x Tube with Ethernet
Hope this will support the maker a bit ๐
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?
Thank you, managed to solve using tips from @sour shadow (same link as mentioned by you).
Were you able to test the Conbee backup with a second coordinator?
Or did just the backup itself succeed?
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)
The Conbee specifically does not store any device info
Lots of DEBUG messages but no ERROR as far as I could see
Great, thanks for testing it
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
With a Conbee or with another adapter?
Right now I'm on Conbee II until the Tube arrives
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.
frame_counter is 0
Looks like you'll need to update the Conbee firmware, they only allowed it to be read in recent versions
Damn it
Or you can just replace it with 5000000 and hope it's high enough ๐
First I must manage to setup Zigbee2MQTT anyway. Right now I'm getting a 502 Bad gateway error, surely I'm missing some configuration
I just tried to update Conbee using DeconZ docker image but I get this
device /dev/ttyACM1 not found
Even though the device is correct and correctly mapped ...
You can update it without the Docker image if you use GCFFlasher_internal
Yeah but then I need to install deconz
Unfortunately yes
What platform are you using?
It may be possible to just extract the binary out of the .deb package
Raspbian on Raspberry PI 4 (64 bit)
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
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'
You may have to unplug the Conbee and plug it back in after flashing the firmware
Or run the command again
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 ?
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?
The add-on is more complicated to configure than the native install
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 ...
You mean compared to ZHA or compared to Zigbee2MQTT on a non-docker install ?
Compared to not-the-add-on
Zigbee2MQTT:error 2021-12-31 19:56:09: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
What adapter are you trying to use it with?
Conbee
Did you tell it that?
You have to specify the adapter type in the config file, otherwise it assumes it's a TI coordinator, which it isn't
I pointed Zigbee2MQTT to /dev/serial/by-id/....
Aaaah
Yup, the docs ... the downfall of many a person
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
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
You need to configure Z2M to tell it about your broker, and how to authenticate to it
Not necessarily correctly though
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"
Yeah, the add-on is a pain in the ass
So what do you use then, ZHA ?
No, I use Zigbee2MQTT running in Docker, natively, without any Supervisor nonsense
Isn't "Supervisor" just a tool that deploys the Docker image and manages its configuration, in essence ?
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)

๐
Well I'm not that capable with Docker to be honest, but if there is not another way around it :/
#449717345808547842 life
DEBUG=zigbee-herdsman* npm start is all you need
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
Where am I even supposed to run this command ?
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 ๐
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)
if you're running haos its best not to ask questions about things running underneath
๐ฎ
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
the joys off addons, where nothing is in the officially documented path
So what is the solution then ?
#330990055533576204 could know
OK I tried to ask there, thanks.
The logs are really not that helpful though
If I run your command from /app/node_modules/ I get (node:1115) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/app/data/configuration.yaml'
But I'm not sure if it's the right path where I run the command
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)
/cut
Please use a code share site to share code or logs, for example:
- https://www.codepile.net/ (select YAML as the language)
- https://paste.debian.net/ (select YAML as the language)
- https://hastebin.com/ (sometimes may not allow you to save)
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.
Thanks ๐
But even better cat your.file | nc termbin.com 9999
From log file: https://termbin.com/by0p
From DEBUG="..." npm start -> https://www.codepile.net/pile/4ja8bXPQ
And /usr/share/hassio/homeassistant/zigbee2mqtt/configuration.yaml contains roughly the same information as the web configuration editor
Does /app/data/ exist in the container?
No. Not sure why. Mapping issues maybe ?
Seems like it
I have /app/package.json, /app/lib, /app/node_modules and some other files
How are you starting the container?
Well ... I'm not ... Home Assistant is starting it
So you're using the addon?
yes
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
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 ๐ฆ
Try the same operation on a pure Debian host either with zigbee2mqtt natively or in a docker container
So without the addon ? I'll need to setup another raspberry pi for that test
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 ๐
@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
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
So unsupported too then
then it's supervised

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
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
then maybe better to make a backup of your instance and install HAOS and restore your backup there and see if it's still failing
I have tried Z2M with a Conbee in HAOS to see if it worked and it's loading up fine
I don't like this Windows-like approach of reinstalling everything every time though
๐
anything will be better than running an unsupported installation which might be causing a problem no one would know
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)
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
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 ...
Except I'm not familiar with Docker at all. I just used Proxmox VE with mostly KVM and a few LXC containers ...
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
sudo apt-get install docker-ce docker-ce-cli containerd.io
and there you have docker installed on your vm
you can see docker as a "vm"
Well I understood it's an evolution of LXC that can also run on Windows
only it is a pre install vm (image)
I am just unfamiliar with the command line. Only know "docker ps / start / stop / rm" ๐
Thanks
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
where your from?
thats where docker inspects comes around
normaly everything you want is already inside the container (image)
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
so what happends when the image goes corrupted or something
Yeah you just redownload it
you want the data still on your system. Problem is, its inside the container
Separate data and "system that can easily be reinstalled from the internet"
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)
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
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
I have a PI4 with 8GB RAM
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
i made a guide how to install this
?
Aaah I don't like to give away my identity too easily
thats oka
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
And you are from Italy?
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
But then I must have found some tutorial and the installation probably got mixed up quite a bit
this is a ubuntu based
onlinedoctranslator should translate it fine ๐
this is the export of a markdown file, so dont mind the layout
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 ?
4 for ha
that can be

the overhead is very low
Docker containers: https://www.codepile.net/pile/5oKADmLj
14 containers, but to be fair only 1 for HA itself. Rest is for addons
<1% CPU and 0% RAM ๐
Well it depends what your 100% is. If it's a 32 core with 256GB of RAM that would be a lot actually ๐
Yeah
But it doesn't appear that my current system is running homeassistant-supervised
because dpkg -S homeassistant doesn't find the package
Weird
What do you mean ?
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
but it is not a package?
But there is not
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
Running
i still would go for the docker variant
But from https://www.home-assistant.io/installation/raspberrypi, what I seem to have is option #2, and what you suggest is also option #2, correct ?
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
I have a backup but I don't know how to download it
and then the install script from home assistant
because it is in supervisor which now is not working?
Yes. Raspberry PI OS Lite/Minimal -> Docker -> Home assistant install
correct!
my guide is using a ubuntu aproach
so you do not want to install that docker (it is for ubuntu)
I assume so. It's in Addons, Backups & System -> Backups
I don't think it will change much. But thank you ๐
wow the find command cant find it lol
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
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 ?
i will test my backup from the same location and see if it restores well or not
making snapshot as we speak in proxmox
sure
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)
Why are you switching to Z2M from ZHA?
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 ๐ฆ
Any features in particular?
Not really. ZHA seemed more limited based on some tutorials I found
and it takes so many clicks to navigate into it
๐
right!
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
It might be the controller though (Conbee)
Thank you for your help. And best wishes to you as well :).
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
Zigbee is more like WiFi in this regard: the coordinator doesn't search for new devices, they scan for and join the network. If a device is difficult to reset and get into joining mode, that's an issue with the device, not the software talking to the coordinator.
Though the Conbee is sensitive to noise and sometimes just "doesn't work" if it's not in an optimal location
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
Why ?
If already the IKEA devices are such a PAIN in the *** when they are 2cm from the controller, imagine 20m away
Things will stabilize on their own
And I cannot be in 2 places at the same time ...
๐ค
Use the phone to toggle pairing mode in HA
donโt need to be at the hostโฆ
I actually didn't think about that. Thanks ๐
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
Why is it so bad to pre-pair them ?
Routers probably aren't going to care but end devices definitely will, since they pick a parent router and generally stick with it
So if one router breaks, all "children" need to be repaired ?
That seems a very stupid "feature"
No
I heard that the network stabilizes in 1-2 days usually
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
|| Xiaomi ||
which * may * negatively impact performance / functionality
Hi all. Isn't there a map to see what devices are connecting where? (as far as one zigbee device hanging off of another)
What zigbee integration are you using?
oh finally. found it. visualization tab. Duur.
Is there a means to manually say which devices you want connected where?
You can choose a single router to enable joins from, but even after pairing with that router, the device might still choose to reroute
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
Are you using a CC2531?
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?
Which coordinator USB stick are you using?
nortek zwave/zigbee combo. HSUSB1 or something?
So not a coordinator hardware problem then
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
Yeah, Zigbee devices don't expect to lose power
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 ๐
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
what's your means of getting them turned on then?
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
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
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
I don't have any smart switches. No neutrals and too cheap to get the few that exist without neutral. ๐
Wireless ones are great
I have 40 or so ZigBee battery devices
So far replaced two batteries in 3 years
which xiaomi switch do you have/suggest?
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
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
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
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.
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?
i'm intrigued by the idea of the aqara cubes
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
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...
It's a fancy remote control.
that does what? Is it just a multi-sided thing with multiple switches?
Thatโs exactly it
huh. I kind of want one now and I don't know why.
Personally I donโt see much of a use case for it
I have a bunch of their 6 button / single button switches though
3 of my water leak sensors just dropped off HA and are showing unavailable. this is a first. :/
Whatโs your coordinator / what routers do you have?
nortek zwave/zigbee stick
Donโt have any experience with that one, I have the zzh
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)
Trying to find the cheapest sensor offerings on AliExpress is like a needle in a haystack
I have one single press button for the bedside lamp and one cube to control the roof light
The cube is fun
@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
You can add a user to the docker group. User ID - aG docker $user
Yeah useradd docker probably first
Docker default runs as root, there is almost nothing to do about that
I should advise to do usermod instead of user add
Just best practice
usermod docker
usermod: user 'docker' does not exist
What
It's usermod - aG docker peter
Yeah but I just wanted to create a "docker" user for that. What's wrong with it ?
Yeah, not sudo all the time
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?
Why would one have two users? One for docker and one for everything else?
I can also create my username
Just don't see much of a point because I always login as root for maintenance ...
I have one user, my user, that user is part of any group it needs permissions to access stuff for
Everything you do, it's ownership is root when creating stuff
Most of the time that is not needed
usermod -aG groupname $USER
Then do chgrp -R docker /dockerfolder
And chmod -R g+s /dockerfolder
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
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
Would that be /var/lib/docker/ ?
Is that where you store your persistent docker volumes? If so that is odd
That's docker defaultt
I was used in Linux that configuration are stored in /etc/
But docker apparently does something else for most stuff -_-
It's not configuration, but volumes it stores there
well I don't even know where to edit the config files to tell him where to store them
That you normally do in the run command of docker
Preferably docker-compose
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
You don't
there you can see what folder is mounted from the host ==> container
e.g. similar to what you do with samba there is a /etc/samba/smb.conf file
In proxmox you have the same "global" configuration
You only care about your own data, yes
config file of docker container or config file of the application running inside docker ?
that one will be the same
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 ๐ฎ ?
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
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 ?
yeah pre defined
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
No. There you have a CONFIG FILE location
yeah that indeed, but as atxbyea said
Docker seems to be lacking that, or storing config as "binary"
