#installation-archived

74689 messages Β· Page 95 of 75

abstract hearthBOT
#

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

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

humble mirage
#

Don't post walls of text/code into the channel, use one of those

golden zephyr
#

It's DNS issue, my virtual machine network bridge isn't setup properly.

#

Jep, working fine. Had local DNS pi-hole and it was blocking some things.
Thanks!

placid sage
#

hola a todos se acaba de incorporar el torpe de turno gracias por vuestra pacienciaπŸ˜†

hardy forum
#

Anyone have a clean solution for the "home assistant not a file for dictionary value" when trying to install http in config?

#

I see that you can drop the SSL cerfs into the config file, but then you are breaking auto update

grand pivot
#

I'm not clear on what you're talking about. Adding an http: section should be fine, as is putting certs in your config dir

hardy forum
#

when trying to setup DuckDNS I am working through the section where you need the setup HA to pick up the SSL Certs

grand pivot
#

Ok

hardy forum
#

http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem

grand pivot
#

Fine

hardy forum
#

when checking the file this is the error provuided

#

Invalid config for [http]: not a file for dictionary value @ data['http']['ssl_certificate']. Got '/ssl/fullchain.pem'
not a file for dictionary value @ data['http']['ssl_key']. Got '/ssl/privkey.pem'. (See /config/configuration.yaml, line 20).

grand pivot
#

Looks like you have no certs in the /ssl directory

hardy forum
#

right, lol

grand pivot
#

This is related to the addon, not installation

#

Review the addon log and see what happened

hardy forum
#

alright will do thanks

night meteor
#

Trying to figure out why my 1yr old (lots of devices - 100+) VM is almost entirely out of space. When I do a df -h I see this

#

can'tseem to attach a jpg

#

it seems /etc/pulse/client.conf is 84gb

abstract hearthBOT
#

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.

night meteor
humble mirage
#

I'd check:

  1. The size of the logfile
  2. The size of the database
  3. For any corrupt database files
  4. For lots of backups
night meteor
#

I have cleaned out backups so it is not that

#

Log file is 4gb

crude inlet
#

that's a big log. when was the last restart of HA?

#

is it set to debug?

night meteor
#

plenty of time yesterdays

#

log is 1081490311

#

v2.db is 4128440320

#

When I connect via samba I see a "corrupt" database file that I can't delete with samba but can't see with ssh

#
  • how would I check debug and should reboot empty the log?
humble mirage
#

When you're in the config folder, do an ls -al and you'll see everything

#

Restarting HA will start a fresh log, and rename the current one

#

You can then manually delete the old one, how called .log.1

crude inlet
#

and the corrupt one

#

or one(s)

night meteor
#

ls -al does not seem to reveal any files that could be 84gb

crude inlet
#

it doesn't have to be one file

night meteor
#

but it has to be inside \config?

#

(even though the screenshot above showed something about pulse?)

crude inlet
#

no it could be in /share or /backups etc

night meteor
#

there are 2 backups that total 20gb but thats not enough

crude inlet
#

each one is 10GB?

night meteor
#

I also can't seem to figure out how to check the influxdb size

#

that's what I would assume is the culprit

crude inlet
#

what are you backing up to make a single 10GB backup?

night meteor
#

(no one is 14gb one is 4.8gb)

#

I have no idea unless its over a year's worth of influxdb history

#

but I don't know how to check that size or compact it (I've tried a few guides but didn't make progress)

crude inlet
#

run an ha su repair just in case there are unused images. it's a docker prune basically

#

and ls -hal to get MB

night meteor
#

that didn't make much of a diff

crude inlet
#

share a screenshot of ls -hal in /config

night meteor
#

this is in my config

#
  db_url: mysql://homeassistant:REDACTED:-)@core-mariadb/homeassistant?charset=utf8mb4
  purge_keep_days: 5
  
influxdb:
  host: a0d7b954-influxdb
  port: 8086
  database: homeassistant
  username: homeassistant
  password: NOPENOPE
  max_retries: 3
  default_measurement: state
    ```
crude inlet
#

so the home-assistant_v2.db is a stale DB from May. When did you switch to mariadb?

night meteor
#

over a year ago

crude inlet
#

you can just delete the 3.8GB file

#

it isn't being used then

#

that's a cleanup you could have done after the switch to maria

night meteor
#

is it may 2021

crude inlet
#

doesn't matter if mariadb is being used. whenever it was

night meteor
#

ok thx

#

@crude inlet thanks for your help with this by the way πŸ™‚

crude inlet
#

so the current mariadb may be large. it would not appear in config

#

go to settings > system > system health and scroll down to the "recorder" section

night meteor
#

maybe but mariadb shouldn't be too large, as it only should be keeping 5days right?

crude inlet
#

it should show mysql is being used, and the size

night meteor
#
Oldest Run Start Time    July 12, 2022 at 10:42 PM
Current Run Start Time    July 18, 2022 at 12:15 AM
Estimated Database Size (MiB)    6727.14 MiB
Database Engine    mysql
Database Version    10.6.8```
crude inlet
#

we can't assume. it should, yes. but we are looking for large files

#

so about 7GB there

night meteor
#

yeah but that's not the 60 - 70 missing

#

is 7gb way too big?

#

I guess that might be what's inside the 14gb backups

crude inlet
#

on a pi yeah. on a vm, not necessarily

night meteor
#

this is an ESXI machine

#

outgrew the pi a while back which is why i started using influxdb after the switch

crude inlet
#

on a pi, compressing and decompressing these would take longer than anyone should wait

night meteor
#

maybe its worth mentioning I have nearly 100 devices reporting data on 10s teleperiods

#

so it would surprise me more to find this is a config/behavior issue than to figure out I need to somewhere purge a few months (or year) out of the long term db

#

oooh

#

I did find that influx db is set retention to infinity

#

maybe should change to 6mo and reboot it ?

crude inlet
#

i don't know how to check the size of influxdb but that should be reflected in the backup. You don't have 90GB backups, so

night meteor
#

well i did find that article that said the influxdb can be compressed up to 90%

#

so maybe the backups are just storing it compressed and its 8(ish) gb

#

this doesn't seem to be freeing up any space

meager sparrow
#

By mistake I also set the same gateway when I changed IP, at the moment I can't get to HA (RPI 4b HASSOS), is there any way?
Unfortunately, I don't have an HDMI > HDMI mini cable at the moment

night meteor
#

you set the wrong gateway?

meager sparrow
#

yeah, IP and gateway same

night meteor
#

or IP and gateway same

crude inlet
#

doh

#

yeah, the way involves connecting directly

#

so something you don't have

night meteor
#

I think you're gonna need to see it local

#

you won't be able to get packets to/from it

crude inlet
#

or you could try keyboarding it blindly

night meteor
#

@crude inlet true

#

@meager sparrow what's the status of your install, do you have a recent backup on another device

meager sparrow
#

I don't really have a complete backup.

night meteor
#

this probably wouldn't work, but did you happen to have samba enabled?

grand pivot
#

Have or have not, there is "don't really" πŸ™‚

humble mirage
meager sparrow
#

I'd probably put the backups together, but for now I'm figuring out how to get to HA at all. Before I commit to recovery. So far the easiest is an HDMI cable, which I don't have at the moment.)

night meteor
#

it's a pi (so its one of those annoying mini/micro ones?)

meager sparrow
#

mini hdmi

night meteor
#

ugh drives me crazy

meager sparrow
#

rpi4n

night meteor
#

what if you took the sd card out

#

and replaced the conf file with correct ip

#

might not be doable as you wouldn't have a running docker is my first thought why that wouldn't work

meager sparrow
#

This only shows me the hass-boot partition where there is no data structure

crude inlet
#

you could drop a new network config file on the SD

meager sparrow
#

you think to the hass-boot partition:

#

?

crude inlet
#

create a /CONFIG/network/ directory there

#

in the network directory create a file with the contents of the default config in the link

#

name it my-network with no extension. It actually shouldn't matter what you call it

#

but no extension

meager sparrow
#

ok, i will try it

night meteor
#

I'm still at a loss on my space size.

#

up and down, can't find a single file/folder using 70gb

meager sparrow
#

@crude inlet Perfect! UI available.. Thanks πŸ‘

night meteor
#

right on

crude inlet
#

could be some temp file

grand pivot
crude inlet
#

@grand pivot yeah

#

@night meteor open the vm terminal and enter login

night meteor
#

at #

#

did you mean df -ha

heavy talon
#

I am currently running Home Assistant Core on a RPI. Is there a way to upgrade to Home Assistant OS without re-formating my SD?

night meteor
#

the backup and restore process is surprisingly easy, you probably should just go that route

#

you could even make your new vm/setup and restore the backup as a test before wipping whatever is your current storage medium

#

(just don't have them both running at the same time as to reallly test the new one it will need to have the same IP as the old one had)

heavy talon
#

Nice! Do you mabye have a link to a guide?

crude inlet
#

@night meteor sorry, walked away. yeah try cd /mnt/data/supervisor/tmp

#

see if there is anything large there

night meteor
#

ls

grand pivot
#

<empty directory>

night meteor
#

ok directory had a bunch of stuff in it

#

now removed, I gained about 14gb

#

still searching for 50ish gigs

grand pivot
#

I always start at / , do du -s -h *, and drill down from there

night meteor
#

if i drill down and run that again will it look inside my current place

#

or is it going to always show the top level?

#

nm tried it πŸ˜‰

#

I can trash 4GB log files in \logs yes?

#

docker\overlay2 lot of descent sized folders, 11GB total - leave alone? (I have already run the command that cleans up docker images not in use)

#

ok influxdb is 12.9gb, mariadb (we knew sort of) is 9.6gb

#

db's are using 24GB, backups are using 20gb, docker is using 11gb

#

deleted 20gb of backups, one of the 4gb log files, and all temp files. Currently 60gb free of 100, so I'm down to a 40gb install that I (thanks to @grand pivot and @crude inlet ) was able to drill down to.

#

not sure if I should be worried about the 9gb MariaDB or the 11gbDocker folder or 11gb influxdb file, but I think maybe those are fine now that I found the garbage. I'm currently making a new full backup as a test to see how big it is compared to the 14gb backups yesterday

#

I'm tempted to turn mariaDB down to 3 or 4 days, and wipe the influxdb and start a fresh one

ripe gazelle
#

Can anyone help me out I just did a fresh install on a rp4 with a 240gb ssd but when I went to install some addons it told me there's not enough space. Under system health it says my disk total is 3.9gb. I previously had home assistant installed and running but I decided to start fresh.

gloomy void
night meteor
#

@gloomy void thanks that is a great idea. did you start with appliance versions or just made a fresh vm? I'm running esxi so I would probably avoid using docker if I don't have to - I'm not against docker its just that my VMs are already compartmentalized.

reef hamlet
#

I seem to have messed up my server running HA. I'm going to reset it and start again from a new install.

#

Would there be any advantages choosing Windows or Ubuntu or a different option? (Only one im not considering is raspberry Pi) I have a dedicated PC for this

wide wind
jaunty onyx
#

could someone help me install ssl certificates for ha?

humble mirage
#

You're running Container (native Docker)?

jaunty onyx
#

the nginx reverse proxy allows me to access ha from browser but stops my companion app from loging in

#

yep docker version

humble mirage
#

The proxy shouldn't block that if you have working remote access to the UI

#

However, if you want to ditch NGINX and do SSL directly in HA then you can

#
  1. Copy the SSL certificate and key somewhere sensible, in this case make it /config/ssl
jaunty onyx
#

i wouldn t mind either i just want my companion app to be connected to my server when i m outside

humble mirage
#
  1. Add
http:
  ssl_certificate: /config/ssl/fullchain.pem
  ssl_key: /config/ssl/privkey.pem
#

Then...

abstract hearthBOT
#

Always run the configuration check command when you make changes. Don't trust the UI check - it misses some problems.

jaunty onyx
#

i have a privatekey1.pem fullchain.pem chain1.pem and cert1.pem

humble mirage
#

You need the first two

jaunty onyx
#

ok

#

hmm if i created the ssl folder in the mounted folder i should have it inside the docker as well right?

#

cause i get a config not valid

#

entered the docker and they re there

#

ok there was some typo

#

and after i have this i should be able to use the companion app?

#

@humble mirage i get this page isn t working now :)))

humble mirage
#

Excellent

jaunty onyx
#

idk why the ssl certificates did that but it s not good

humble mirage
#

Well, now you have to use https:// to access HA

jaunty onyx
#

every time? like even in my home network?

#

oh okok it worked now

#

got scared for a second :))

#

lemme check companion app

#

ok so now on my phone i get the HA hostname certificate mismatch

#

when i try to log in with internal url

humble mirage
#

Well, duh

jaunty onyx
humble mirage
#

Which isn't a valid URL

#

Now you're doing SSL in HA you get to use the hostname to connect all the time

jaunty onyx
#

oh ok so internal url should be the same as external

#

i still get unable to connect to home assistant

humble mirage
#

When?

jaunty onyx
#

when i open the app

#

it asks me to login

#

and then i get te can t connect

humble mirage
#

When you're not on the WiFi, or when you're at home on the WiFi?

#

Try both

jaunty onyx
#

ok i m off the wifi i get unable to connect.

#

i m pressing refresh external url but it still doesn t connect

humble mirage
#

Did you update the port forwarding to bypass NGINX?

jaunty onyx
#

ummm..no?

humble mirage
#

Then, just how the fuck did you expect it to work?

jaunty onyx
#

wait what. so i d need to open my home assistant port entirely?

humble mirage
#

Well, you said you wanted remote access

#

And you said you don't want to use NGINX

#

So...

#

You may want to consider paying for the Nabu Casa service

jaunty onyx
#

i didn t say i don t want nginx i said i just couldn t connect to the phone app

#

and the computer browsers worked just fine

humble mirage
#

Well, either you're not doing SSL in HA and using NGINX (doing SSL there) or you're doing SSL in HA and not using NGINX

#

Pick one

#

If the first then you have to invest some time in troubleshooting, and not randomly trying stuff

jaunty onyx
#

well i want to use nginx

humble mirage
#

Then don't do SSL in HA

jaunty onyx
#

i tried doing troubleshooting.

#

i looked at all forums that discussed that app problem. nothing worked

#

and i came here to askhow i install the ssl certificates on my phone cause that was one of the solutions

humble mirage
#

Well, that's not going to solve anything

#

Whatever "solution" that was, wasn't an actual solution

#

Or, if it was, it was a solution to something completely different

jaunty onyx
#

i guess so..

humble mirage
#

I use NGINX, I do SSL there, I use the companion app.

jaunty onyx
#

and when you log in into the app it doesn t redirect you to a browser?

humble mirage
#

I don't use it for remote access to the UI, just the sensors, but even when I did have the UI enabled it worked fine

jaunty onyx
#

i don t necessarily need the ui as well. i basically need it for the sensors. if i need the ui i can toggle tailscale on

#

but i want the location sensors to be able to work full time

humble mirage
#

I set up the app while at home, using the Local URI, zero issues

jaunty onyx
#

should i just delete the app and install it again?

humble mirage
jaunty onyx
#

i don t really understand what that external_auth=1 means and i can t seem to find any info on that

#

i m trying to reinstall now

#

yep now it won t work on my internal url either

#

it prompts me to the browser instantly when i click the app

#

and it s forcing it on https

#

even tho i comented the ssl stuff in config.yaml

high token
#

so what have you inserted in the URL in the mobile_app settings?

jaunty onyx
#

also when i reinstalled i didn t need to do any setup for the server it already had it

jaunty onyx
high token
#

If you are not logged in it should give you a pop up saying it can't connect and offer a settings button

#

alongside refresh and wait

#

also slightly confused. Are you now trying with NGINX or with full SSL?

jaunty onyx
#

with nginx

#

i commented the ssl lines in config

high token
#

is that the addon?

jaunty onyx
#

nope nginx proxy manager in a separate docker container

high token
#

right

jaunty onyx
high token
#

so what do you have under http: in configuration.yaml at the moment?

jaunty onyx
#
  use_x_forwarded_for: true
 # ssl_certificate: /config/ssl/fullchain1.pem
 # ssl_key: /config/ssl/privkey1.pem
  trusted_proxies:
    - 172.18.0.10
    - 172.30.33.5
    - 127.0.0.1
  ip_ban_enabled: true
  login_attempts_threshold: 5```
high token
#

are all three IPs necessary?

jaunty onyx
#

first and last i m pretty sure they are

#

middle one idk it was the example ip for the proxy server

high token
#

does local IP over http work in your computer?

jaunty onyx
#

yep

#

doesn t work in the app anymore tho

high token
#

not there yet though

#

so your internal IP works that's one thing

#

but you said your external domain was http too??

#

typo or actually is http?

jaunty onyx
#

yeah it s http, it goes through cloudflare which forces it to https

#

or at least i have that option enagled

#

int he browser it says secure connection

high token
#

then you should be using https:// in the first place

jaunty onyx
#

oh wait i think i can ttry something

#

i wanted to but i get error 502 from nginx if i use https

high token
#

you have something like this here?

jaunty onyx
#

exactly like that

high token
#

and at least Force SSL under the SSL tab

jaunty onyx
#

yep

#

and http/2 support

high token
#

ok and in terms of port forwarding?

jaunty onyx
#

forwarded port 80 and 443

high token
#

443 to 443

#

you said you're using cloudflare no?

jaunty onyx
#

yep

high token
#

shouldn't nee 80 then probably

#

but anyway the rest looks fine

#

I have the same also with cloudflare

#

with https//

#

and http is forced into https://

#

but I ean https:// directly works too

#

so your issue is just the app then

jaunty onyx
#

exactly

#

it can t connect but the exposed site works just fine

high token
#

I take it it works on the browser on mobile?

jaunty onyx
#

yepp

high token
#

what address did you add to the mobile app?

jaunty onyx
#

nope nvm it doesnm t work anymore in mobile browser

high token
#

try with your mobile data

jaunty onyx
#

With mobile data i tried

brazen herald
#

Do you mean localhost?

jaunty onyx
brazen herald
#

A local IP address isn't sensitive data. If someone is on your network they already have it πŸ˜‰

jaunty onyx
#

When i try to use http on the phone it redirects to https for some reason

#

Yeah localhost

brazen herald
#

That'll be your network setup.

jaunty onyx
#

Wdym

#

On the phone?

#

I tried on duckduck go and i can login on http

high token
#

depending on your setup http should either not work or be redirected to https

#

if it's working on http it's not good

#

in terms of domain

#

not itnenal IP

jaunty onyx
#

Oh yeah after i logged in it gets transfered to https

high token
#

the page should be https before that even

#

not aftter login

jaunty onyx
#

Maybe it was and i didn t catch it idk

#

I meant the nginx login not the ha one

high token
#

nginx is different. That should anyway not be exposed in the first place

jaunty onyx
#

Yeah i wasn t planning on exposing it

#

On the app now i get the refresh external url prompt i press it but it just does it all over again

#

Nothing happening

#

If i disable prioritize internal url

#

It redirectd me to that external_auth=1 link

#

It s clear that it can t do some authentication

#

Or something

#

But i can t figure out what and why

jaunty onyx
#

Is there anything else i could try?

#

I guess there s opening the 8123 port on my router. How can i ensure that is secure enough? Can i have it open and still go through nginx

humble mirage
#

The port you use is irrelevant

#

Forwarding 8123 to NGINX instead of/as well as 443 isn't likely to change anything

jaunty onyx
#

Oh yeah actually

#

If it works on computer browser it s not a problem with the forwarding

#

I could re enable ssl on home assistant and that s it

#

1 login and 1 2fa maybe would be good enough

high token
#

if you have a domain in Cloudflare maybe you can have a look at the Cloudflared addon

jaunty onyx
#

How would that help exactly?

#

I can t put addons cause it s not haos

high token
#

So you'd have a tunnel instead. No port forwarding no nothing but I forgot you don't have addons

hoary knot
#

Is it possible to use the secrets file for recorder: db_url ?

jaunty onyx
#

Or a tunel is not something i need to always have turned on on my phome?

#

Cause the main issue for me is that if i have tailscale always open my phone battery drains too fast

high token
#

I'm not familiar with tailscale so I can't comment on that

#

Personally I have Wireguard

#

and in the past I just had it set up as a split tunnel

#

normal internet goes through my phone and only IPs in the range of my home network go through the tunnel

high token
hoary knot
jaunty onyx
#

And that tunel was on the phone like a vpn app that always had to be open?

high token
#

yes

#

didn't notice any significant drain

ripe gazelle
verbal badger
#

I have just installed Home Assistant on a Raspberry Pi B+. I want to instal add-ons, but each time I try I get a message "'AddonManager.install' blocked from execution, no host internet connection". I have installed 3 times now - twice 64 bit, once 32 bit - with the same result. I see there is some very technical discussion about this online. But I would be very grateful if anyone can point me to an understandable solution or work-around. Many thanks.

wide wind
#

Does your pi has a working internet connection?

crude inlet
#

Is your installation up right now?

#

Go to Settings > System > Network in the UI

verbal badger
#

MiKe My Pi does have a working internet connection - via ethernet.

#

cogneato. My installation is up now. I have gone to the Network settings dialogue as you suggest. But what then?

crude inlet
#

@verbal badger expand IPv4

#

what DNS servers are shown there

#

you have a network connection, but the host is saying it does not have an internet connection

#

It can't reach out beyond your local network, or it can't resolve ips for that, most likely

verbal badger
#

It doesn't show any DNS info. It has a three way bullet choice of DHCP, Static and Disabled. Under eth0.

crude inlet
#

select static

verbal badger
#

It then shows the Pi's IP address on my home network, with /24 after it, and a Gateway and DNS server address which are the same and are the correct ones for my home hub.

crude inlet
#

try changing only the DNS to 9.9.9.9 and then save

#

then go to Settings > System > Hardware and use the 3 dots in the upper right corner to reboot host

#

@verbal badger

#

sorry, roaming around the house, so delays here

verbal badger
#

I too am moving around the house, so sorry for any delay in replying. I have tried what you suggested and restarted Home Assistant. Buut there is no improvement in the ability to use add-ons I am afraid. I get exactly the same message.

grand pivot
#

you need to reboot the host, not just restart HA

crude inlet
#

HA is just server software on the host. Restarting it does nothing for networking

verbal badger
#

Well I did a full reboot. Still the same. Exactly the same error message if I try to download an add-on.

brazen herald
#

If you connect to the terminal on the pi, and ping 1.1.1.1 and/or 8.8.8.8 does it get a response?

verbal badger
#

Rosemary, I don't think I know how to do that. The Pi is just running Home Assistant (ie Home Assistant OS), not a full LInux implementation. So I don't think I have access to a terminal on the Pi. But do let me know how I would do what you suggest without downloading add-ons.

brazen herald
#

You do have access. The best thing to do in your situation is connect a keyboard and monitor to the pi.

#

Usually I’d say β€œinstall the terminal add on”, but obviously you’ll struggle to do that.

analog compass
#

Any idea when 2022.7.6 will be released? Not sure where this should be asked as the #551864459891703809 has been archived.

humble mirage
#

Well, here is the right place as that channel was for the installation method called core

#

As with all releases though, it's when it's ready

chrome dome
#

Hi, im currently using a 32gb USB drive to run HA on a RPI4. Got some storrage issues so i whent to get a new 128GB usb drive.
When i flash it and run it the HA starts up, i sign in and uploading last backup. Ive been waiting now for around an hour for it to get back up as on the 32GB but nothing happens. i can see the IP adress on my switch but cant connect to it.

#

Now its up`n running again. It took just sooo long to run the backup!

glossy field
#

Hi all! I'm trying to install HAOS onto an Intel NUC with a PCI drive that I can't attach to my desktop to write to. I'm using a live version of Ubuntu 22.04 LTS. I'm trying to install balenaEtcher per the install guide on HA website but getting the error "Unable to locate package balenaEtcher-1.7.9-x64.AppImage" as well as "Couldn't find any package by glob 'balenaEtcher-1.7.9-x64.AppImage"

Is there an alternative to balenaEtcher that I might be able to use or a workaround someone knows about?

Thanks!!

gloomy void
#

But I did make a fresh VM for docker!

crude inlet
#

@glossy field you don't need etcher. You can use the disk utility in Ubuntu to write the image

quartz anvil
#

hmm ill try running ha supervisor repair

quartz anvil
#

repair failed
but i can ping google

glossy lodge
#

Hi, I just installed HA on Ubuntu via the WSL, after I finished all steps as per the guide on the website I tried to update Python to 3.9 it asked me for a password, but I didn't make a password during the installation.

echo nova
#

I am running home assistant in docker, and auto discover is not working, i readed that setting the network from bridge to host would fix it, but i did that, but now i cant access home assistant for some reason

#

oh wait, now i have to access it using 8123 instead of the one i set before

#

stupid me, that is why it is called host xd

sleek geyser
#

Strange issue - after a power outage yesterday, my pi (running haos) is no longer accessible on my network. The companion can SEE a device at a 172.17.0.1:8123 (which I think is a docker network address?) but it's inaccessible. Rebooting has not resolved. I'm expecting a 192.168.0.* address on my local network. Any ideas?

sleek geyser
#

Ok bizarre - DHCP on IPv4 was disabled... :S

stone sluice
#

Good morning all, I am having trouble with an existing install of the .ova virtual machine on Synology VMM. Specifically I cannot mount my Silicon Labs HUBZ usb stick from the VMM menu. The device is grayed out. This was working as recently as earlier this week. A failed update led to reverting to a prior snapshot, and now I cannot remount the usb device in the virtual machine. Any pointers would be appreciated

wet geyser
#

I just want to verify. There isn't a way to use add-ons if you install with docker, correct?

high token
#

You'd run the equivalent yourself as a container

#

addons are anyway containers themselves. just adjusted to be able to communicate with Supervisor

#

preferably you also want to use docker-compose for your containers if not already

#

do you have specific addons in mind you want to run?

wet geyser
#

I haven't installed anything yet. My current set up is Linux on Ubuntu. I have portainer up running a few other things.

brazen herald
#

docker-compose is awesome, and highly recommended

wet geyser
#

I'm mainly looking at grocey add on and just an all around house manager.

#

To include cams and ring security.

#

I was thinking I would need to install a VM. But if can just add on to my portainer, that would be amazing.

high token
#

If you can install a VM you might as well install HAOS instead

wet geyser
#

Yeah, that's what I figured I would need to do.

high token
#

docker-compose and containers in general have a learning curve but once you get used to it it's nothing too diffuct

#

I personally never liked portainer

wet geyser
#

Any ELI5 videos?

high token
#

why did you go with Ubuntu? Or already using Linux normally?

wet geyser
#

I had a friend initially set it up for me. I just add to it.

#

It was recommended. I'm learning Linux ATM and it was a good start. I'm a very basic user.

#

I really just use it to host things. Vtt, book library, nextcloud. Stuff like that.

high token
#

If you do want to learn I'd stay like this instead

#

I was just asking in terms of why not run HAOS directly on the machine sort of thing

#

but HAOS is mainly point and click for things

wet geyser
#

Gotcha, yeah, I just use that machine for other stuff. Not just home assistant.

#

I thought about getting a pi for it, but that's an extra machine to manage.

high token
#

way more reliable this way

crude inlet
#

They are almost always available containers first, add-ons second

#

Anything you want is probably available as a container by the linuxserver group

wet geyser
#

Oh wow.. is it still able to be integrated with home assistant that way?

crude inlet
#

Integrations and add-ons are separate things.

#

If there's an integration for something, it usually doesn't matter where that thing is running.

wet geyser
#

And grocey has an integration I'm assuming?

#

That's the main thing I'm wanting. Along with getting rid of all my smart home apps and consolidating into one.

crude inlet
#

I don't think there is one for grocy

wet geyser
#

Ok. So back to the VM with an os. Lol

crude inlet
#

Ah there is, but a custom integration

#

No grocy is a server. It is unrelated to home assistant

#

The same way Plex is a server

wet geyser
#

So even with the add on, it would still technically be separate?

crude inlet
#

Correct.

wet geyser
#

So, just to make sure. Add ons are really just programs that you can install on the Os?

crude inlet
#

Add-ons are containers.

#

And yes they are programs that are not home assistant

wet geyser
#

Ok. Gotta rethink some stuff, but will make it easier.

crude inlet
#

HA OS is basically a Docker installation which you don't manage yourself

wet geyser
#

Gotcha. Easy enough.

high token
#

Home Assistant is also a container itself

#

all those containers are managed by Supervisor and all those live under the OS in HAOS

#

in your case you have your own OS where you run and manage those containers yourself

thorn quest
#

Hello, this is the first time using discord in general and I home that I do it wright. I have installed homeassistant os an Raspberry Pi 4. Then I followed the instruction to install RaspberryMatic. But when I tried to add a custom repo there is no input field to add.

humble mirage
#

What instructions?

humble mirage
#

Which step are you stuck at

thorn quest
#

'Homematic(IP) Local' Integration Setup - Step 2-3

#

I would like to upload a picture in this chat but I do not know how

humble mirage
#

Add 'custom_homematic' as a repository

#

?

abstract hearthBOT
#

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.

crude inlet
#

Go to addons, blue button in lower right corner, 3 dots in upper right corner

humble mirage
#

Well, I don't think they're at that point yet

thorn quest
#

yes I can go to

crude inlet
#

that's not the repo to add

thorn quest
#

right! Now I have opened imgur like you wrote and this is the image like in the guide

#

as you can see there is no field to add a url and also the button is greyed out

crude inlet
#

HACs is not the add-on store

#

HACs is for integrations

#

Add-on store is for addons

thorn quest
#

ok, I think I understand. Any recommendations to get RaspberryMatic installed in HMOS

#

i mean HAOS - sorry

crude inlet
#

In HA go to settings > Add-ons

#

Click on "Add-on Store" in the lower right corner

#

Then click on the 3 dots in the upper right corner

#

Click on Repositories

thorn quest
#

ok Repository is added

#

when I look at the next steps of the guide there should be a new section in addons but there isn't

thorn quest
#

ok, after reboot it is available and I could install. In the description of this addon you can read:

After the RaspberryMatic CCU add-on has been correctly installed and your RaspberryMatic CCU WebUI shows existing HomeMatic/homematicIP devices, you still have to install and setup the general "HomeMatic integration". Only this step will bring up/integrate your HomeMatic/homematicIP devices - which the RaspberryMatic CCU add-on shows - in the Home Assistant user interface, thus making them usable within the context of Home Assistant.

For this to happen, please follow the official RaspberryMatic documentation on the HomeAssistant integration.

and this is exactly the ponit I started to ask my question with the picture without input field

brave scarab
storm sluice
#

unsupported os?

brave scarab
#

yes

#

I'm using debian bullseye
I don't understand what

storm sluice
#

isnt it obvious? it only supports debian 11 but your running armbian

humble mirage
#

Supervised is:

  1. A trap
  2. Only supported on actual Debian
#

Oh, and:
3) A trap

brave scarab
humble mirage
#

It quite clearly says Armbian in the images you shared

#

Armbian != Debian

compact hull
atomic kayak
plucky path
#

is it possible to have two HA OS VMs running on the same host? using the same bridged network adapter?

glossy lodge
#

hi as I'm install HA core I get this ERROR: requests 2.26.0 has requirement charset-normalizer~=2.0.0; python_version >= "3", but you'll have charset-normalizer 2.1.0 which is incompatible.

unique tulip
#

Trying to use domain from Namecheap and cloudflare to access my HA online but I keep getting the 502 error

#

can someone help?

humble mirage
#

hi as I m install HA core I get this

placid sage
#

hello!

#

i need help abt network config

#

😦

abstract hearthBOT
#

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

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

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

Hi, i have a raspberry pi with virtual machines. I see the website does not has arm64 kvm images. So i installed docker. For using samsung smartthings google says i need an https connection. I tryed a https proxy from my apache2 webserver but it gives a error. That comes that the proxy is not whitelisted. For that i need to configure a file in docker.

How do i edit a file in the docker? Nano and vi(m) dont exisit.

humble mirage
#

You should have mapped the /config/ folder from the host to the Docker container

#

Did you?

gilded pewter
#

I did not come across such thing in the howto

humble mirage
#

It's in the official docs

#
docker run -d \
...
  -v /PATH_TO_YOUR_CONFIG:/config \
#
version: '3'
services:
  homeassistant:
    container_name: homeassistant
    image: "ghcr.io/home-assistant/home-assistant:stable"
    volumes:
      - /PATH_TO_YOUR_CONFIG:/config
gilded pewter
#

Oh. I never saw such a thing. I reinstall again.

#

Thanks

#

I forgot my password anyway

placid sage
#

ok... Hello! I installed oracle vm virtual box on macbook pro (intel). Then created vm with the hoass.vdi. I followed all instructions, in settings I set the bridge with my wlan... but cannot make it works the webserver I cannot connect in any way. via cli, i check the network info and i have no ipv4 setted

high token
#

Usually you cannot bridge a wireless connection

#

Try with an ethernet connection

placid sage
#

ok thks πŸ™‚

high token
#

If that works then it's actually the issue with wireless adapters If it also doesn't then something is wrong in the settings of the VM

flat sand
#

Hey all. Is there a way to schedule a home assistant core and OS update manually in a couple of hours? I'd like to run my updates overnight after reading the release notes, but I haven't found a way to do that with home assistant

humble mirage
#

Short answer, not built in, no

flat sand
#

Thanks, then I'll manually trigger them when I go to bed ^^

novel bolt
#

I have watched several YouTube videos on configuration.yaml and also on Templates, but I just don't understand either. Could anyone give me idiot-proof steps on both ? Where and how do I access configuration.yaml ? When I want to add an integration that requires configuration.yaml, do I copy paste and enter line by line ? Pretty much the same questions on Templates. I am not a programmerbut would love to expand my usage of Home Assistant.

novel bolt
#

Thanks Tinkerer (as always) but I do not find Studio Code Server anywhere and my simple mind does not understand how to use File Editor. Most of you are very experienced but I am not . If an integration needs configuration.yaml what are the exact steps to use in File Editor? I am so sorry to ask all these questions, but I am anxious to learn.

placid sage
#

Hey all, sadly after some troubleshooting was sent here from #general-archived im unable to connect to my HA config with samba share, using HA OS on VM on Mac, Samba Share installed and running, tried these adreses \192.168.x.y\config
://\192.168.x.y\config
smb://192.168.x.y/config
smb://192.168.x.y without any success. Trying to connect to it on mac through desktop, go, connect to server, and im using the ip that i see in my router for HA, tried the DuckDNS in the beginning but was told its not the right way πŸ™‚

humble mirage
cloud flint
#

Hi. A bit of a desperate question, which I am not sure where to ask. I have written a script with the (unofficial) pyscript integration which depends on the shapely library. This library requires the geos package to be installed in the os/container. I execute a bash script to install this on HA startup

#!/bin/sh
apk update
apk add --upgrade geos

This then works for HA 2022.6.7 running on HAOS 8.2 (running on an Odroid N2). But when I upgrade to HA 2022.7, shapely can no longer find the geos package. Python fails on importing shapely with the error:

2022-07-15 15:39:48 ERROR (MainThread) [custom_components.pyscript.apps.tester] Exception in </config/pyscript/apps/tester/__init__.py> line 4:
from shapely.geometry import Polygon
^
OSError: Error loading shared library libgeos-09470e6b.so.3.10.2: No such file or directory (needed by /usr/local/lib/python3.10/site-packages/Shapely.libs/libgeos_c-55ebde92.so.1.16.0)

I am at a completely loss, but I presume this is something to do with the python 3.10 update. Would anyone of you smart people have any ideas?

ionic rapids
#

hey guys i have installed ha os 8.2 on a raspberry pi 3 b following directions from the ha website but i dont seem to have supervisor nor configeration on the left panel am i missing something sorry im a complete noob

storm sluice
#

There should be Settings

#

everything is in there now

latent briar
#

I am trying install on a RPI zero or a pi 2. It starting install. I can see the installation screen but after port :8123 does not show anything. I did try different SD cards but nothing.

#

I did try WiFi and wired connections

humble mirage
#

Pi Zero is not supported for HAOS, and not recommended at all

#

A Pi2 is ... going to work, but sloooowly

#

What install method are you trying to use for the Pi2?

latent briar
#

It worked for months without any problem on a pi zero w

#

I flashed the image with balena

#

The pi stopped working one day with homeassistant. Other os working fine

#

It's my backup system πŸ˜‚

#

I did try also various Imageversion for the zero

#

Nothing works

#

Is it possible the pi try load files that not exist anymore?

humble mirage
#

Well, HAOS dropped support for the Zero a while ago

#

It's quite possible that the Docker images also dropped support

latent briar
#

Okay that would explain

humble mirage
#

It's never been recommended, and people have been warned off using it for years now

#

If you really want to use a Zero then I'd consider a pure Core install

#

But, honestly, that's a terrible idea, just don't

latent briar
#

It just need control one switch and one light

#

I don't have any other pi ATM

humble mirage
#

It's possible a pure Container install will work

latent briar
#

I will get a 4 soon but not very a available to a reasonable price

humble mirage
#

Eh, pretty much any second hand PC from the last decade will be better

latent briar
#

I start with raspi os?

humble mirage
#

If you want a pure Container or Core install, yes

latent briar
#

Too much power consumption. I live in Germany 😭

#

Okay thank you for suggestions

humble mirage
#

I run HA on an old i5 laptop, it draws about 10W at peak

#

That's about double what a Pi4 draws, for something that's much more capable

latent briar
#

Okay I will check once again

#

Thank you

humble mirage
placid furnace
#

thanks πŸ™‚

humble mirage
#

Supervised is very clearly not supported on Ubuntu

#

Yeah, somebody else who clearly felt that the requirements were optional reading...

#

Sure, you have four options, two good ones, and two bad ones

#

HAOS Check_mark
Container Check_mark
Core abkneonno
Supervised (in compliance with the requirements) RedAlert

#

Supervised is a trap, and you shouldn't use it

#

When you say extension, what term do you really mean?

#

Integration?

#

Add-on?

#

Something else?

#

Well, you don't need Supervised

#

Integrations are a feature of Home Assistant

#

Every install method has the same support for them

#

The only thing Supervised gives you is pain and suffering

#

If you need add-ons then run HAOS

#

Otherwise, Container all the way

#

You don't install it

#

You don't install any integration on the HA site

#

You just read the instructions right there

#

In this case it says:

To enable it, add the following to your configuration.yaml file:

tropic hill
#

Installing a docker instance on Debian. I'd like the config files to be somewhere accessible to myself and another system admin users. /usr/share/hass just as good of a place?

#

My supervisor instance is in /usr/share/hassio

humble mirage
#

Stick them wherever it suits, the great thing about Docker is that ultimately it doesn't matter

#

Mine live in /docker/homeassistant/

tropic hill
#

Thanks.

placid sage
#

First line is the problem, second one is beginning from file automations.yaml

placid sage
#

already looking for a while there, i know the problem is in me adding the second include inside the automations, like the subgroup, from all these dock pages i just cant get how to fix it

worldly wharf
#

So I'm running HA on a pi3b but it's been nonstop issues

Am I better off trying to get my hands on a pi4 and a USB SSD?
Or installing unraid on my second pc and running HA in a vm?

raw hedge
#

What issues

worldly wharf
#

random crashes (not a power issue)

Every update has issues - I let it run over an hour, if I try to restart or anything it doesn't take, so I have to power cycle the pi

after a power cycle most integrations don't come up, so then I need to restart from the front end

#

I've tried running off USB and off a brand new SD card -- both behave the same way
I've also done a reinstall from scratch without restore and even this fresh install is starting to go the way the last one did

humble mirage
placid sage
#

whats the right channel ?

humble mirage
placid sage
#

thanks.

humble mirage
void pier
#

I'm booting Hass.io from a 16GB USB device from a laptop but is constantly getting "failed to start Wait until kernel time synchronized. I've tested 2 versions and performed 3 USB formats now. Is it because the USB is too small?

humble mirage
#

32 GB is the minimum recommended size

void pier
#

Yea I think I read that somewhere. However, I just wanted to test the hardware from this USB which was successful at formatting. Do you still think that it might be too small?

raw hedge
#

Probably… smaller sizes are also usually slower as well

void pier
#

I see! I'll see if I can find an alternative disc

#

Thanks

winged ice
#

Hello there, I once configured HA. But I both forgot my username and password, is there a way to get them back or fully reinstall HA. Formatting and a fresh install does not seems to work.

humble mirage
#

You can find the username in /config/.storage/auth_provider.homeassistant - I'm not 100% sure of where /config/ is on the host though

void pier
#

I just got the startup to work by formatting an SSD with Hass.io instead

#

Is Wifi not recommended for Hass.io?

humble mirage
#

WiFi isn't recommended for servers

crude inlet
dawn path
#

Hello, could someone point me in the right direction. I have HA OS installed on a raspberry pi 4 but am migrating it to a micro pc. When I try to upload the restore to the new machine I receive an error message Upload failed 400 bad request. I also copied the backups files via samba but they do not show on the new machine. Any help would be greatly appreciated.

crude inlet
#

You copied the .tar files to /backup ?

dawn path
#

yes

crude inlet
#

Reload the backup page using the 3 dots in the upper right corner of that page

#

if they still don't appear, check the supervisor logs

dawn path
#

tried that too, I created a backup to make sure and it shows on the page and the /backup folder but nothing else

crude inlet
#

ok so what do the supervisor logs show?

#

Settings > System > Logs > upper right corner switch from HA core to Supervisor

#

normally it should show a line about how many backup files were found

dawn path
#

you know what it just showed up... I have been playing with it for the past 3 hours and finally they showed up. going to give it another go

#

not sure what it did or didnt do

#

thank you @crude inlet

crude inlet
#

well i didn't do anything from here, heh

reef hamlet
#

i need to reinstall my OS on spare computer. how do i wipe a linux

#

i should say ubuntu. the command i did gave an error

manic bane
reef hamlet
#

Yeah, I screwed up my previous install so I think I'm going to try HAOS rather than Ubuntu.
So for that, do I make a bootable drive...install. then format?
I only have one hard drive on this computer btw. @manic bane

proven spindle
#

hello, I am trying to install Home Assistant on my Macbook air. I am very new to all of this and pretty much don't know anything. I followed the instructions from this Youtube video https://www.youtube.com/watch?v=hej6ipN86ls, but when I go to run the UI using this command "hass β€”-open-ui" it doesn't work. Can anyone help me?

real escarp
#

I am trying to flash the os to a sd card but it keeps getting stuck at 10%

granite mortar
#

I am unable to boot from HAOS on my Intel PC i3 i have already written the image on the SSD but the efi boot manager never sees the boot partition always asking for disk media i have also tried to add the entry with eifbootmgr

#

Motherboard is Gigabyte H61MS

#

Also i tried 8.3 version gz on etcher is that the issue?

#

Any specific settings on my bios i need to do apart from enable uefi and disable secure boot

humble mirage
#

Did you unzip the image first?

#

.gz is a compressed file, you need to uncompress it

granite mortar
#

Do i need to do that?

humble mirage
#

Try it and see if that helps

#

I've no idea if your (or any) version of etcher handles compressed files sensibly

granite mortar
#

Any other way i should write on the disk since it seems etcher is not formatting the SSD properly

humble mirage
#

Then if you're using the URL it should work

granite mortar
#

I am gonna write 8.2 now to see if that works or not then report back

granite mortar
#

So I think there is issue in 8.3 since with 8.2 i am in home assistant cli now

humble mirage
#

Do open an issue please

kindred fox
#

Hey there can you help me out what takes all the space on my sd card? I am using rpi ha os and 32 gb sd card.

granite mortar
obsidian spoke
#

Hey guys, which version of hassio are you using with docker-compose?

#

linuxserver? or anything else?

humble mirage
#

Well, Hassio is the (long deprecated) name for an installation method that doesn't use Compose

#

So, the answer is none

#

The only supported Docker images though are the official ones, if you use the Linuxserver, or any other, images then you're on your own when stuff breaks

#

(and yes, people have had issues with stuff not working when they've used the Linuxserver images)

obsidian spoke
#

Ok what do you suggest of using?

humble mirage
#

The official images

obsidian spoke
#

im setting it up on a raspberry pi

humble mirage
#

Take your pick

#

HAOS if you want to dedicate it to HA
Container if you don't

obsidian spoke
#

any restrictions on that?

#

limittations?

humble mirage
#

What do you mean?

#

However you install HA you get the same functionality

#

The only thing that changes are how you install things that aren't HA - other software, like MQTT brokers, etc

obsidian spoke
#

What about the Addons section

#

is missing from the official one i think

humble mirage
#

Well, no

#

You only get add-ons with HAOS

#

Add-ons are just "other software", so if you're using native Docker you can install that other software in other ways

obsidian spoke
#

Ok so i can add them in the compose file

#

cool thanks

humble mirage
#

Yeah, worst case you need to spend a little time on Google to find the relevant image

kindred fox
#

I had a lot of back up. Deleted most of them. That freed up some space