#installation-archived

1 messages · Page 43 of 1

gentle drift
#

Those also won't help, my ISP has no idea what the systems in my LAN are called. I'll try setting it to my local DNS.

frank perch
#

well typically that's what you do

gentle drift
#

(which I can see it's picking it from DHCP just fine, it's just not sending queries to it! But maybe --servers will override it?)

frank perch
#

is set it to local

#

I thought it wasn't working

#

that's why you asked

gentle drift
#

The problem is that it, when given an unqualified hostname for a machine on the LAN, it is (a) appending a DNS search path which is not correct and does not match the hostname of the machine or the search path configured in resolv.conf and then (b) asking an external DNS server to resolve it, which wouldn't work even without (a).

frank perch
#

well alpine doesn't like DNS servers that don't follow spec either

#

so that throws another 🔧 in

gentle drift
#

So I tell it that (say) there is an mpd server on oculus, and it can't talk to it because it's trying to resolve oculus.local.hass.io instead and asking the wrong server about it.

frank perch
#

im aware how dns works

gentle drift
#

And I'm not sure which of those is causative, like, is it deciding to ask the wrong server and then choosing the wrong search path based on that? Or is it choosing the wrong search path and then falling back to the wrong server because the right server returns NXDOMAIN?

#

Either way it's doing something wrong and not respecting the DNS settings handed down from the DHCP server, even though I can see in ha dns info that it's aware of them.

gentle drift
frank perch
#

try a portable dns server

#

Alpine follows the DNS spec and will treat the entire domain as if it can’t be resolved if it receives an error status for either query. Home Assistant will run into many unexpected issues in this situation, particularly around updates and installing software.

gentle drift
#

Also: ha dns reset; ha dns options --servers dns://192.168.1.1; ha dns restart did nothing. 192.168.1.1 now shows up in both locals (from DHCP) and servers (manually configured) but host is still the 172 address and still what it's using, and there doesn't seem to be any way in HA shell to override that.

gentle drift
brittle sail
#

i'd still open an issue dude

gentle drift
#

Like, you seem to be implying that the fault is that my local DNS server is not responding sensibly, but it's not even querying the local DNS at all.

#

Yeah, I'm halfway through writing one

frank perch
#

it won't if it marked an error tho

brittle sail
frank perch
gentle drift
#

huh, this is interesting

#

docker exec -it hassio_dns cat /config/coredns.json shows fallback: true
When did it switch back?

brittle sail
#

haos: gottem

frank perch
#

maybe the ha dns reset

#

actually

#

does

ha dns info
#

fallback:

gentle drift
#

Yeah, that switched back to fallback: true. Changed it back to false and reloaded it.

frank perch
#

im starting to think there is a bug at this point

#

you're the second person today with similar dns issues actually

gentle drift
#

I have now figured out, however, that the 172.* IPs are the internal docker IPs -- so that's just HA telling me that it queried its local DNS relay and got NXDOMAIN. Presumably the relay is then querying local DNS (with the garbage search path appended) and getting NXDOMAIN from that, as it should.

brittle sail
#

ya

frank perch
#

well yeah those are docker

gentle drift
#

So the whole "querying external DNS" thing is a complete red herring, it's all internal, the problem is just the search path

#

Found it.

#

docker exec -it homeassistant cat /etc/resolv.conf | grep search => search local.hass.io

frank perch
#

I actually read that post earlier

gentle drift
#

Aggravatingly, it looks like I can't just edit the resolve.conf inside the container and then bounce the container.

#

Or rather, editing it works, but next time HA restarts it gets overwritten

brittle sail
#

Haos probably isn’t for you even without these issues man

gentle drift
#

Well I'm not about to install supervisor on one of my actual machines

brittle sail
#

Supervised is never an option

grand pivot
#

I think he's suggesting a container install

gentle drift
#

I'm using HAOS because I tried a container install and ran face-first into the requirement to hand-replicate every addon I wanted

grand pivot
#

That's a lot?

#

Once and done

gentle drift
#

It was much easier to set up and administer, but also missing a lot of functionality, and I expected that the "easier to administer" advantage would go away real fast once I was looking at figuring out how to recreate the configurations for whisper, jester, cecscan, etc

brittle sail
#

Haos should be very simple you’re just one of the few with dns issues

#

But ya you probably would’ve been done already with docker compose

gentle drift
gentle drift
brittle sail
#

I prefer haos to keep hass totally separate from my server, network, cameras, etc and run containers on my server not associated with smart home

#

There’s a pinned comment of mine in #voice-assistants-archived with a ready to go copy paste compose file for whisper and piper tho

#

Something to consider I guess

#

in general people who are familiar with things like "resolve.conf" and diagnosing dns issues at the CLI level arent really willing to use haos instead of container installs with full control

low notch
gentle drift
#

Anyways, it's super late here, I should have been asleep two hours ago. Thanks for all the help, goodnight!

low notch
#

then you already found the way. haos is intended to deliver this appliance experience 😄

brittle sail
#

Are you not entertained?!

hazy tinsel
#

I used the docker script to start an HA instance. After I rebooted the image is still there but no container? Where did the container go??

#

I'm pretty new to docker which seems like half the issue.

#

hmm when I try to remove the image it says
Error: image used by 27ec4c5312eec2cccaeb4e5a36618a6fa6b5455009f10978cb1e21f01ef31a0e: image is in use by a container: consider listing external containers and force-removing image

soo the container is somewhere...

#

if I do ps -all I now see it. no idea why this is necessary

#

maybe because it's not running

#

now that it's running it shows up with ps

#

🤷

low notch
#

because a container has more states than just existing or not existing

hazy tinsel
#

I guess I expected 'container list' to list containers lol

low notch
#

compose is somewhat similar, you get used to it

hazy tinsel
#

I have yet to play with compose(or whatever the podman equivalent is)

fallen canyon
#

Hi!
I have two HAOS installations, both running on NUC. On one, I can change the hostname, on the other one this option is unavailable 😵‍💫
See this screenshot of the two - the one to the right has the Hostname option. Anyone have a clue? The account is admin and has "Advanced mode" enabled.
https://i.imgur.com/X444JTo.png

fallen canyon
ruby epoch
#

(reposting here after posting in #general-archived, hope that's ok)

Hello, I'm trying to upgrade HASS Operating System from 10.3 to 10.5 (running on an Intel NUC, installed ~3 weeks ago), but getting an unknown error, telling me to look at the supervisor log, and this is what I see in there:

23-08-24 10:35:32 ERROR (MainThread) [supervisor.os.manager] Home Assistant Operating System update failed with: Installation error: Failed marking slot kernel.1 non-bootable: grub backend: Failed to run grub-editenv: Child process exited with code 1

I've done some looking but hits seem about old versions and not on HAOS-based setups. Not sure how to follow through here. Could it be some EFI issue? Is there a way to see what error grub-editenv actually outputs?

merry zephyr
#

How can I generate fast-backups of /config without the heavy .sqlite 's?

#

(besides switching db engine ofc.)

raven forge
#

tar?

merry zephyr
#

I guess I could write a shell_command to do generate it, but a pain-in-the to have to do everything manually

raven forge
#

You asked for a way to do a file backup excluding the database. tar is about as straight forward as you can get and is available in the container

merry zephyr
#

ok, I agree that is probably the easiest solution for what i need.

raven forge
#

I'm tired and didn't fully test this but maybe something like this

tar cvfz config-$(date -Im).tar.gz --exclude "home-assistant_v2.db*" --exclude "*.tar*" /config

Obviously a good idea to put the backup somewhere else but this should get you started.

north pelican
#

Hey guys. I'm installing HA OS in Vmware Workstation on a Windows 10 pc. I've downloaded the correct file from the HA website. I can't get the vm to start because I can't find a way to activate UEFI. The directions seem simple, but I don't see any of what the directions say that I should to activate UEFI. What am I doing wrong?

raven forge
north pelican
#

@raven forge, that's exactly what I needed! Thank you!

winter fossil
#

bump

merry zephyr
cyan plume
#

I'm trying to install the docker version for the first time (because I have docker and don't have a Pi) But the docker run command is telling me that the name is invalid ... and when I put the URL into a curl command, it returns back a JSON string that says UNAUTHORIZED

#

Sorry, I'm on a different computer typing this.

humble mirage
#
  1. Use Docker Compose
  2. Share the exact command and the exact error
#

(really hard to debug from vague descriptions)

cyan plume
#

let me login to discord from the other computer so I can copy paste

#
Unable to find image 'ghcr.io/home-assistant:stable' locally
docker: Error response from daemon: Head "https://ghcr.io/v2/home-assistant/manifests/stable": name invalid.```
#
{"errors":[{"code":"UNAUTHORIZED","message":"authentication required"}]}```
humble mirage
#

What version of Docker? What OS?

cyan plume
#

Docker version 24.0.2, build cb74dfc on OSX 13.4.1

#

gah, typo

#

there's two "home-assistant" in the url

humble mirage
#

OSX... ah

#

OSX isn't supported

cyan plume
#

"The host networking driver only works on Linux hosts, and is not supported on Docker Desktop for Mac, Docker Desktop for Windows, or Docker EE for Windows Server."

#

It's running, there's no reason the image won't run, it just needs a different network option

humble mirage
#

And HA requires host networking

#

Many integrations won't work

cyan plume
#

Gah. my linux server is old and won't run modern docker because of reasons. I know, I need to fix that.

#

I have a windows 10 machine ... can I run docker under WSL ?

humble mirage
#

No, but you can run a VM

cyan plume
#

what about a macvlan network driver?

humble mirage
#

Still no

cyan plume
#

I'm getting more and more agitated with Apple these days.

astral mantle
#

(good.)

calm fractal
#

Hi there, newb here. I got HA set up within kubernetes behind an nginx ingress. Trying a curl on onboarding.html gives me a reply that seems to look ok, but hitting HA through chrome shows a ERR_CONNECTION_TIMED_OUT. anybody there to help? thanks!

storm sluice
#

connecting to the wrong thing?

calm fractal
#

Like, you mean the whole onboarding.html is wrong?

storm sluice
#

where are you running that curl from? the same machine?

calm fractal
#

Yes

#

But going through the proxy

storm sluice
#

what proxy?

calm fractal
#

Reverse proxy from ingress controller, it is deployed in a kubernets cluster.

#

Just checked, curl also works from different machine

storm sluice
#

http vs https?

#

curl should tell you what ip and port it connectes to

#

open the devloper tools in chrome and verify it connect to the same

calm fractal
#

Hah, just did it from my phone, at least I get the blue onboarding page, but the HA logo is missing

#

ssl redirection seems to be working there

crystal dock
#

Have been attempting to configure HA for most of the day. Trying to host it through VirtualBox 7.0.8 on a Windows 11 machine. I know not the best choice, but wanted to toy around before I got in deep. Everything seems fine until I get to the "Prepping Home Assistant" page and it will hang for an hour at a time. I've scrubbed the forums and discord before finally resorting to asking here. Probably not looking in the right spots, because I'm still not sure what I'm missing. Seems every post wants to blame DNS but I've run many DNS commands with zero success. Currently I'm stuck in a loop between updating, downloading, and the following error:

[supervisor.docker.interface] Can't install ghcr.io/home-assistant/qemux86-64-homeassistant:2023.8.4: 500 Server Error for http+docker://localhost/v1.42/images/create?tag=2023.8.4&fromImage=ghcr.io%2Fhome-assistant%2Fqemux86-64-homeassistant&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")
23-08-24 16:27:08 WARNING (MainThread)

Any assistance or pointers to the correct location would be appreciated!

storm sluice
#

dont think its dns, it times out making a outbound http connection

#

firewall? networking configured wrong?

frank perch
#

IPoAC?

frank perch
#

It's not DNS.
It can't be DNS.
It was DNS.

crystal dock
#

I can't even make this up. Somehow I figured it out 20 minutes after shamefully asking in here. It was DNS.

frank perch
#

it sucks being right all the time

storm sluice
#

what exactly was wrong?

brittle sail
#

prob no nameserver for the vm or something

crystal dock
#

Well first, my Googling abilities. But it never crossed my mind to check the DNS of my host. The Windows 11 machine was using a DNS provided from my ISP, once I set it to 1.1.1.1, the HA installation immediately finished.

storm sluice
#

pretty sure that would give you another error, more along the lines of not beeing able to resolve the name

brittle sail
#

eww isp dns

#

your router isnt handing out something else via dhcp dns?

#

and no pihole/adguard setup?!

storm sluice
#

interessting, what ip does it resolve ghcr.io to? just out of curriousity, i wonder why they would deliberately return wrong ip addresses? some form of blocking?

crystal dock
#

No, nothing set up yet. I've been playing with pihole, proxmox, HA now. But I haven't gotten a foundation for my home lab. Kind a just toying with it all until I feel more confident.

tender wren
brittle sail
#

just jump in

#

you can use tteck scripts to get going and then redo it yourself to learn if you want

crystal dock
#

Thank you! I'll definitely be checking these resources out!

frank perch
uncut basin
#

I've just installed home assistant and I can't access the website, http://homeassistant.local:8123. I don't have your conventional ethernet connection, the ethernet plugs into my pc and is told to send the wifi network, and it works on other devices. On my raspberry pi 3 it says up the top no ethernet found or whatever. Any suggestions?

raven forge
#

I suggest you buy a switch and a few ethernet cables because that sounds like a terrible environment to run servers (anything, really) in and your PC has to stay on?
How did you install HA? How did you connect your pi to the network? Up the top?

frank perch
#

well what the OP really needs is a router by the sounds of it

brisk willow
#

|| router I hardly know 'er ||

calm fractal
sage kestrel
#

Just want to feedback on the very much appreciated help you gave the other day. Reducing CPU allocation from two to one really made a more stabel HA. Thank you 👍🏻 🙂

humble mirage
#

I got it running on the subpath

uncut basin
uncut basin
raven forge
#

I suspect your WiFi to ethernet bridge isn't working but I'm not familiar sith that. Have you tested that?

uncut basin
#

yeah like i said it works with other devices

raven forge
#

It wasn't really evident that you tested other devices with the same cable.
Can you show the message on the pi? If you run HAOS, can you also show the output of network info?

uncut basin
#

It says "net: no ethernet found"

#

also i know the wifi is working cause i can access the observer page

raven forge
#

So can you share pictures of the command and such?

humble scaffoldBOT
#

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

Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.

raven forge
#

I've taken the liberty to upload the image you PMd me here so others can chime in: https://i.imgur.com/bhutM9c.jpeg
It looks like the network cable is indeed connected but it didn't receive a DHCP address. I assume the other devices were configured via DHCP as well?

copper steppe
#

Looks like no dhcp server

#

Can you configure it with static ip?

frank perch
quaint peak
#

Is there a known issue with alexapy where I can find some docs on dependencies?

#

apparently the Alexa Media integration requires alexapy>=1.26.8 but with a dependency on aiohttp>=3.8.4 ...but home assistant is only compatible with aiohttp==3.8.1

#

ok, i upgraded aiohttp to 3.8.5 and home assistant did not complain that time, and alexapy to 1.26.9

#

restarted and Alexa Media throws ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration alexa_media: Requirements for alexa_media not found: ['alexapy==1.26.8'] in the log

quaint peak
#

ok, different question: how do I update my HA version for an ubuntu install?

tender wren
#

What kind of install?

quaint peak
#

I have had it on a Pi for almost a year now, and haven't really had to touch it until now

Home Assistant 2022.12.5
Frontend 20221213.0 - latest

tender wren
#

What kind of install?

#

Core, Container, Supervised?

#

Well if you are running Ubuntu, it won't be Supervised

quaint peak
#

Where do I look to find what I need so I can appropriately answer your question? Not seeing any references to that

#

it's in a /srv/homeassistant/ directory?

tender wren
#

How did you install it? Did you use Docker?

#

Or Docker Compose?

quaint peak
#

this was about a year ago and mostly just hands-off

#

I'm sorry, but I do not recall

tender wren
raven forge
quaint peak
#

It's running from my Pi, headless, so I dont' even really need to mess with it

#

ok, I made a backup.. says Core 2022.12.5

tender wren
#

If you run docker ps on the console - does it show sth like Home Assistant?

quaint peak
#

command not found, for docker

tender wren
#

Only if your install type is Core

#

Are you using that command in Ubuntu?

quaint peak
#

yes

#

ok, taking the Core reference from the name that it gave to my backup created in the UI, and trying the directions in the documentation for Core updates.. it seems to be working

#

why isn't that in the "about" section?!

tender wren
#

Before you try to update, you should read the release notes for 2023.1 to 2023.8 - there have been breaking changes, which might hurt you. Especially the Python requirements

quaint peak
#

oooh.. thank you for that warning!

gentle drift
quaint peak
#

can I accomplish that with /srv/homeassistant/pyvenv.cfg ?

rustic knoll
#

hello every body

hard oar
#

Hello hello

rustic knoll
#

i have a problem when i install home assistant

#

i Install Home Assistant Supervised on debian 12

#

after i excute command: apt install
apparmor
jq
wget
curl
udisks2
libglib2.0-bin
network-manager
dbus
lsb-release
systemd-journal-remote
systemd-resolved -y

#

and i get an error:

#

please show me how to solve that error

brittle sail
#

Search ‘supervised’ here to see why you should not use that install method

#

Either use container or haos in a vm/bare metal

rustic knoll
brittle sail
#

ya it's a trick

rustic knoll
#

i will install HAOS on X86-64 computer

brittle sail
#

it really just shouldnt even be an "option"

#

https://www.ebay.com/itm/385670237223 link i've shared previously for an $80 mini pc "m910q" there are many variants on ebay for reasonable prices with 8gb ram or higher and 128gb ssd/nvme or bigger - this is a great option if you need cheap hardware

#

used laptops work well too cuz built in power backup with the battery

rustic knoll
#

i have a huawei ST5110 mini PC

#

with 2GB of DDRAM3

brittle sail
#

cool

rustic knoll
#

and 32GB of SSD sata

#

thank you very much

humble mirage
#

pyenv is handy

astral mantle
# uncut basin yeah i need one, where we live we cant though. the only thing we could get is st...

you can TOTALLY plug a starlink into a router. It's actually better that way. Starlink throttles your speed when you connect more than I think 4 devices to the base station. If you plug it into the router, it think it has one device, and you can hook as much to the router as the connection can handle.

You'll have to order the ethernet adapter from starlink if you have one of the newer units.

#

I have three people right now with starlink and unifi networking and they're very happy with it

random sky
#

I'm pulling my hair out with regards to kernel out of memory errors and my pi4 frozen. Analyzed docker stats and swap and free memory and glances can't see any problems. Happens often and whenever I do an update.
Any clues to help please ?
Possible that my nvme drive is corrupt and it's actually a disk issue? Is there a way to run fsck?

humble mirage
#

How much RAM, and what install method?

random sky
#

It's been running for years. Latest hasio. 4 gig ram. Pi 4

humble mirage
#

What add-ons?

random sky
#

Got rid of myriadb still an issue

#

Running paradox alarm interface but I don't think it's that

#

Memory usage is very low

humble mirage
#

What add-ons?

random sky
#

Can I image link the add-ons?

humble mirage
#

Sure

#

Memory usage is very low
Well, the OOM says otherwise 😛

random sky
#

Yes we'll memory free is always around 3.3gig

#

Add-ons. Excl integrations are.
Esphome. Advanced ssh and web terminal. File editor. Let's encrypt mostly off. Mosquito broker. Paradox alarm interface.

humble mirage
#

And more, lots more based off the image you posted

random sky
#

Nope

#

?

humble mirage
quaint peak
#

how do I remove an entry under settings > devices & services > integrations ?

random sky
#

Oh well I only installed glances and influx and sqlite web today. So can't be that

quaint peak
#

i want to completely remove one and start over

humble mirage
random sky
#

What must I do I can't live like this anymore

#

I use home assistant all day

#

I'll pay money

#

I'll buy hardware

#

I'll do anything

#

😂

humble mirage
#

Well... answering questions and not leaving stuff out because you've decided it's not relevant... that'd help a lot

pallid star
#

after like 7 hours, of setting up a new machine on my network, and building a proxmox server, and HA install, and figuring out the restore takes a while.

random sky
pallid star
#

I DID IT and i feel sooooo good about not using virtualbox anymore

#

@grand pivot thank you for answering me

random sky
#

I've also increased swap space utilizing those init strings in the ssh plug in. It's been like that for a while. Bad idea ?

#

Not sure if u know what I'm referring to?

random sky
#

Tinkerer do u have any suggestions please ?

low notch
#

Moar ram

humble mirage
#

That and chase the cause of the OOM, but you've picked what you share, rather than telling us all... so I'm out

cinder slate
#

**I am hoping someone can help. **I just installed a fresh copy of Home Assitant VMWare VM and restored from a full back. I've saved a few full backups since then.

#

Now when I restore from backups, after its done, everything looks the same, nothing was restored.

#

I tried restoring from my original backup, same thing. Before I go again and install another fresh copy of Home Assistant VMWare VM and restore from backup again, I need to know what to do in order to prevent that from happening again

random sky
cinder slate
#

I dont see any errors in the log related to the restore

random sky
#

It's not difficult to understand is it?

humble mirage
#

Well, have fun

random sky
#

I'm not having fun I have a problem

low notch
#

stop some of your addons. at least 32098 of them

random sky
#

I have so few running. Influxdb added a few by itself such as nginx and kapacitord and cronograf. But the issue was prior to that. I only have advanced ssh. File editor. Let's encrypt. Mosquito broker. Paradox alarm interface.

#

It's really not a lot which is odd. And I have usually around 3.4gb memory free of the 4gb.

tender wren
#

When running out of memory, adding more stuff cannot be a bad idea

#

What HAOS version are you running?

uncut basin
uncut basin
uncut basin
copper steppe
#

My suggestion stands.

#

If you configure it with static IP, does it work? That would point to dhcp problem.

#

otherwise, what hardware is your deviec? (I don't remember). Is the NIC anything exotic?

#

Your screenshot shows HA is detecting the device, it's plugged in, and has a mac. Sure looks like a dhcp problem to me

#

PS: it's slightly unusual for your device to still be named eth0. Normally they get renamed to some annoying device-specific name like enp0s18

#

(but I don't have a rpi with haos for example)

random sky
raven forge
#

Yeah, me. If you want to see historical memory per-process you simply need some additional tools.
I suggested having top open in the past while triggering an update so you can see live what happens: <#general-archived message>
I have no recollection of you getting back to me with any results. My memory isn't the best though.

random sky
#

I did an update with top open as well as glances. Didn't see anything spike at all. All I can think of that might be causing the issue is the paradox alarm interface addon.

#

And it did crash on the update yesterday

raven forge
#

You could downgrade and do it again with top open sorted by memory usage

random sky
#

Is there a way to limit the memory on a specific add on so only that add on can crash

raven forge
#

Technically yes but I'm not aware that HA exposed that functionality anywhere

random sky
#

OK got your message on how to up down grade. Great

raven forge
random sky
#

I also have previously manually adapted my swap memory on the ssh addon

#

Do u think that could acyltually cause an issue

#

The default is 1gig. I've got it to 4

raven forge
#

I don't know

random sky
#

Ok

#

Thanks for the tip again I'll try this today

brittle sail
#

haos 10.x changed the way it handles memory or something like that and people had issues showing maxed out ram if they were using that workaround linked above

random sky
#

But still crashes with out of memory errors

#

And I still have 70 percent of my ram free

brittle sail
#

personally i'd open an issue on github if there isnt one already in the haos repo

random sky
#

So latest is I disabled add-ons that could be causing the issue and I stopped them from start on boot.
I downgraded to 2023.8.2. System booted I saw it was on this downgraded version. Then crashed. Didn't start anything manually.

gusty forge
#

Question for all...running home assistant on an rpi 4b off an SSD. Upgraded the OS last night and no longer seems to be booting properly (can't connect and the rpi is no longer connecting to the network.) I assume there is no recourse beyond doing a clean install and installing a backup. Is that correct?

versed vapor
#

Do you use the SSD on a powered hub

#

If not that's a likely cause of faults

gusty forge
#

I don't. It hasn't been an issue for a year.

#

But maybe that's the issue

raven forge
#

I'd connect a monitor and keyboard and see what it displays

gusty forge
#

That's the plan. Just have to wait for the kids to give me some time to do it.

brittle sail
versed vapor
#

I can only tell that powered ones usually work without any issues while chances using non powered ones are significant that it won't work

#

I did pick up a couple before I noticed

brittle sail
#

Star tech 3.0/3.1 work well

hoary steeple
#

I setup home assistant on a yellow, no issues with install but as soon as I had it up and running my Nest WiFi stared to have all sorts of issues, mesh points going offline, etc. I unplugged the yellow and the wifi stabilized. I did not enable any nest wifi (or other nest/google) integrations. Has anyone seen this behavior before?

frank perch
hoary steeple
gusty forge
versed vapor
#

Nice

scenic grove
#

so, i'm trying to install on my macbook m1 chip (used a old dev release for virtualbox) and it didn't work. i can't get past the post-booting part.

#

and it aborts itself every time

low notch
#

Do you use a aarch64 image?

#

And do you use the image as hard disk or drive?

scenic grove
#

i actually followed a new tutorial, and got it fairly working. still installing debian for the new tutorial

crude inlet
#

@scenic grove there's UTM as an option for M1.

brittle sail
#

Utm?

scenic grove
#

yeah, a tutorial had that. following that

#

UTM, a VM software made for mac m1, m2 i think?

crude inlet
brittle sail
#

Is that like parallels?

crude inlet
#

I got a HAOD VM running as a test and it worked

brittle sail
#

I’m not a mac os guy just played

scenic grove
crude inlet
#

Me either. There was something I had to do to get networking going but not in front of it now to check

scenic grove
brittle sail
#

Interesting

#

I’ll spin it up in a vm sometime and play

scenic grove
#

i'm at the debian almost done installing stage

scenic grove
#

and now at the installing dependencies

#

ugh

tender wren
#

Another victim of the Supervised install trap?

scenic grove
#

?

#

i'm done with dependencies

#

but

#

mv /etc/network/interfaces /etc/network/interfaces.bak isn't working

#

nor

#

curl -fsSL get.docker.com | sh

#

can't resolve host

scenic grove
#

so, thought about it and took a break, gonna get a raspberry pi as you can use the software installer/flasher and boom

raven forge
#

A Mini/(U)SFF PC might be a better choice.
If you want help with your issue you need to elaborate on isn't working as that's not really helpful

random sky
#

https://ibb.co/Wvckyry
Hi all I'm still struggling with these OOM errors.
Swap is never being used at all and memory usage never exceeds 20%
It seems like the kernel OOM killer shouldn't be doing this at all. I've disabled most integrations and add-ons. Still doing this after updates on first boot.

#

Each docker container is using extremely small amounts of memory. It's so strange this. Any ideas please

raven forge
#

In general it's best to show this information rather than telling us vaguely what it is.

scenic grove
#

issue

crimson furnace
#

Hey everyone, thinking about starting from scratch with a new install but I dont want to have to link all my devices again to my zigbee coordinator (mostly light bulbs) is there something I could copy from a previous install that might help?

humble mirage
#

#zigbee-archived could help there - if you tell them which Zigbee approach you're using

fallow thorn
#

Hello I have an home assistant app to control my cameras and gates for my properties, I want to give access to only my gates so the tenants can use the home assistant app to open and close them, but do they have to create and install home assistant to and go through all the installation guises or can I just add a user

manic bane
#

You would be better off creating a new instance just for gates and giving people access to that, though again everyone will have access to everything

#

There are no permissions as such in HA

brazen herald
#

Including access to each other's information

#

(Through the person entity)

manic bane
#

Ha is designed as something for a group of trusted people (eg a household) not for strangers to access it

fallow thorn
#

do any of you guys know of any programs that can be used like that

#

wait so your telling me if I'm the admin and I make a sub group that has access to only control the gates, i cant assign a user to only that sub group

brazen herald
#

Nope. Pretty much every home automation system is designed for homes.

#

There is no such sub group type to create

fallow thorn
#

lol, so much for "assistant"

brittle sail
#

Average landchad be like

brazen herald
#

It's the word "Home" that is important here.

#

It is an excellent assistant for a home and household. Not so much for hotels, shared access buildings, etc. nothing I've encountered is designed for that

fallow thorn
#

yes but say i dont want my kids to control certain items in the house, shouldn't i be able to not give them access.

brazen herald
#

You don't give them access to HA then.

#

I've shared a limited subset of my devices with HomeKit. But that is also designed for households.

fallow thorn
#

but what if I still want them to access certain items like the garage

brazen herald
#

You'd need to trust them.

final socket
#

There are some solutions like exposing select entities to Google Home or using Telegram bot commands that you can implement in that situation but HA itself doesn't do user permissions and it's not designed for implementing access control.

vocal anvil
#

i just did a reinstall of my HA server, on to an ssd using usb boot. It's restarted a handful of times, but i have had the home assistant is installing page could take up to 20 mins. i've never had it sit this long is my install borked? or keep waiting?

#

nevermind i figured out how to see client output.. its borked.

#

i think i was using a power supply that wasnt powerful enough and it effed it up. dont be me boys.

final socket
#

With a Pi? If you're using an SSD and booting a Pi from USB it's recommended, probably more like required actually, to use a powered USB hub.

craggy wraith
#

If your install freezes, it might be an issue with setup not reaching DNS service. I had to force e.g. OpenDNS via DHCP server to HA server during installation and only then it went forward. After that, restoring backup took something like 35 - 40 min.

raven forge
craggy wraith
#

Just force homeassistant IP and DNS in your router configuration.

#

DNS server

#

And - actually, reinstalling didn't work from USB boot, so eventually I flashed the HASS image using USB-C cable. Even on Mac it was not a hard thing to do.

chrome viper
humble mirage
#

I've seen no signs of that being actively worked on

spark ether
#

fresh install of proxmox 8.0.5 & HA running in VM, added the usb passtrough already for the conbee2 ( and updated ) but no one on forums seem to find dev serial by id. How do I find the path to setup a zigbee integration?

humble scaffoldBOT
#

Open your Home Assistant instance and show hardware information

humble mirage
#

There, at that link

spark ether
#

yeah ive looked there.

humble mirage
#

If there's nothing there then it hasn't been passed to the VM

manic bane
mortal stone
#

how do I migrate my homeassistant container onto a new system?

#

i use docker compose

humble mirage
#

My dream is LDAP support and permissions

humble mirage
mortal stone
#

yeah essentially

#

i just want to migrate to a new system

humble mirage
#

So... just restore your backup, or rsync the config folder over

open ferry
#

Can someone point me to a working troubleshooter for missing add-ons section? Seems like it happens a lot to newbs like me lol

grand pivot
#

Usually when you either installed HA via a method that doesn't have addons, or you're following an ancient guide that doesn't show that it moved to Settings

open ferry
#

It can only be the 1st one maybe? I didn't know some versions didn't have addons?

#

I have Home Assistant 2023.7.3 Frontend 20230705.1 - latest

crude inlet
#

add-ons are docker containers and require the supervisor managed docker ecosystem (not a plain docker container install). So HA OS or the "supervised" install (which you should avoid)

open ferry
#

Brilliant. So I must have core then?

final socket
#

What install method did you use? Docker?

open ferry
#

Sort of. iocage in TrueNAS

#

Installed as a RC service

humble scaffoldBOT
#

Open your Home Assistant instance and show your Home Assistant version information

humble mirage
#

Ah, they moved that info

humble scaffoldBOT
#

Open your Home Assistant instance and show information about your system

humble mirage
#

That one

humble scaffoldBOT
#

@open ferry I converted your message into a file since it's above 15 lines :+1:

humble mirage
#

Only needed one line from that 😛

#
installation_type | Home Assistant Core
open ferry
#

Ah yeah I divined that from the link. core's the only one that doesn't have it. I know how to pick em....

#

So I guess I have to look into the supervised installation method. Was wondering when that was gonna come up

final socket
#

It looks like Truenas supports virtualization, you could run HAOS in a VM.

open ferry
#

That was my first attempt. But trying somehow messed up virtualization and now none of the VMs start

final socket
open ferry
#

Should I just bite the bullet and break out a retired thin client?

humble mirage
#

Supervised would be a mistake

crude inlet
#

add-ons aren't required to use Home Assistant. Are there any in particular you were thinking you would need?

open ferry
#

Well HACS

crude inlet
#

that's not an add-on

brittle sail
open ferry
#

Cuz apparently I need it to integrate my xiaomi devices

humble mirage
#

HACS works with all methods

open ferry
#

The guides say I need ssh to install it

humble mirage
#

Well, yes, but no

#

You need a shell

open ferry
#

Ah.. haha well I have that

crude inlet
#

HA OS doesn't have a shell without making use of add-ons, so that's why that is there

open ferry
#

Well finally a break

#

I'll probably still have to move to dedicated hw. Is it better to do it now before I've configured too much?

crude inlet
#

A backup of your main config directory including all hidden directories would be copied over to the new installation, so it's not that big of a deal

open ferry
#

Ok, cool. That gives me a bit of room to experiment

#

Thanks for the help. You and the others. It's a bit overwhelming all of the options

open ferry
#

Something like that. I have a couple old Lenovo M92s I can raid

grand pivot
#

Perfect

final socket
#

Yeah those Lenovo Thinkcentres are great machines for running HA, they get recommended on a daily basis over in #hardware-archived

open ferry
#

Glad to hear that!

#

HACS installed. That was relatively painless once on the right path

open ferry
#

Curious is this stream error normal? It's a stock install

#

Setup failed for stream: Requirements for stream not found: ['ha-av==10.1.0'].
Setup failed for default_config: (DependencyError(...), 'Could not setup dependencies: stream')

humble mirage
#

You need Python 3.11(.4), and there's some other issues around ha-av on Core - related to the version of FFMPEG

open ferry
#

Ah that is another issue I've been trying to solve. How to upgrade it to get rid of the nag.

#

I'm stuck on 3.10

humble mirage
#

You'd rebuild the venv on 3.11, however you do that on TrueNAS

open ferry
#

Not sure what that means, but I found that I have both 3.9 and 3.10 versions installed after installing HAOS (this is a jailed env)

#

Simply running the python3 installer ignores both.

humble mirage
#

Well, you only get HAOS with a VM

open ferry
#

Ah ok wrong terminology. Core

humble mirage
#

You need to install Python 3.11 in the jail

open ferry
#

Sounds so simple... and yet .... lol

#

I'm sure it's my lack of experience w python tho. It's probably super simple

humble mirage
#

Well, pyenv is the way, but ... may not be easy with a jail

open ferry
#

My problem may be that I was holding out for a package installer. Might need to compile it myself

#

OoOoOoo pyenv did it

#

Maybe not. It says it installed 3.11 but HAC knows nothing about it.

humble mirage
#

You have to create a new venv, activate it, install HA in there, and get the jail to start that new version

#

On Linux this is easy

open ferry
#

So I have to make sure I'm running python 3.11 before installing HA?

humble mirage
#

Buying a thin client/small form factor PC will be easier

open ferry
#

I see. Probably pull it out and do that tonight then., thx

dapper bridge
#

hi, i joined here when i started with ha today cuz i knew i would encounter something i cant fix on my own;
So i set up my random pi 2 to run ha, it worked as intended, it even auto detected my wled setup; my problem is that i wanted to plug it into the second router i have and i cant access it; i tryed searching on the internet and some places mentioned port forwarding and such and i got scared so im looking for help here;
basically the setup is that internet comes in from the provider, that is the main modem/router (kaon from vodafone), and i have a second one (dlink) connected to it via cable, and my pi is connected to that second router right now. again, the pi setup worked while it was connected to the main router;

humble mirage
#

Does the DLink have a separate network range?

#

Because that's not a good setup

dapper bridge
#

how can i find that out (networking is literally my nemesis, i know very little about it)

humble mirage
#

Well, did you connect the WAN port of the DLink to a LAN port on the Koan?

dapper bridge
#

from kaon lan port to dlink "internet"; the dlink has 5 ports, one yellow input labelled "internet" and 4 numbered output ports

humble mirage
#

Then those are two separate networks

#

Why did you do that?

#

What's the point of the DLink?

dapper bridge
#

originally wifi didnt cover the whole house, and later when we switched provider 2 out of the 3 tvs got connected to that one cuz it was closer

humble mirage
#

Then you want to:

  1. Disable DHCP
  2. Connect the LAN port instead
#

Then it'll be a switch and access point, not a router

#

That'll solve your new problem, and others too

dapper bridge
#

i suppose i do that in the dlink's panel, but problem is i cant get there; there is no ip written on the thing just "dlinkrouter.local" which times out, and from the kaon's panel i can see an ip but that times out too

raven forge
#

Can you tell us its model number?

dapper bridge
#

it is a dlink dir-842

raven forge
dapper bridge
#

ERR_CONNECTION_TIMED_OUT
in the kaon panel it says its under 192.168.1.3 but that times out too

raven forge
#

How is your device (where you opened the browser on) connected to it?

dapper bridge
#

my pc is connected to the kaon router, my pc is where im trying to connect

mossy ember
#

i just format my homeasistant machine, and wanted to start from zero, now i open my system and i constantly get login atempt. checking from ip and its from my pc. how can i understant whats it

raven forge
#

Can you check the local ip of your computer?

dapper bridge
#

yes

#

it is 192.168.1.5

raven forge
#

So the ip range is different and the other router would most likely not let your pc connect anyway due to firewall. Not sure if fiddling with static routes helps here

#

So basically you need to be connected to the same router to connect with each other

dapper bridge
#

can i do that from an android device trough wifi? cuz i cant really connect my pc to the dlink directly

raven forge
#

No I meant you need to physically connect into the same device. Your PC's cable and the PI's cable go into the vodafone box, for example

dapper bridge
#

ah

dapper bridge
raven forge
#

The dlink might be able to be set up to only act as AP and switch but I'm not sure

raven forge
dapper bridge
#

yepp, works

#

now im in the dlink panel

#

from my phone

dapper bridge
#

I think i broke something, i turned off the option "dhcp server" and now the panel times out

raven forge
#

Assign yourself a static ip

#

But as tinkerer said, it might be best to use (it as) a switch

open ferry
#

Anyone familiar with the python install of Core on linux? I'm at the venv activation and it's trying to do stuff to folders that don't exist

grand pivot
#

What stuff and what folders?

open ferry
#

Actually I think I know where things went sideways. I'm having to 'adjust' the instructions for FreeBSD, and I may have missed a dependency ...

#

I guess my question is, if I'm installign this in a jail, is the venv stuff still necessary?

grand pivot
shadow holly
#

Hola alguien puede explicarme como puedo actualizar la version de home assistant? yo tengo instalado un CASAOS y dentro de el la version de home assistant docker compose 2023.6.3

shadow holly
#

Sorry!, can someone explain to me how I can update the version of home assistant? I have a CASAOS installed and within it the version of home assistant docker compose 2023.6.3

tender wren
shadow holly
grand pivot
#

You shouldn't have lost anything. Whatever directory you mapped for your config directory should still be there

#

Unless you didn't map anything...

shadow holly
grand pivot
#

Well, did you map a config directory?

shadow holly
#

yes

grand pivot
#

Then you shouldn't have lost anything

#

That's not valid

#

You're missing the :/config on that line

shadow holly
#

ops!

#

and now?

grand pivot
#

Extract the contents of the tar file into that directory, fix that line, bring the container back up

shadow holly
#

ok i try it thanks!

shadow holly
humble mirage
#

Did you update your run command?

#
  -v /DATA/AppData/homeassistant/config:/config \
#

And is that where you extracted the tar to?

shadow holly
# humble mirage Did you update your `run` command?

I have not run the command yet, I just extracted the file in the same directory that is /DATA/AppData/homeassistant/config and then restart the home assistant to see if everything is as before, but the installation is still clean in the updated version.

humble mirage
#

Well... then you still haven't mapped that folder so of course your files aren't there

shadow holly
#

ahh

#

all ok very thank you!!

twin haven
#

Hi, a small problem on my linux. i need HA and plex via docker, but both bind port 1900/udp for DNLA => the 2nd service that starts (plex) complains because port already in use.
any idea on how to manage this please ?

barren hedge
#

Was setting up ha on rpi4 with ssd and suddenly everything became unavailable - according to the logs. when connecting the pi to a monitor there's a constant spam of 'unable to read ...' or 'failed to rotate'

twin haven
barren hedge
#

disk space should be fine, brand new 240gb ssd. i cant ssh or access pi via command line - would it be fine to pull the power and plug it back in? Last time this happened on an sd card, thought switching to ssd would fix 😦

twin haven
#

never use rasp, you could still restart it, not a big task 🙂

barren hedge
#

yeah rebooting the pi fixed it, just want to prevent this from happening again. disk space according to ha is 98% free. checking the file system though /dev/root has 0 available space, thinking maybe ha tries to modify files in there and that's where the read only problems come from

humble mirage
#

The SSD, is it connected to a powered USB hub?

#

Because if not that's probably the source off your problem

barren hedge
#

ahhhh yeah that's probably it. too much data transfer over the ports on pi? i just have a usb to sata cable

humble mirage
#

Just not enough power on the USB ports

#

There's a post from somebody suffering from that just about every other day

barren hedge
#

🤣 yeah can imagine, must be tiring having people like me asking about it everyday. thanks for the reply, i'll pick up a powered usb hub

humble mirage
#

The problem is that it's not an obvious problem, and the official Pi docs don't even hint at it

barren hedge
#

yeah that and a lot of tutorials out there don't tell you about powered usb hubs and just use usb-sata cables or even tell you to just use an sd card 💀 so long my last sd card lmfao

vast fjord
#

Hello, just installed and got a few things up and running using latest version. However, I am not seeing the Configuration option in my side bar even though I have enabled Advanced in my profile. I also restarted the system after enabling. Any suggestions? Thanks

crude inlet
#

@vast fjord you're referencing something old and out of date. Do you see Settings?

vast fjord
#

Yes

#

Was trying to make changes to the energy settings

crude inlet
#

Settings > Dashboards > energy

vast fjord
#

Excellent. Thanks

latent cove
#

Hey folks, I've used HA for quite a long time, but abandoned my home lab over a year ago, didn't have the mental energy to fix it.
I am looking to completely rebuild my homelab, motivation behind it is to learn ansible.
Since AWX wants to be deployed into kubernetes (but docker also works):
Did someone manage to get Home assistant working with a "full" K8s setup?
Still also new with K8s, too.
I saw a few people trying to run HA on K8s, but I heard there are a lot of problems.

I kinda dont want 2 container hosts...

humble mirage
#

Assuming you're aware that not all integrations will work, HA works there

#

Anything that uses UPnP/discovery/mDNS/broadcasts won't work

latent cove
#

I mean I can get it to work 😄
But probably wont worth the hassle... how are you running it right now @humble mirage ?

humble mirage
#

Not in K8s 😛

#

For those that don't want a dedicated host/VM (aka HAOS) then native Docker make most sense

latent cove
#

I have no problem running HA in a VM, my base for my home lab server gonna be proxmox anyways.
Maybe I'll go with HA as VM and then the rest in K8s/k3s w/e 😄
Speaking of weird and overkill things to do, did someone alrdy try to use apache kafka instead of mosquitto :D?

humble mirage
#

Kafka does MQTT?

latent cove
#

oups, it doesnt. I thought I read somewhere that Kafka can also "speak MQTT", but doesnt make that much sense tbh 😄

rigid quiver
#

I can't access the local home assistant page on my phone or my newly flashed ns panel but it works just fine over my laptop any idea why?

empty bloom
#

could be a number of things

#

are they on the same network?

#

are they using hostname instead of IP?

rigid quiver
#

My phone says connection refused and on my ns panel name not resolved

rigid quiver
empty bloom
#

sounds like dns problems then

#

use the IP instead

#

also, 8123 is the correct port

rigid quiver
#

Wow

#

Ok I misspelled it, sorry

eternal palm
#

Hi, i am trying to update my home assistant from core-2021.6.6 to core-2023.8.4 (and supervisor from 2021.06.3 tot 2023.08.1) but the system is "unhealthy" and cannot connect)

empty bloom
brittle sail
#

😂

grand pivot
#

I think it just died of old age

#

that's like 100 in HA years

eternal palm
#

just got my rpi, and it came with a home assistant sd card, so.. need to either format the sd or solve it by updates

frank perch
#

well

#

formatting the SD card and installing a current version

#

gonna be way less painful

brittle sail
#

You’re trying to update an sd shipped to you?

#

Do you even security bro

frank perch
#

straight to jail

rigid quiver
brisk willow
rigid quiver
#

Where are the dns settings?
Do I have to use the terminal for that?

empty bloom
#

dns settings are handled by something else on your network

#

usually gateway or router, or something else

rigid quiver
empty bloom
#

yes

rigid quiver
#

Connection refused

empty bloom
#

is IP bans turned on?

#

in HA?

rigid quiver
#

how can i acess my config file remotely?

empty bloom
#

Trhough SSH, Samba, Or the UI w/ any addon that does that

rigid quiver
#

# Load frontend themes from the themes folder themes: include_dir_merge_named themes

frontend:

automation: include automations.yaml

script: include scripts.yaml

scene: include scenes.yaml```
#

this is my configuration.yaml

rigid quiver
empty bloom
#

clear your browser cache then, other than that, not sure.

grand pivot
#

the first two lines look wrong there

brisk willow
#

and it's !include, not include

rich matrix
#

Hi! I watched this video from CrossTalk Solutions
and I installed Home Assistant in the docker desktop application for Windows. I don't have a smart home nor a segregated IoT network nor a server. I need help with setting up separate networks for my personal network, guest network, IoT network and maybe an IDIoT network to identify the IoT devices. Also, I'd appreciate being pinged so I'll for sure answer to you.

humble mirage
#

Well, HA isn't supported in Windows like that... so you're off to a bad start

#

You would however need to put HA on the "IoT network" to enable it to talk to the devices there

rich matrix
humble mirage
#

AKA ... not supported

#

Plus:

You would however need to put HA on the "IoT network" to enable it to talk to the devices there
(though, most people use VLANs without understanding networking, and just get themselves in a mess)

twin basin
rich matrix
#

I've got to go now. I'll refer back to here in the morning for me. (It's 12 Am for me.)

dusty sonnet
#

I'm struggling to complete the VBOX setup on macOS 12
The VM aborts immediately.
I get several lines of error codes in the logs, mostly relating to the display settings.
Happy to share the whole or partial log

This is one of the messages I get in the notification center of VBOX:

VM Name: HomeAssistant
hv_vm_create() failed: 0xfae94001 (VERR_NEM_INIT_FAILED).
Driverless mode (VERR_SUP_DRIVERLESS).
Result Code:
NS_ERROR_FAILURE (0X80004005)
Component:
ConsoleWrap
Interface:
IConsole {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8}

I've reinstalled VBOX

low notch
#

are you trying to run x86 on aarch64?

#

else try a older vbox version

rich matrix
rich matrix
humble mirage
#

Yes WSL does, it has to

#

Core isn't recommended, but if you're comfortable with command lines it works

rich matrix
#

Is there a difference between HA and HA core?

humble mirage
#

HA (Core) is the software

#

HA Core is one install method

rich matrix
#

ok. thanks.

#

So if I install HA on WSL it's only gonna be CLI?

dusty sonnet
rich matrix
humble mirage
#

There's always the web UI

#

There's never a local GUI

rich matrix
#

Oh yes. I forgot about the web UI 😅

#

Is a raspberry pi a could installation method or is WSL better or worse?

humble mirage
#

Pi with an SSD on a powered USB hub is better than WSL

#

A VM is better than WSL

#

However, a second hand small form factor PC will likely cost the same as the Pi while performing better and being more stable

rich matrix
#

For now as I don't have any smart devices set up yet and available installation methods for me are:

  • Docker
  • WSL
  • VirtualBox VM
    which would be best?
humble mirage
#

On Windows we've already explained why (1) isn't an option

#

As for WSL vs VM that also has been answered

rich matrix
#

ok. thanks.

copper steppe
#

Rather than a pi get your parents to buy you a $100-150 used sff pc. Way more powerful and useful

rich matrix
#

What's a sff?

copper steppe
#

Small Form Factor

rich matrix
#

Ah. ok.

copper steppe
#

Like a Lenovo thinkcentre or the dell equivalent

rich matrix
#

Yeah got it.

#

Also, if I install HA on a VM in VirtualBox I don't have an Ethernet connection with my router (well it's actually a gateway (according to Bing) )

#

Please keep in mind that the bridged adapter only functions over a hardwired Ethernet connection. Using Wi-Fi on your VirtualBox host is unsupported.

copper steppe
#

Your main machine is wifi only?

rich matrix
#

In my house there is a desktop with the gateway right next to the door to my house and my PC is in my room a couple meters away from the gateway

copper steppe
#

Run an ethernet cable to the gateway? Otherwise wifi is probably ok to play with, if you only access it from your pc

rich matrix
#

It's gonna be "blocking" entrances and exits to rooms. There is hall that connects my living room with a kitchen and another smaller hall that connects my parent's bedroom with mine and the bathroom.

#

WiFi is my only option for now....

#

For WiFi I use a TP Link adapter. Is that a problem?

copper steppe
#

Virtual box abstracts that away, so doesn’t matter

rich matrix
#

ok

copper steppe
#

If you’re going to be there for a while maybe get a cable run properly in the walls?

#

But if you get a sff box you can leave it next to the gateway and wired in anyway

rich matrix
#

For me WiFi is the only option for now because I'm gonna somewhat soon I'm gonna move my PC do the apartment I've got in the ground floor which is mainly used for tutors and I'm gonna leave my PC in the bedroom. It's a work-in-progress that apartment 'cause it only has 1 desk for studying and 1 bedroom with no beds and only some closets cupboards and drawers.

copper steppe
#

Fair enoug

rich matrix
#

I just set up HA in VirtualBox and then started it. It prompted me with this screen and then tried Slot A failed and tried again and again.

copper steppe
#

What kind of failed? I don’t know anything about windows btw

rich matrix
#

One sec. I've got a vid.

copper steppe
#

Can’t watch it. On phone

rich matrix
#

It's ok.

raven forge
#

This video has nothing to do with HA!?

rich matrix
#

It shows the process of the VM trying to boot up.

raven forge
#

Maybe check your link again. It shows you starting InsaneCraft

rich matrix
#

Sorry abt that.

#

Wrong vid 😅 🤦

raven forge
#

I have no clue why this happens but you could try spamming the down arrow while booting so you can select another slot. Maybe something else happens.
Otherwise maybe share your .vbox file and/or try re-downloading the vdi and re-creating the VM with it. It also says OK=0

rich matrix
#

Ok. I'll try to change the Slot

#

Slot B shows
error:unknown filesystem

#

The rescue shell for Slot A has the same output as the normal slot A

#

But um.. 2nd try with the slot a rescue shell and I think it's booting up.

#

And it's booting

#

yep

#

And it's up and running nice.

placid sage
#

Docker image not launching on Synology NAS - could anyone help?

I have Docker running, downloaded the Home Assistant image from the registry, download to my Synology is complete, but nothing happens after i have hit Launch. Done it number of times, uninstalled Docker and all over again, but no cure unfortunately.

tender wren
placid sage
#

unfortunately did not help. again a download, but nothing starts after hitting launch

#

anyone experience with irresponsive images in Docker on Synology? have also restarted my NAS.

raven forge
#

I'd try to start it through CLI (command-line) if possible

placid sage
#

sorry CL? - newbie here

raven forge
#

Command line. Is there anything in the logs?

placid sage
#

is there any help how to do that - sorry newbe here

#

the log just mentions it downloaded the image

raven forge
placid sage
#

yes, i did, followed it all - strange right?

#

simply not starting - and unfortanately not familiar enough with CLI

raven forge
#

Because the docs state stable, not latest, for example. I don't own a synology device so I can't really test it myself

thorny vector
#

I previously had homeassistant running via python in a virtual environment on MacOS with https://www.nordicsemi.com/Products/Development-hardware/nrf52840-dongle - it was autodetected by home assistant without an issue and added Thread/other stuff nicely.

I'm now trying to setup an Ubuntu server installation of home assistant on a laptop with the same dongle, and while ubuntu and home assistant in docker setup ok via command line, all that nice stuff the nrf52840 usb dongle added is not being detected. lsusb shows the device is definitely being recognised as it shows up in the list, but I'm so new to ubuntu that I have no idea how to get from A to B here.

Apologies if there's something I've missed in this, just not sure why it worked in the first method but not the second, and not sure if it lies in something I did wrong in ubuntu or something I need to do with home assistant

raven forge
placid sage
raven forge
#

The post you replied to was actually meant for Greg 😄

placid sage
#

ahhh

#

tried a CLI via Task Scheduler I found from MariusHosting on how to install HA on Synology. Gives me this output:

Current status: 126 (Interrupted)
Standard output/error:
docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create?name=home_assistant": dial unix /var/run/docker.sock: connect: permission denied.

#

does this ring a bell?

raven forge
#

The user running that might have to be added to the docker group

placid sage
#

i am running as admin

low notch
#

syno utilizes sudo

twin sundial
placid sage
#

Will 2gb ram be able to run a couple dockers or even the ha os itself?

#

Temporary while I get a low cost laptop or some such

raven forge
#

Yes but I haven't seen them officially called dockers. They are containers, not a shoe 😉
It's not really the amount but rather the software that is running inside the container(s). VS Code server usually uses more memory than mosquitto, for example.

versed vapor
#

As long as it's not a pi trying to run it 😄

humble scaffoldBOT
#

@thorny vector I converted your message into a file since it's above 15 lines :+1:

thorny vector
#

@raven forge that was in response to my above query, apologies, the bot converted it!

raven forge
#

While I'd use the /dev/serial/ path that looks correct. I believe you don't even need this with privileged. I'm not familiar with the integrations for this but you probably have to give them the same path. Not sure how their detection works

thorny vector
#

Hmmmmm I might just try a Skyconnect 😅 this is driving me crazy

#

thank you for your help though @raven forge - in the meantime if I wanted to learn a bit more about Ubuntu Server so i understand the basics for when that arrives, how would you advise going about it? no worries if you're not sure, just thought i'd ask!

raven forge
#

I actually couldn't tell you just one source. I also don't use ubuntu and it's been a while since I read a getting started with linux guide.
The digitalocean articles are usually good. The debian manual or its admin handbook, linuxjourney perhaps.
There's also guided linux courses on coursera and the like if that's more your thing: https://www.classcentral.com/search?q=linux&free=true
If I have a problem/idea I get my info from different sources and then usually test in a VM. I reference things most of the times so I can't tell you about the coherence of big guides.
My suggestion would be to get some virtualization software, create a VM, create a snapshot and break things while trying to achieve what you want to do whioe following guides.
Restore the snapshot and repeat until you're happy with the result. Then do it for real. I use VMs this way multiple times each day when helping people here.

opaque musk
#

Hey not really an HA question, but is there an easy way to resize partition on a raspberry pi on ssd ? I try with an usb stick but it wont boot 😭

low notch
#

why would you do that?

#

partitioning made sense when sector speed mattered

brisk willow
#

Ehh, having /home on a separate partition can be nice for reinstalls at least

low notch
#

its a folder bro

#

copy the folder

#

there should be gparted isos out there for aarch64. that should do fine on a pi ssd,
except its haos - in that case better not do that

#

i think gparted also comes with raspberry os, so just flash that to a sd and boot it

quick breach
#

Anyone care to help?
Running home assistance on linux port 8123, getting error "site cannot be reached"

manic bane
#

Right now it's the same as ringing a mechanic and saying my car doesn't work
No details is useless

copper steppe
#

Start by checking the home assistant logs

frank perch
unborn grotto
#

Hey, I need some help. I'm trying to run home assistant in a KVM but I'm having some network issues. I can't seem to get a connection to my local network through a bridge from the VM to the network interface. Can anyone help?

raven forge
#

How did you create the VM? How does the bridge config look like?

unborn grotto
#

I created the VM using virt-install

frank perch
#

if you didn't specify a networking type it's NAT by default

unborn grotto
#

I eventually ended up going to the system hosting it itself and opened a desktop interface and after not getting anywhere I installed virt-manager so I could visually see everything and set everything. I ended up making the bridge in virt-manager which is called virbr0

frank perch
#

well I was just about to suggest that

#

but that's what you want

unborn grotto
#

Somehow now there's two virbr0 bridges in network connections...

frank perch
#

is NetworkManager enabled?

unborn grotto
#

It looks like it.

frank perch
#

disable it

unborn grotto
#

There

#

I disabled it.

#

hello?

raven forge
#

What does bridge link or brtcl show say?

unborn grotto
#

Virbr0, the id of it and the stp enabled status which is yes. No interfaces

#

@raven forge

raven forge
unborn grotto
#

I was just told to disable the networking. That's why.

#

Let me re-enable it and see what it says.

#

Well now there's nothing. And it won't even pop up again. I think I have to reboot the system because the interface has to reinitialize

#

Unless there's a way I can get the interface to initialize again after being disabled

raven forge
#

How did you disable it?

unborn grotto
#

I disabled the network manager as per advice above

#

By @frank perch

raven forge
#

Yes but how?

frank perch
unborn grotto
#

Sudo systemctl disable NetworkManager

unborn grotto
raven forge
#

That does not necessarily stop it though

frank perch
#

that just stops it starting up

raven forge
#

Try the same command but with enable to reverse it

unborn grotto
#

Done

raven forge
#

status to check its status, stop to stop and so on

unborn grotto
#

Ok

#

There, they popped up again.

raven forge
#

What do the bridge commands from earlier show now? You can also use systemctl enable/disable --now btw to also start/stop it

unborn grotto
#

I see another bridge labeled BR0. And the one that previously had labeled virbr0 They both don't have interfaces.

#

I'm suspecting that's the issue

#

Because in the KVM earlier, it couldn't resolve the IP

#

That's weird though because I thought I assigned them to the main network interface

#

Wait now networking is off?

#

And now I can't re-enable networking.

#

Okay, I just logged back in and it says I am connected to auto ethernet

#

I'll try getting the bridge to work now

#

Virtual machine connection details say that it is forwarding to virbr0 so I'm assuming that isn't set up correctly because it's forwarding to Nat on there

frank perch
#

but you want bridging not NAT

unborn grotto
#

I have a couple options. Nat, routed, open, isolated, and SR-IOV pool in virtual machine manager

#

Then it tells me what interface I would like to use. I'm going to use the main ethernet interface

#

Now I'm back to where I was before, I am looking at the virtual machine and I type the command. Ha Network info. I see the first section that says docker and it gives me an IP address starting with 172. Under that it says the interface is hassio it says host internet false, interfaces connected, true enabled, true interface ENP0S2 which is I think the one I want there's no IPv4 address gateway is no, there's no name servers and the method is set to auto

raven forge
#

Why not just share a screenshot?

dim quail
#

Hi all, I'm on Supervisor 2023.08.1 and trying to upgrade to current 8.4, however something goes south. The web-interface never comes back up on port 8123. I can ping the 10.x.x.x/8 IP address just fine and I can reach the HA console directly. As my CLI kung-fu is no the strongest, any tips how to troubleshoot this? (Should be said I'm running it on a Hyper-V VM with one NIC configured as bridged to the local network with it's own address. Should be said it's been working fine so far. Also have a working pre-upgrade snapshot, so I'm not dead in the water per se, just can't upgrade) Any help appreciated - Thanks!!

frank perch
#

10.x.x.x/8 ? where'd you get that? Microsoft?

#

that's 16,777,214 usable IP addresses....

dim quail
#

That is a well known internal class-A network, like 192.168.0.x is a class C and 172.16.x.x is a B class. Point is it's a valid IP range and no, Microsoft has nothing to do with that 🙂

raven forge
#

Run network info in the VM's prompt. Also check supervisor logs

frank perch
humble mirage
#

Classful addressing is so '80s

frank perch
#

IKR

#

CIDR FTW

#

I guess they missed the point of the 'microsoft' joke also

#

sadge

dim quail
frank perch
#

well that escalated quickly

#

I'm curious now, I wonder how many others are using a larger than a /24 for a home network

low notch
#

everyone using docker does

frank perch
#

well that's on one host typically

low notch
#

what do you mean, people have more than 1 host?

frank perch
#

im talking about for the entire lan

humble mirage
#

Even /16 is excessive for a large smart home setup

frank perch
#

well, what do we know

#

we're useless

humble mirage
#

But, many folks are stuck with classful in the brain so would jump from /24 to /16 bypassing all the other options

frank perch
#

yup

#

I've setup corp networks that were only a /16

#

but I'm a jackass

humble mirage
#

/32 for point to point links is fun

frank perch
#

ummmmmm

#

if you hate the person just say that

#

/32 is one IP... I think you mean /30

humble mirage
#

Nope

frank perch
#

/31 is also 2 IP's

#

/32 would mean 0 network bits....

copper steppe
#

I use /24 for each of my (3) vlans, so that's ~768 addresses, which should be fine

#

And non-octet boundary subnets make my brain hurt :0

brittle sail
#

ur an octet

frank perch
#

you're a 1/4 octet cuz you're only 2bit

#

😛

versed vapor
#

I do use a /16 because numbers need to be ordered

lofty shale
#

So, problems with NFS storage and HaOS......

#

problem of HA being launched before the NFS mounts are ready

#

meaning that HA reports them as failed, and storage starts to fill up the local docker images

#

You can hit "Update" on the storage config to mount them manually after the reboot, but then you mount over a directory that's already been written to, and it gets ugly to clean it up

#

ie unmount it manually, copy stuff out, mount it manually, then copy stuff to the storage path

frank perch
#

i've not seen that happen at all with my mounts

#

can you share some logs?

#

ignore the message from this and use the link

humble scaffoldBOT
#

Sadly we're not mind readers (any more anyway, not after the last time we tried). Please share the YAML and any errors so we can see what you've done.

lofty shale
#

well, it doesn't hit homeassistant.log

frank perch
#

supervisor?

lofty shale
#

yeah - I'm not quite sure where to grab that from lol

#

is there a linky that shares that wisdom?

frank perch
lofty shale
#

Right now, the install is:

  OS Version:               Home Assistant OS 10.5
  Home Assistant Core:      2023.8.4
frank perch
#

depending on if you use SSL

#

beep bop

lofty shale
#

that's just homeassistant.log?

#

OH! I never noticed the dropdown menu at the top right hahahah

#

There's nothing in the supervisor log that mentions NFS at all

#

nothing in the host log either - but I wonder if I'd have to reboot it - like maybe its gone out of a log buffer?

frank perch
#

possible

lofty shale
#

Do you use IPv6 for NFS or IPv4?

#

I mean, I wonder if its a race condition between activating IPv6 and NFS

#

let me reboot the entire system and see if I get anything in the logs

#

oh, I can't paste the image of the failure lol

humble scaffoldBOT
#

@lofty shale I converted your message into a file since it's above 15 lines :+1:

lofty shale
#

I'm just trying it again with IPv4 addresses instead of IPv6 for the NFS target.......

#

Yep - it works fine with IPv4 NFS mounts - no errors

#

but with IPv6 NFS mounts, it fails - until you hit the Reload button on the error notification.

turbid skiff
#

Hi 👋
Trying to install Home Assistant on Ventura MacOS 13.4.1. I downloaded “haos_ova-10.5.vdi” and when I am trying to install it I see an error message saying “There is no application set to open the document “haos_ova-10.5.vdi”.” Can someone help please ?

manic bane
manic bane
turbid skiff
manic bane
turbid skiff
manic bane
#

Because you need virtualbox installed as a program. .vdi is a virtual box virtual drive

#

Its like downloading a .docx and wondering why it won't install word

turbid skiff
hexed flame
#

Hello everyone!!! Nobody tried to install on Mac OS M1?

tender wren
#

I think some have successfully set up a HAOS VM using UTM on Mac M1s

wooden willow
#

I'm having failures running container 2023.8.4 on aarch64. 2023.7 worked fine, but 2023.8.4 is in arestart loop much like: https://github.com/home-assistant/core/issues/86589 ```/hass$ podman exec -it homeassistant /bin/bash
odroidc2:~$
odroidc2:~$ python
Python 3.11.4 (main, Jul 23 2023, 12:40:43) [GCC 12.2.1 20220924] on linux
Type "help", "copyright", "credits" or "license" for more information.

import jwt
Bus error
odroidc2:~$ ```

#

I've just rolled back to .7, but it smells bad 😐

warm wasp
#

Addons are missing from a fresh docker install, how do I fix this?

empty veldt
frank perch
#

ok so a /23

#

still not a /8 lol

empty veldt
#

no /8 just for localhost 🤫

frank perch
#

you install your own containers and get the same thing

#

all addons are, are docker containers 😉

lofty shale
#

So where do I report the bug that IPv6 NFS shares don't mount properly at HaOS startup, but IPv4 ones do?

warm wasp
frank perch
#

that would be github

lofty shale
frank perch
#

tbh not sure exactly what that is an issue with, I think it might be supervisor

#

perhaps someone smarter than me could chime in

lofty shale
frank perch
#

that's where it links to at the bottom

lofty shale
#

but also:

Supervised system is not really maintained right now, also the mounts feature is more an OS feature as on supervised, you can do it at your own

frank perch
#

are you running HAOS?

lofty shale
#

yeah

frank perch
#

then that's not to do with you

#

that's for supervised installs, that person is on debian 12

#

I did also read that post 😉

lofty shale
#

righteo 🙂

#

its just a bit hard sometimes on what's kind of an applicance device to know what slots where

frank perch
#

it's ok

#

we all start somewhere

lofty shale
#

There's no error messages in any of the logs to be useful, so hopefully the explanation is pretty straight forward.

#

one thing I found strange - there seems to be no builtin thing to restart the nginx addon when the LetsEncrypt addon updates the cert

#

so I built a dodgy NodeRed automation lol

#

Loads the old cert into a string, starts the LetsEncrypt addon, waits 1 minute, then reads the cert into a string, if they differ, restart the nginx addon lol

frank perch
#

If it works it works imo

#

Lol

lofty shale
#

Yeah - I would have thought that the LE addon would have a way to restart the nginx addon if it updates the cert, but nope lol

warm wasp
#

I have synology nas, and I'm hosting homeassistant there via docker, any tutorials on how to connect it to my esp32?

brisk willow
#

What firmware is the esp32 running?

warm wasp
brisk willow
#

🤔

brittle sail
#

Does that firmware have a name?

warm wasp
#

v3.2.0.0 ESP32-WROOM-32-AT-V3.2.0.0

brittle sail
#

Bruh

#

What are you trying to do, where did you buy it, what integration are you trying to use?

#

People flash all kinds of firmware like wled, esphome, etc to an esp32. What you’ve quoted means absolutely nothing

warm wasp
#

I'm just trying to connect it to my home assistant

brittle sail
#

Bluetooth proxy?

#

We can help you real gud if you give us information to help you with

warm wasp
#

I want to configure it to connect to my wifi, so i can connect it to my home assistant docker

brittle sail
#

😢

brittle sail
#

Stuff and thangz

warm wasp
#

I want to do automations, once a trigger is called it should push some voltage to a desiared pin etc

brisk willow
#

You'll want to flash a firmware like ESPHome or Tasmota then

warm wasp
#

I'm following up there, I'll update on how it's going

#

thanks

chilly vault
humble scaffoldBOT
#

Hass.io was the old name for the appliance like install option, that uses Docker. It was renamed in January 2020 and is now called Home Assistant OS.

chilly vault
#

ow yes i mean home assistant

#

i have this installed on my raspi, but my rf 433 not

warm wasp
# warm wasp I'm following up there, I'll update on how it's going

So I've installed and it's working well, but when I try to connect to my home-assistant I get:
Can't connect to ESP. Please make sure your YAML file contains an 'api:' line.
I need to edit the .ymal but I don't know how since I can't connect in the first place...

brittle sail
warm wasp
#

(I'm using docker, not the supervised)

brittle sail
#

then install the esphome container or just use the webflasher instead

#

mstone linked it above

versed vapor
#

Wasn't there an option to keep history data for longer than 30 days

brittle sail
#

30 days? default is 10

versed vapor
#

Oh I see

#

Does it sound reasonable to set this to two years

tender wren
#

No

raven forge
#

If you want granular long-term stats for your entities you should use something like VictoriaMetrics/InfluxDB and Grafana

tender wren
#

For long term history a database like InfluxDB is designed for

versed vapor
#

uh how would i do this

brittle sail
versed vapor
#

like is there a ha built in feature to just do it for me or do i need to extract that data on my own

raven forge
humble scaffoldBOT
versed vapor
#

👍 aight will look at

#

having that long term data is kinda important to me

thick dirge
#

How can I change my Host Name from the cli? I've got a 2nd instance of HA on an old laptop that only has wifi, no ethernet, and I don't know how to enable that wifi adapter yet from HA, but I do want to make sure my production HA does not get confused when i do get this 2nd instance online.

tender wren
thick dirge
#

I've ordered a usb to lan adapter, as I like to run it wired anyway, but is it possible to activate the wifi?

tender wren
#

But I'm not sure, if those setting survive a reboot. Never tried it myself

#

But when you get access to the UI with this method, you can go to Settings - System - Network and set the Wifi stuff there. That should be persistent

thick dirge
#

You're a walking almanac 🙂

tender wren
#

Just good in finding stuff 🤣

thick dirge
tender wren
#

It's really local now 😆

thick dirge
#

The instructions to activate wifi from cli are perfect. Thank you!