#installation-archived
74689 messages Β· Page 92 of 75
Installation enden on shell
I have been using home assistant for quite a while at home. Now i want it at my cabin as well. I installer a fresh OS on a RPI 3 and got it set up with Nabu Casa Remote UI before i left. Now that im home, i can Access everything except addons and backups. They just show blank pages, not Even the menues or header. I have tried host reboot and restarts, but with no luck. Any clues on what might be wrong?
I have not yet done enything but the remote UI
Is their IP address hardcoded or similar?
It has to run on wifi (we only have a 4G router), but no the wifi is getting its address from DHCP
I mean, are the addons hard coded to use the IP address of what it had when you set it up at home?
Oh no, i set it up at the cabin, and i have never seen the addons Page at this instance
So no addons are installed yet
Its just a clean install. And the Settings -> Addons Page is blank
And you used the download from the home assistant website installing HAOS?
Yes, Balena Etcher with the URL for the 64bit version
Am i allowed to send imgur links here?
And does this work? https://my.home-assistant.io/redirect/supervisor_store/
Wut, it just started working now. Not because i clicked the link, because that opened my home hass, but still. It just works π€·
Could be shabby 4G coverage. But strange that everything else was snappy
Moved to #add-ons-archived
There may be #add-ons-archived for that, they'd know over there
If not, look for a cloudflared add-on
Hello! I had a big problem with the NabuCasa integration.... π« I Did install, but after that I've lost my local Acces IP option. After that I forgot on my Test period on Nabu casa expired. Then now I can not acces throw Nabu Casa and not Throw my Local IP. Does any one can help me? π€
You can always use the local IP
It doesn't allows me
The only time that it may appear not to work is if you're doing SSL directly in HA
If that's the case then you just need to use https:// to access it, instead of http://
Your problem has nothing to do with Nabu Casa 
If there is anything I can do for you someday just let me know!
Hahaha only with my head!
I was surprised to see that the official home assistant docker image doesn't contain the hass-cli utility. Is that a deliberate decision or just that nobody has had a desire to add it?
Why would you need it inside the container?
I was thinking about restoring a snapshot
and taking snapshots on a regular basis... I'm guessing there's probably a better way?
Well, Git's not great for backup, for the reasons above
Beyond that, how you do backups depends on how you installed HA. You have different choices if you're using Container vs HAOS for instance
That makes sense. Is there a common practice for folks using the Container?
Most folks simply add it to their existing backup solution
urbackup, rsnapshot, rclone, duplicati, etc etc etc
Is there a solution for cron-like triggers of backups?
Depends on what backup solution you're using
There's no generic answer to that, because they're all different
rsnapshot and rclone for instance are command line, so typically run from cron itself
URBackup has a full UI, so it's handled internally
anyone else unable to run the ghcr.io/home-assistant/home-assistant container and successfully map a different PUID and PGID so the container doesn't run as root?
docker run -d -e PUID=1000 -e PGID=999
bash-5.1# whoami
root
it doesn't appear to be honoring my explicit call outs.
There's no support for that in the official Docker image - it runs as root because some integrations require that
Is it normal for Supervisor to create so many config files in NetworkManager?
festivus@tongs:/etc/NetworkManager/system-connections$ ls -la
total 32
drwxr-xr-x 2 root root 4096 Jun 27 13:28 .
drwxr-xr-x 7 root root 4096 Jun 27 2022 ..
-rw------- 1 root root 531 Jun 27 13:28 'Supervisor eth0-35e190b0-b198-43f5-9ec5-c6540ad574eb.nmconnection'
-rw------- 1 root root 531 Jun 27 13:28 'Supervisor eth0-3addf5b4-f07d-4193-8d50-ba16f7e095bd.nmconnection'
-rw------- 1 root root 531 Jun 27 13:28 'Supervisor eth0-63014238-5698-4b65-91e3-04525231ca66.nmconnection'
-rw------- 1 root root 633 Jun 27 13:20 'Supervisor eth0-e7cb43ef-1526-4601-92ea-08b944c04bc8.nmconnection'
-rw------- 1 root root 531 Jun 27 13:22 'Supervisor eth0.nmconnection'
-rw-r--r-- 1 root root 181 Nov 3 2021 default
HA is having issues resolving names on my home network. Im trying to work out why the NetworkManager config is being clobbered by HA.
festivus@tongs:/etc/NetworkManager/system-connections$ nmcli con sho
NAME UUID TYPE DEVICE
Supervisor eth0 63014238-5698-4b65-91e3-04525231ca66 ethernet eth0
Supervisor eth0 6a5906e6-3eec-4cfb-a77a-56dc1e92453f ethernet --
Supervisor eth0 35e190b0-b198-43f5-9ec5-c6540ad574eb ethernet --
Supervisor eth0 3addf5b4-f07d-4193-8d50-ba16f7e095bd ethernet --
Supervisor eth0 e7cb43ef-1526-4601-92ea-08b944c04bc8 ethernet --
In an effort to try and triage/fix the behaviour, I shutdown HA and Docker. Configured NetworkManager to my desired state. Had it all working nicely.
Restart HA and Docker. Supervisor comes along and puts these files in the system-connections path. Name resolution breaks.
At least thats what it looks like is happening.
@frozen creek posted a code wall, it is moved here --> https://hastebin.com/vuniqejayu
lol
@frozen creek [Rule #6](#rules message): Please do not post codewalls (text longer than 15 lines) - use sites such as https://dpaste.org/ (pick YAML for the language), https://www.codepile.net/ (pick YAML for the language), or https://paste.debian.net/ (pick YAML for the language).
Please take the time now to review all of the rules and references in #rules.
noted
Looks similar to this https://github.com/home-assistant/supervisor/issues/3591
Check the version (number) of the Supervisor you're on
You should be on
"supervisor": "2022.05.3",
``` according to <https://version.home-assistant.io/stable.json>
Not sure what's changed. Things appear to have returned to normal operation.
Its possible also that an update re-enabled systemd-resolve as well. I had to disable it again.
First time trying this. Flashed the image onto a 512GB card, but cannot access the homepage over the network.
What can I try?
i can't even see a new device on my network to get an ip address. I assume the flash didn't work correctly.
Can you hook up a keyboard and monitor?
Check it for what?
Just to see it has the installation on it?
It's hard to diagnose a stopped system, unless you're really at home with Linux
You'll need to power cycle it - HAOS doesn't use the display if it's not connected on powerup
Already tried that. Nothing.
If there's nothing at all it sounds like a bad flash
Or a bad SD card, or a bad power supply
I tried a different power supply. Nothing. I'm flashing it again now.
Do I need to do any prep to the SD card?
No
Reflashing hasn't worked either.
You're using Flash from URL or are you downloading an image?
Try downloading the package first. It's pretty big
Package is about 220mb? Tried it. Not working.
I really don't know what else to try.
It's 264mb, not 220
Ok. The file I have is 257,843KB. It's still not working unfortunately.
Have you tried a smaller SD card?
Sorry. I think I have it working now. I have a screen that says "Preparing Home Assistant" I think initially it was a LAN point problem, then my Onkyo receiver couldn't pick up the HDMI signal.
Thank you sir.
In the HA UI I see this:
df -h gives this output:
Filesystem Size Used Avail Use% Mounted on
overlay 98G 89G 5.3G 95% /
tmpfs 8.3G 0 8.3G 0% /sys/fs/cgroup
/dev/sda8 98G 89G 5.3G 95% /ssl
devtmpfs 8.3G 0 8.3G 0% /dev
tmpfs 8.3G 0 8.3G 0% /dev/shm
tmpfs 8.3G 0 8.3G 0% /proc/asound
tmpfs 8.3G 0 8.3G 0% /proc/acpi
tmpfs 8.3G 0 8.3G 0% /proc/scsi
tmpfs 8.3G 0 8.3G 0% /sys/firmware
And du -sh * shows that /backup is by far the largest directory:
β / du -sh * | sort -h
...
4.0K home
4.0K init
4.0K lib64
...
14G backup
Where is the rest? The data that is filling up 60% of the drive?
From overlay it looks like you're running that from inside a Docker container
I am...
Then it won't have visibility of everything else
I guess the rest of the data is outside the HA container?
That'd be the logical conclusion
But how can I see/investigate what is eating my storage?
How? I can only seem to get access to the HA CLI...
At the console, type login
It used to tell you this when you connected, but they removed that for some reason
I can think why... π
As if too many people screwed up their system... that'd never happen
My fu*** tmp dir is 47.9GB!??
Shouldnt that be cleared when restarting the supervisor or rebooting the host?
Hi everyone, I'm just getting started with HA and already running into a problem. The server is not showing up on the network. Running RPi 4B. Connected wired over ethernet to my network. I don't seem to be able to upload a photo here but What should the HA screen look like when booted and running properly?
Well, there's no local UI
If you had a keyboard and monitor connected when you powered on the Pi you'll have a local text console
I have a monitor connected and I can connect a keyboard
They have to be connected when you apply power to the Pi
I can do that too
I just don't know how to tell if the HA OS is running properly.
It said something failed on startup but it disappeared so quickly I didn't see what it was
It said something failed on startup but it disappeared so quickly I didn't see what it was
Where did you see that?
If you mean the console then ... you have HAOS itself working
When starting it up
HA itself is another container, and starts after HAOS boots
Yeah this is the problem. I don't understand any of these terms you're using. I feel like I have to be a network engineer to get this thing working and I'm about to just say fuck it and throw it in the garbage.
HAOS ... the operating system
HA, Home Assistant, the software that does the magic
Container... Docker is used by HAOS, everything runs in a Container
What's Docker?
Console, the physical keyboard and monitor connected to the computer
Here , try this:
http://letmegooglethat.com/?q=What+is+Docker
^ okay, I think that's my sign. Bye.
This is stupid, I wish people would stop saying bullshit like "its easy!"
Wasted my time and money trying to get this thing running.
Well, nothing new is easy unless you already have all the required knowledge
There are things that are "easy" for a normal person to run.
People who aren't software engineers
Sure, you can buy one of those in a store, and you'll regret it
Wink, Insteon, etc
I regret this more because I can't even get it to work
At least those things will work
Well, if you apply a little patience I'm sure people can help you
@placid sage I get this can be frustrating. A lot of effort has been put into making it easy.
How did you try to find HA on your network? Are you sure it is not showing up?
Patience isn't the issue, I just don't want to/need to dedicate the number of hours just to get this thing up and running, much less keeping it running or adding automations or whatever.
I typed the address into the browser and searched for it using the iOS app.
And your installation, flashed to a SD I presume? Inserted into the RPi, plugged in ethernet and power? Then how long did you wait before typing in the address?
I've waited days LOL. Yes, flashed to SD, ethernet and power plugged in.
Days?? π
Literally days
OK... I'd recommend try once more, from scratch. You'd expect to wait no more than 30 minutes after initially plugging in power to the PI before the initial setup screen becomes available
I got this screen that says "Home assistant" at the top in ASCII and green text "ha >". Is that what it's supposed to look like when booted?
Yeah, that is a good sign! π
Does it say an IP adress a little further down the screen?
yeah http://homeassistant.local:8123 and another that says 4357
OK. Further up, line 4 or something below the HomeAssistant headline there is a line starting with IPv4. What address does it have there?
"IPv4 addresses for eth0:" and its blank
That is the problem then...
It does not get an IP address from your router
Check the connections
I've checked the connections, swapped around cables, removed the network switch, etc.
Anything I need to do with the router?
No, I cannot imageine anything being wrong there... If connecting anything else on the same port you do get an IP address right?
Have you restarted the Pi after checking the connections?
Restarted 24340809x
π
I've been trying to figure this out for about a week
The lights on the eth port and the switch are lit up
Have you tried another network cable?
All my other devices show up on the network fine
Not 100% sure abouth this, but I beleive that HAOS needs to have internet connection the first time you power it up after flashing the SD card. At this point it downloads and installs HA for you automatically... Not sure what state the system is left in if it does not have a connection on the first boot.
It should get an IP regardless, it needs that for the Internet connection
So I have to reflash it again?
The lack of an IP points to a problem with the cable, the port (on either end), or the DHCP server on the network
Whats a DHCP
Your router handles that typically
It hands out IP addresses, DNS servers, and stuff like that
oh
You'd know if it was broken
Best to verify that you actually can get an IP address, but after that I'd do another flash just to be sure...
It's also worth flashing Raspberry Pi OS to the card, to rule out issues with the card and the cable
Any issues with Google WiFi router?
Shouldn't be
The switch/whatever you connected the Pi to, that's got other devices connected to it that are working?
yep. I've also removed all other devices and still nothing
This should absolutely have no effect, though... If you're connecting to a switch, try connecting directly to the router or use a cable to one of the devices you now is working..
well I think "should" has gone out the window here. It "should" connect to the network and be working but it's not so I'm just doing everything I can think to do.
Did you try a known good network cable in a known good switch port?
yes.
It's a brand new switch and I've moved all the cables around to all the different ports
My Google router only has 2 ports, so I can only connect 1 to the modem and the other to my PC, that's why I have the switch.
Alright, I've dedicated enough of my life to this, I'm out. Thanks for the help.
Hmmm... Waiting for days for a computer to start properly but not willing to invest 1 hour to troubleshoot network issues... π€·ββοΈ
Question when i run
docker-compose pull
it pulls all the images in my docker-compose file HA,mosquitto,Z2M and my minecraft server.
so it pulls the latest/stable releace of the images.
it never pulls Z2M but when i run
docker-compose up -d"
it says:
misquitto - up to date
Z2M rebuilding```
even do there was no image update ?
and i can run the docker-compose up -d it will always rebuild the Z2M container
https://paste.debian.net/1245394/ these are the compose settings just like the others
but it will never say the container is up to date
As I said, I've invested many many hours at this point. And would likely invest many more in the future. Not worth it. Just going to buy something that I can plug in and it works without writing images and ipv4 port forwarding and DHCP issues. I just don't have time to learn a new career just so I can automate my home.
Well, until you identify the cause of the problem it's quite likely that the next thing you plug in there will also fail to work
It says "waiting for supervisor to startup..." does that mean something?
Do you yet have an IP showing next to eth0?
no
Then you still need to work out where your problem lies.
You've tried it in the same port and using the same cable as something else that worked? You've tried another device in that port, with that cable?
I've tried a dozen cables and I've tried bypassing the switch entirely.
I called someone much smarter than me and got it working. Had to set the IP address manually.
Why do I do this to myself?
I'm guessing your network is messed up.
why can't we use HAOS using WSL2 in windows 11?
@latent thistle why can't you?
it mentions core installation only
You could mess with that
It's not an official installation type, and you can see what issues have come up
And they WILL come up..... π
it is experimental... my main HAOS is on rpi4
that is windows 10, wsl2 on windows 11 is better isn't it
Experimental is always good when problems arise. Sucks when it happens in a production system.
https://www.youtube.com/watch?v=GFw3J3Jbuas this was my first interaction with Homeassistant I think
Yeah thats the worst
Hey guys! I just got the Home Assistant Bundle from Ameridroid and plugged it in, I can't seem to access port 8123, but I could access the observer at 4357 which shows everything as Connected, Supported and Healthy.
Is there any trick I can try or should I reflash the eMMC?
@honest granite connecting keyboard and monitor would be the first thing to try
flashing is probably not needed
I ended up reflashing, seeing as this was a fresh install I ended up just going that route
It's working now!
just installed home assistnat macOS, scaning servers but none is found - solution?
Did you just install the app?
Because you need to install Home Assistant itself
@placid sage βοΈ
yes, just the app
so what is the point of app / just better UI?
It provides a bunch of sensors and stuff, but #ios_and_mac-archived could tell you about it better than I can
Virtual machine
any well known instruciton guidelines?
You mean other than the official docs?
The official docs
They're linked from the channel topic, at the top of the window
ty
do tuya curtain/shade switches work on home app through homeassistant?
probably question for integration :/
hey @humble mirage is there any difference between all of the docker images out there? only one is officially supported, correct?

Am I the only person that knows the answer to that question @opaque sinew
Is that why you pinged me to demand my attention?
I'm gonna guess from the silence that the answer was no @opaque sinew?
you seem to know most of the details here and give most of the best answers.
You can - and should - just ask the question, rather than tagging people to demand attention
Shockingly, there's a few thousand other folks here who can help you
The answer to your question though is simple, only the Docker images HA creates are official and supported. Nothing else is
thank you for the eventual answer and public flogging.
I tend to find it helps people remember to be politer in the future 
what would be the easiest method to move the whole Homeassistant installation from one disk to another ?
Could i just install Homeassistant on the new disk and restore a full backup ?
Yup
π good news
well thanks for the confirmation, now i know its worth the fiddeling
has anyone managed to install HAOS on an original ASUS Tinker Board (not S)?
im having a hell of a time getting it to go past 'Preparing HA' screen
nevermind, culprit was a shitty SD card
anyone got any tips on troubleshooting why I can't get HA web ui to come up
What does ha core logs show?
i did an update at one point and its been causing problems since
the logs don't let me scroll up, so I got a bunch of time outs for my cameras
|more should work, but if there's logs then HA is at least doing something
yea im not finding any problems with supervisor :/
ok i found the problem
my nginx reverse proxy is down :/
and the day is saved, woo
Probably didn't realize it pinged you. I didn't until someone pointed it out. Hopefully I've figured out how NOT to do it as well....
You did, though explicitly @ing somebody is clearly going to ping them... I mean, that's obvious? Or an I hoping for a bit much from a supposedly technical community?
Many people getting into HA aren't very technical when the first get started. They come from other platforms like Vera where everything is pretty much GUI driven and simple. They learn as they go on the technical stuff. As for Discord, when I first started using it, I probably pinged you WAY more than you should have tolerated...
hi there, long time not seen. As everything was running smooth.
Hope the question is correct here:
Running Hasssio - and Im not able to update anymore.
Home Assistant Supervisor 8.1 needs to be updated to 8.2
HomeAssistant core core-2022.6.5 needs to be updated to core-2022.6.7
Somehow its triggering the update but reverts back
Where can I look up, whats going wrong? Guess its the supervisor log, but not sure how to set the log-level in the cli
What are you trying to update? Try watching the logs as you install the update and see what it says
trying to update supervisor and core
getting the message: Get "http://supervisor/supervisor/logs": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
while updating
And last message in the log was:
Fetch OTA update from https://github.com/home-assistant/operating-system/releases/download/8.2/haos_rpi4-8.2.raucb
You can only update one at a time
Im not updating both but it seems that something is happening after fetching and the system gets rolled back so I dont see anything additional in the logs
OK got an Error: 22-06-28 20:04:00 ERROR (MainThread) [supervisor.os.manager] Can't fetch OTA update from https://github.com/home-assistant/operating-system/releases/download/8.2/haos_rpi4-8.2.raucb: Response payload is not completed
What could this cause?
It clearly causes the update to not install. Itβs failing to download. Check your network
how can I check? if I go in cli I can ping
is there a way to increase the log level to get more information?
I see ther is a global flag --log-level. But I dont know how to apply this in a command
ha super --log-level debug
does not work
if i wanna update core i get this error:
22-06-28 20:35:21 ERROR (SyncWorker_1) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/raspberrypi4-homeassistant:2022.6.7: 404 Client Error for http+docker://localhost/v1.41/images/ghcr.io/home-assistant/raspberrypi4-homeassistant:2022.6.7/json: Not Found ("no such image: ghcr.io/home-assistant/raspberrypi4-homeassistant:2022.6.7: No such image: ghcr.io/home-assistant/raspberrypi4-homeassistant:2022.6.7")
404 Error for docker usually is a result of one of these things:
-
The image tag you are trying to use does not exist (if this is the case you will see the word 'manifest' in the error)
-
There is not enough space left on the device to download the new container.
so ... my haos has frozen again ... while doing nothing :(
OOM, 5th time in a month... and with 4Gb of ram.
Is there a way to avoid this ? like memory limit on the different container ? or maybe not freeze but restart so user action isn't needed ?
I really like haos idea to let my mother safely deal with it daily ... but it's feel less stable that i imagined
Bad SD card, bad power supply, overheating
'Feeezing' is almost always a hardware problem
Why?
it's a nuc, no issue with power cooling, and the ssd check out
Could well be an #add-ons-archived
Seems that you've just jumped to that conclusion
could be, i only use official one but i haven't find a way to graph there memory usage over time.
Obviously everything is ok when i start it.
oh no, it's written on the terminal, OOM Killer made a massacre :)
i'll read about it
cool addon, for now i only use 30% of ram, i'll configure influxdb to save it and have some info after it crash
I only have a few addons to give me access to the HA VM/container, and I use less than 1GB
I use 1.1G but influx take 600mb by himself, homeassistant only use 450mb
and i have a winner !
addon_a0d7b954_vscode
280.4 CPU%
2.56G MEM
2.46G RSS
It's apparently known for being a hog
i could buy another 4GB stick, but 280%CPU ... nothing i can do there
i'll use my usual vscode with sshfs addon. just need to figure out ssh on haos
I would have thought that 4GB would be enough and it would take much less CPU, so I wonder if you have some rogue extensions
but I'm happy with my native install + SSHFS
this is the result for only the vscode extention
and the install is what ... 1.5 month old
the only missing thing with sshfs is search
i was hopping to get that back
search for what?
the left side bar search in file
it doesn't download all file to search on them, nor do push a grep command over ssh
so i can't find all reference of an entity in all my automation file for exemple
ok. I just do a grep/find from the command line for such things, but I'm generally more of a command line guy
i got use to IDE very early in life, so i use shell for everything outside of "dev"
but i can manage :) better that than a freezing device
i will look for open bug on it tho, they look to push auto-restart a lot on the haos project, and i'm surprise the device just hanged
I just installed and started the VSCode addon and it looks managable:
addon_a0d7b954_vscode running 0.3 223M
wait for it XD
damn can't send a picture
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.
I suppose there could be a leak. It's been quite a while since I used the addon
what look weird to me is the perfectely flat section
scratch that, it was swaping from here on out
It happened to me once too, same intel nuc, 8th gen. Upgraded from 4 to 8gb and for now I'm fine. Don't know the root cause tho
I do have tho a relatively slow ssd. And I think influxdb + grafana brought it to the limit
Im still stucked with the update, but found an additional hint in the log now:
https://www.toptal.com/developers/hastebin/furusavacu.yaml
unfortunately Im not sure what is going wrong.
After the failed update the system seems to be reverted.
Any Idea where I could look at to make the supervisor update happening?
Hi all, hope this is the correct place to ask this⦠I have an install of Home Assistant in VirtualBox, I want to do some experimental changes, so am trying to make a clone that I can change without upsetting my working version, however when I create a clone, full clone, using the wizard, upon starting the clone I get a shell command appear. Any ideas as to what I could be doing wrong⦠thanks in advance
Solved - www.community.home-assistant.io/t/hassio-virtual-box-backups/168716/19
Scroll down to answer by Allistah dec 20
Hey, i'm trying to install this integration but it keeps failing, could someone shed a light?
https://www.home-assistant.io/integrations/integration/
Error occurred loading configuration flow for integration integration: No module named 'homeassistant.components.integration.config_flow'
Is that not already installed with the base install?
just in the process of updating HA which should include that
π€ says that it has been part of HA since v0.87, weird that it wouldn't be there.
Hey guys. Wondering if hosting HA and Pihole+Unbound DNS on same Rpi 4 with 8 gigs would be good idea. Any thoughts? Thanks a lot.
I have HA + AdGuard + Kodi all on one RPi4 with 8G and it seems fine - runs at 40C sometimes.
None of that really requires a lot of CPU, so you should be good.
Got you, thanks!
Hello! Can i ask here? Trying to install supervised assistant into docker on orangepi 3 lts bullseye. Have landingpage container error: unable to exec run. Maybe it is /init limitation. Is it any way to solve this? Or installing superviser in docker to manage python environment assistant is a preferable possible way?
Is it Debian bullseye or simply based on Debian?
Because Supervised is only supported on Debian itself, as explained in the docs
debian bullseye from official orange pi page
Is that modified for orange pi? Because it wouldn't be supported then.
You mean i need to install clean debian image?
The only way Supervised is supported is if you're using actual Debian, from Debian's own repositories
Supervised also requires a lot from you, to ensure you manage and maintain the OS 100% correctly - fully complying with the requirements. It's all to easy to break your system.
IMO you're better off just using native Docker, no add-ons or Supervisor, or buying hardware that can run HAOS
Thx man. Got it. I have good working hass on venv, I will explore it first and maybe try to install clean debian later.. or buy hardware π
I'm currently running in a virtualenv, how much of a pain is it to migrate to docker? Host is an x86 server running Ubuntu 20.04
Not a pain at all
TL/DR: Install HA Container, point it at your existing config folder
based on that description I'm gonna guess still running legacy zwave is a problem
and what about my zigbee db?
Well, legacy Z-Wave has been dead for a while
If you haven't already upgraded to Z-Wave JS, do it before you migrate
Zigbee should be fine
oh, so the "config" dir actually contains everything that would normally live under ~/.homeassistant, not just handwritten YAML
I think that's what was confusing me
Yeah, I was thinking it would only contain configuration.yaml and anything you wanted to !include, not the logs and zigbee db and etc
I am using PI 3 B, I want to migrate to ssd. Is there any page I can refer the clone and boot from ssd
Process
either flash HAOS on the SSD and see if it boots then restore a backup
or keep the SD card for the OS and move HA to the SSD through the UI
I decided to try HA this evening and downloaded the VirtualBox image per the instructions for a Windows host installation. However, upon starting the VM, it goes into an endless boot loop with the option to select Slot A or Slot B. I followed the directions exactly, but can't seem to get it to work. Any known workarounds?
Do people generally use the new built in backup functionality, or other tooling that lets you do a wider backup (e.g. of other things on the host)
There's no built in restore option unless you're on HAOS (or Supervised), so I'd expect most Container/Core folks use something else
Or they haven't realised
The built in backup is super simple and I like it, but I have other containers with state that I want to keep safe too (mqtt, z2mqtt etc.)
I've not realized because I've never tried to restore
But it's just an archive that you can extract I would assume π€·
Either way, it suits HA fine but for the rest I am wondering how I should do this. I used to not need to worry as the storage was all from a NAS but I've moved to local SSD now and so I need to work out how to go about something on the device to keep it safe
Duplicati/Urbackup/rsnapshot/rclone/etc etc etc
I am new to this on linux, I'll have a poke around
hello everyone, i am running into some issues starting home assistant on the RPi 3 b+, i have flashed the correct image, triple checked its the right one ,confirmed the files show up on the drive, still nothing happens when i turn on the RPi, it has a red light, nothing else. i tried two different sd cards to confirm it wasnt that. still nothing happens
any ideas on how to fix the issue is greatly appreciated
If you connect a keyboard and monitor do you see anything when you power it up?
i dont have a keyboard i can connect, but when i connect a monitor it shows a black screen, ill see if i can find a keyboard and give it a try
Black screen usually means either a power issue (but in that case the red LED should be blinking) or that the SD card isn't bootable
should the Card be in FAT or FAT32
Doesn't matter, when you write the image to it anything on it is erased
oh ok
ok i was able to find a keyboard to hook up through usb, and a mouse. same thing, solid red light. 2 green flashes then nothing.
@weary jolt this is absolutely a pi3?
it says pi model b+ v1.2, the guy who sent me it said it was a 3
That sounds more like original
Yeah that's probably not a 3
It's a pretty paper weight
well that solves that issue. thank you
Getting stuck on Grub bootloader on a fresh Virtual box install. Pulled a fresh image from the setup instruction page. Any thoughts? Googled for an hour but can't seem to find anything that works.
I have issues with my bluetooth dongle on my Odroid N2+. I see this log event in the HA Host log:
Bluetooth: hci0: unexpected event for opcode 0x0000
When I try to run bluetoothctl it's finding the bluetooth dongle, but he finds no devices.
I'm running HAOS
What does the hci0 event meaning?
@placid sage I saw you had the same issues, did you already found the solution?
ive had the HA under docker under a vm for a bit but i lose a lot of features and nice to haves so i was thinking on setting the HAOS on my proxmox. the vm was only for HA so... makes sense. Followed several guides to make it work on proxmox but i always get issues using the qcow image they provide. the issues: https://ibb.co/QrT9VMX ideas??
Hi guys, this is my first time with trying to set up a home assistant and a first time trying a zigbee dongle, but i'm running into some issues that I cannot understand nor diagnose. Would here be the best place to ask? I've googled and searched the forum, but no luck
Depends on the issue, #zigbee-archived may be the better place, but we won't know until you explain
Thanks, i think Zigbee will be a better place! I'm restarting from scratch/reflashing again, to check if i missed some steps - I'll come back if needed.
is there a checksum file to validate the hassio downloads?
I've been running HA as a UnRaid VM for a few months and its been working great, till today, I rebooted it and it stopped connecting to the network, any ideas what I can do, when running network info is says under interfaces that connected and enabled are both false π
Hello. I recently installed homeassistant using docker but am having trouble getting my Zooz Zwave USB stick recognized. Is this a supported setup?
Assuming you followed the HA "install container" docs, that should be fine. https://www.home-assistant.io/installation/linux#install-home-assistant-container
The Zooz S2 is explicitly listed as supported: https://www.home-assistant.io/docs/z-wave/controllers/#supported-z-wave-usb-sticks--hardware-modules
My home assistant instance on raspberry pi 3 hangs every three hours and I have to restart host. How to troubleshoot this isssue. I have enabled supervisor
HA fonctionne bien depuis un mois. ... jusqu'Γ la coupure de la box 4 Orange.
J'Γ©tais en train de modifier un fichier yaml... L'adresse IP a changΓ© = 192.168.1.xy (ald 192.168.1.xx), mais depuis ne j'arrive plus a dΓ©marrΓ© HA. Que dois-je faire ?
English please
En anglais s'il vous plait
π sorry
HA has been working well for more than month. ...until the routeur Box 4 Orange shut down yesterday.
I was editing a yaml file...
The rpi3_HA IP address switched to 192.168.1.30 (from 192.168.1.20), but since then I can't start HA anymore.
unable to connect to Home Assistant retrying....
On my router (livebox 4 / reseau / dhcp / Baux DHCP statiques) I found homeassistant 192.168.1.30 ;
then I added it as a static IP address.
After reboot rpi3, I am still unable to start HA via 192.168.1.30:8123
Did you install the SSH add-on?
yes but I can't anymore open HA
I go through duck dns; is there something to change ?
or better can I go back and reuse the old ip = 192.168.1.20 ? How ?
192.168.1.20 is still available; the address has not yet been taken by another device or computer
what is the best option ?
You can't connect using the LAN IP and port at all?
Even using https://192.168.1.30:8123/?
(the https:// is important)
sorry I cannot get the page ; using http:// I got message "not secured..."
I've done that as well as pass /dev/ttyUSB0. I don't see any way to add it to homeassistant.
https
what does mean /dev/ttyUSB0 ?
what does mean "You can't connect using the LAN IP and port at all?"
I have standard installation, not docker
Zwave stick. Or ZigBee.
Mangix's posts have nothing to do with your problem
If you look, you'll see he's using the Reply feature π
You have to pass it through in the container definition, when you run the docker command, write your compose file, or however you've done it
#zwave-archived is probably the best place to get help with that TBH
Connect a keyboard and monitor, power cycle the PI
OK i can do ; 1 minute please; what do you mean "power cycle the RPI ?"
Remove the power, wait 30 seconds, connect it again
Donβt these SBCs come with a serial interface?
You're assuming that HAOS would use it
I am ready
Ok, when it boots you'll have a console, and one of the things it shows is the LAN IP
Ok, so one of
https://192.168.1.30:8123
http://192.168.1.30:8123
``` should work
Does port 4357 work?
what should I do
http://192.168.1.30:4357
ok connected sup^ported healthy
8 orange colour lines then 8 white lines repeated
i can take a picture if you need ?
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.
it looks complicated..... how can I get a picture from the other sreen connected on RPI ???
I can write.... what would you find in the log ?
ended unfinished session from....
Take a photo with your phone?
You should remove that π
what should i remove ?
how works imgur ?
You upload images to it, and share the resulting URL
Or use any other image hosting site you know how to use
the 4 last lines can help you to diagnose ?
It gives part of the problem
the others 3 lines are telling thatcustom integration kocal tuya has not been tested ; this component could might cause stabilty problem
is the picture ok ? do you need otherthing ?
Did you type ha core log to see that?
yes
Can you get a picture that doesn't have text cut off at the bottom?
Also, if you type
login
ping 192.168.1.1
does that ping your router (I'm assuming your router is .1 - change the IP if it's not)
Well, that's good, I'd follow the advice that's on the screen
π
How do I find what is taking up space? I just got an alert that I have less than 1GB space. I have HA running in VM with a 60GB hard drive. Not sure how to find what is taking up space and to clear it up. I only have 2 back ups one partial and one full. The full is only 423.6 MB
Pass by serial instead, to make sure the right thing is always showing up. Then reboot after changing your config and that might magically fix it.
hi there. ive installed home assistant supervised on ubuntu 2110 and am unable to access the webui (i am using the correct IP and have set a static ip in the dhcp settings of adfguard) dont iknow why it wont load. any iodea?
That's not a supported install. Supervised is only supported on stock Debian
@frosty sandal try ha su repair in the ssh addon terminal
thanks, knocked it down to 68% used but that still seems like a lot
Will I receive your advices to fix the problem ? I am complitely unable to solve the issue myself. Thanks
Did you do what the log tells you to do?
Or are you still ignore that?
Excuse me, At this time I did not try anything. I am totaly unable to make anything. I cannot open HA, and I cannot read what is in HA using code. I really nead your help
@unborn mantle https://192.168.1.30:8123 in your browser
Hi all, is there a way to setup HA with no internet? I have a RPI and a router. Do I need to do anything to the router for this to work?
This is going to a location with no internet
not using the HA OS installation method
What other way would I need to do this?
you can use HA without Internet access, you just can't install/set it up without it. So, install/setup HA with net access and then move it
If you want to add a new integration you'll almost certainly need working Internet access too
The first one, click through the warning
It's been working all along, and you didn't tell us
I told you but I could not send pictures, sorry
You didn't say that it was working and you were getting a warning
That's the universal warning you get when the URL and the certificate don't match
All you had to do was click the button
excuse me, I must leave, bye
Great. Is there a reason why you need internet for the initial setup?
or any documentation you can point me to for me to read into
So that the Python packages can be downloaded and installed
Also, if you're using any install that uses Docker, to download the Docker images
It'll run fine without Internet (except for any integrations that use a cloud service), but any install or update will need it again
It doesn't make sense to package and distribute all the packages that HA depends on, so they're installed from PyPI
Or wheels
There's about 840 packages that a native install of HA could use, and countless more that any custom component could add
my Home Assistant VM locked up around 2:16 PM today, I forced it down and booted back up
The logs I can find in the gui and from ha su logs & ha core logs seem to be from boot, is there a place I can grab lastboot? Best I've found is a youtube video that might be saying "Not with the original log config"
@bleak path the home-assistant.log.1 file in your config directory is from the previous run of HA
thanks! nothing conclusive in that
it has to have something to do with something I turn on when on vacation, it dies every single time I'm on vacation
I am really sorry, I was able do connect https://imgur.com/a/nljpkDU
Now you can fix your port forwarding, and ensure that the DHCP lease never changes again
- Set a fixed DHCP lease so the IP never changes again
- Update the port forward in your router so you can use the hostname again
On your router, update the port forwarding to use the new IP
https://imgur.com/a/8YWWGQA normaly it should be this ?
do I have to reboot my compter ?
I've no idea what that picture is of
I can't read your mind
Is that for DHCP, or port forwarding?
it is for DHCP static IP,. now I try for forwarding...
I found the page
I changed but the shortcut to HA doesn't work .....retry.... retry every 30 seconds https://imgur.com/a/3VBvgbr
should I reboot the computer ?
I just read "certficate not valid" https://192.168.1.30:8123 what do I have to correct ?
with this address I can open HA but it indicated "not securised https"
Sorry I have to leave. Night gives advice ! THANK YOU VERY MUCH
for that nothing. This will always show
welp
poking at the bear again
stuck at 272.702986 systemd[1]: systemd-jouranld.service: State 'stop-watchdog' timed out. Killing.
Does the proxmox image available in the alternate download section includes HAOS, or its a different version? Weighting how much time I would need to move over
All the images are HA OS
Ah, nice. Going to move over quickly then
I have a bit of a headache right now. Recently made some changes to my home network (new ISP and modem, same router). But I cant for the life of me connect to the Raspberry Pi running HA. After doing a fresh install, everything is fine again, but if I restore my backup I cant connect again.
The IP always shows up on the network, but I cant access the GUI by http://homeassistant.local:8123/ or the IP
I've been digging through the backup folders but I dont see anything that would give me issues since switching ISP, Duck DNS should only be an issue for external
@light pine when you configure duckdns you are enabling SSL for local and remote access
You restored that config, so you can only reach using https
Same as before
https://ip_address:8123 or https://homeassistant.local:8123
You'll see a warning. You continue past it
Oh god, I bet you are right
Nah, unfortunately that wasnt the trick
still getting a "refused to connect error"
good thought tho, its definetly something that I configured that isnt playing nice on the new network. The new IP is probably different than what it used to be, but I cant think of anything that would mind
Maybe if I clear out the /ssl folder containing the keys for DuckDNS?
@light pine what is the http: config?
wheres that located in the directory?
i have the tar from my backup and I can navigate through it, but im unfamiliar with that config
unless you mean in the main configuration.yaml:
http:
base_url: https://XXXXXXXXX.duckdns.org
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
Remove the base_url line
Would that affect me accessing it internally?
It hasn't been valid for ages
It was deprecated long ago
Huh, good to know
And yes, with that config you are forcing ssl
I mean, present situation isnt proving my case, but I would have sworn I had no issues connecting before on my local network
lemme give it a shot tho
What is the IP address currently?
internally its something along the lines of 192.168.1.128
just redid the install, so not sure what the DHCP will call it this time when I boot it up
It typically tries to assign the same IP address for recent devices
alright, uploading the modified backup now
hmm, getting an upload failed - 400 bad request
lemme make sure I recompressed everything correctly...
How are you uploading it
through the first startup onboarding splash screen
gives you the option to recover from backup
ahh, there it goes
I must have just recompiled it wrong
ugh, still no go. As soon as I restored it from backup, even with that line deleted from configuration.yaml, the GUI drops of the network as soon as it goes through
Yeah, its the latter part thats the issue π
I'm trying both the HA.local as well as the IP address directly
Specifically
both with HTTP and HTTPS
one sec
as well as http://192.168.1.128:8123 and https://192.168.1.128:8123
Did you only remove the base_url line?
i removed the entire entry:
http:
base_url: https://xxxxxxxxx.duckdns.org/
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
Ok
took out http entirely
And 192.168.1.128:4357 ?
havent tried that port, no
What happens with that one
I'll give that shot in a sec here
I started from scratch on the backup to pull out the http: reference
figured I would retry just to make sure I didnt mess something up putting the tar back together
Also, on that subject, whats the difference between a full and partial backup?
what would I lose if I did a partial backup restore?
connecting at 4357 gave me this:
Supervisor: connected
suported: supported
healthy: healthy
Ok. So that confirms the IP
If you choose partial, you'll see all the parts as selectable
And it should be pretty obvious at that point
hmm, I may have to start picking and choosing to get the backup to restore
So selecting all of them would be equivalent to a full restore
hello, i'm running home assistant OS on raspberry pi 4 for few monthes and experienced a freezing issue aroud each week. an electric switch on/off resolves the issue but after it has started I can't find any clue of what happenned? I first believed it was temperature issue but now my raspberry has a cooling case and it is still happenning. any advice on how I could analyze what is happenning?
i was wondering if it was related to storage has it runs on a simple sd card but how can I verify I have issues there?
I don't run on pi, as I've heard too many stories of corrupted SD cards. But I would say rule of thumb would be to attach an ssd on your pi, and run from there. SD cards are not supposed to be used with the kind of workload an os has. Eventually they will corrupt and die
Nothing wrong with running HA on a Pi 3/4. Just make sure you deploy an SSD instead of an SD card!
oh! so it's a storage issue. believe running with an SD card wasn't an issue. Is it because it doesn't support too many write/read? let's have a look how much is an ssd π
Is there a preferred or recommended install? Core or VM? I am running unraid and trying to decide between core or a VM.
@last abyss it's easy to spin up both on unraid and compare
Install homeassistant from the app store in unraid and check it out. That would be core
I mangaged to break my installation, is there anyone that has the structure of statistics_short_term for mariadb that i can use to recreate that table? Or perhaps knows of a way to make homeassistant recreate that table
before the shutdown of the router, I was connected to HA via 192.168.20:8123, no warning as https://imgur.com/a/dNv6QSS
WHat should I do to remove the RED https and the indication "Not secured" ?
Use the hostname in the SSL certificate
when I click on the button Not securised, I see Certificat not valid.
it should give a reason as to why
It does
The certificate isn't valid... because you're not using the hostname in the certificate to connect
Don't use the IP
After when I click on certificat I read :
Delivered to hassioMyDomain.duvkdns.org
Delivered by R3
Valide from 12/06/2022 to 10/09/2022
hassioMyDomain.duvkdns.org is what you should be using to connect with
(or the real domain there)
my real domain name ... also duckdns.org
use that then
You have to use the hostname in the certificate to avoid that error
Of course, this requires that you've fixed the port forwarding
I belive having made the port forwarding in the router. How to be sure ? How is it possible to check this
Probably the forwarding port does'n work; because I tested 4 options but no-one is working
http://hassioDOMAIN.duckdns.org:8123 ...page not found
https://hassioDOMAIN.duckdns.org:8123 ...HA opens but says "Unable to connect to HA ; retrying ins 50 seconds"
http://hassiDOMAIN.duckdns.org ...page not found
https://hassioDOMAIN.duckdns.org ...page not found
this is the one then https://hassiodomain.duckdns.org:8123/
but you have to double check you have indeed port forwarded the new internal IP since you said that changed
and that your HA external IP is correct
also check that duckdns is still pointing to your external WAN IP (which should be the case fi the duckdns addon is running)
ok I opend the link that you send me ; is this secured ?
huh?
check if port 8123 is open
Port 8123 is closed on 192.168.01.30
sorry I don't understand what you mean ; I don't know what is internal/external IP, sorry
From what you are saying I am assuming this is what you did
Port 8123 is closed on 192.168.01.30
yes you tell me to check
you are checking if the port forwarding is working. Port forwarding allows for traffic to go through a port from the outside (the internet) into a local IP (in this case your HA)
you don't care about that internal IP here
you want to check if the port from the outside is open
therefore you need the IP that was prefilled when you opened that link
Use current IP
I asked you if it is secured : yes or no ? could I get hacked ?
I am really uncomfortable with IP
the fact you don't know and you are opening up a port to the outside for HA is more of a problem
You already had remote access working, before the IP of the HA host changed... you weren't worried about it enough before to not do it, so what changes?
If you're worried, don't set up remote access and remove SSL from HA
Ok per haps it was still opend. But I never got the "Not secured" warning and RED mention beforethe shutdown of the router.Now could you pleas e tell me what to do to secure HA and my network.
You get that warning because you're using the IP
As I've said countless times
I'll leave somebody else to help you as you're not listening to me at all
You must have been using the duckdns domain before. There is no other explanation. You are just only now seeing the warning because you are using the IP
If you want to secure your network and HA, especially when you don't understand how it works or what it is you are doing then don't use port forwarding, use Home Assistant Cloud or another option that doesn't open up any ports and enable IP banning if too many failed attempts occur
securing is always relative to what you do to avoid it
putting your IP to that website to see if the port is open is not going to result to your being hacked
OK thanks for your comments
I feel really uncomfortable with IPs ports ; as said before I dont understand all this. Have you a link or a document that explains all this clearly, because I tried several tims to understand, but it's difficult ...
Which scenario would you suggest ? Step 1 =...; Step 2=...
I must leave you ... thanks for today
Hey guys, been trying to get HA setup for the last month and have been having various issues, I was able to get it working at one time but had to wipe it due to not being able to get a snapshot reverted, the current issue I am having is that I can't get it to pull an ip, im running it in a vm on wmware. On startup the wait for kernel time sync fails as well
Time sync is failing because it's not getting an IP
Maybe you are trying to bridge the network over wifi?
It is connected over ethernet, the computer itself is pulling an ip and is working normally, just inside the vm it won't, I know there was a command I ran when I had the working version but I dont remember it
I do also have it bridged in vmware
And when I tried to get ipv4 set to auto it gave me the supervisor/network/update deadline exceeded
ipv4 is auto by default. What do you mean?
deadline exceeded is almost always an issue with your DNS
It is saying disabled on it im pretty sure, I will have to take a look at it in a bit, I have tried to update the dns record before but no luck
I mangaged to break my installation, is there anyone that has the structure of statistics_short_term for mariadb that i can use to recreate that table? Or perhaps knows of a way to make homeassistant recreate the statistics_short_term table?
Hi all, i just installed a fresh image on an RPi 3 B+. All i've done is set my username/pass and set my location. The system is "unhealthy" so i can't install anything. Any ideas on what's going on here?
the 3 b+ sadly isnt going to work well for HA these days
Hi all, the last two mornings I've woken up to a notification from HA that my backups are unhealthy (automation I've got) - however the backups have run just something in HA is crashing: https://www.toptal.com/developers/hastebin/kepecegefo.apache
What's odd is that the UI is still working but I simply cannot restart the host without physically power cycling it. I have SSH installed and even trying to restart core, supervisor or even sudo reboot gives me a message: Got unexpected response from the API: System is not ready with state: shutdown
After a power cycle, all is good again. Any clues?
Perhaps related, both mornigns I've noticed a single entry like this Filtered a request with a potential harmful query string: ///remote/fgt_lang?lang=/../../../..//////////dev / in the log. I have external access configured using letsencrypt and duckDNS, not using NGINX, using a NAT loopback so internal certificates are valid via HTTPS
Kind of funny given my above issues - but my install is otherwise running great on a 3B+, although I am using an SSD. It's only interim until my HA yellow order arrives though.
Hi Everyone! I am a noob trying to install HAss OS on a HP Thin Client. I've been able to do so with no issues except, if I disconnect the monitor (because I want to run it headless), if I reboot, I get that annoying loud beeping sound because it's looking for the monitor. Everywhere I have looked, all the guides I have found, all talk about HAss OS being installed on top of Linux, or VM, etc.
But with HAss OS, it IS the operating system. Is there a link someone can provide to point me in the direction on how I can boot this thin client up and run it headless?? I don't want to install linux and then run this in docker. Isn't that just a waste of resources when you can run the OS directly?
Sorry if this is a stupid question. I really did search and try to find out how to do it before coming here, so any help would be very grateful! TY!
@stiff sequoia wouldn't that be a BIOS setting?
I don't think so. I went into the bios and didn't see anything that would hint at that being the way to do it. I will reboot now and double check. Articles I found, all talk about virtual keyboards/monitors etc.. but again, its typically being used in docker or on top of a linux distro - bridging them.. but that won't work when the OS itself is HAss.
There nothing included in HA OS to make your HP beep
Yeah, you're right, because it's not getting that far in the boot sequence.
Do you know what "PCI VGA Palette Snooping" is?
Not related to the beep
k
I think I found it...
HA OS is a Linux based OS. It includes docker. HA is running in a container and all other software added is run in containers.
Under Advanced, Device Options, Integrated Graphics was set to Auto. When I toggle that, there is only 1 option: Force. This opens a line item below that which says UMA Frame Buffer Size 512M.
When I leave that set to "Force" and reboot, it doesn't beep at me. The reason I never changed it before was because I thought Auto should still allow it to boot... but apparently not.
I noticed in the bootup, entries that said docker. Does this mean I could run Emby in a docker within HA itself? Presumably, by the sounds of it.
If there's an addon for it. Addons are docker containers
But HA as media server or HA as your router are things I would avoid myself
It's not the purpose
Yeah, this machine probably couldn't handle it anyway! LOL... I have a separate Dell machine running Emby so I will take your advice and not bother
There's an emby integration, so HA can be aware of your emby server
Thank you for your help! And thanks for not getting annoy with my problem. I wasn't thinking in the right manner as to where the problem was truly at.
I'm only installing this because my friend wanted to learn how to use it. Kinda like the blind leading the blind.. LOL.... but I have knowledge of Linux whereas he doesn't. And I also use NO-IP for my DNS, so my friends can access my Emby server. So having this installed, I can figure it out and then explain or show my friend what he needs to do
This is my HA network configuration https://imgur.com/a/xcQPVeP is it correct ?
Hi. I have just started to work with HA and installed it via docker as described here: https://www.home-assistant.io/installation/raspberrypi
but I think a did a mistake related to the PATH /PATH_TO_YOUR_CONFIG:/config ... instead of sth. like /srv:/config I typed /:/config
So could you help to find my HA files and the configs?
I am accessing via ssh and in / there is no config or home-assisant folder
I had a VirtualBox installation of home assistant but I am wanting to switch over to VMware workstation due to bugs with updating which I heard isnβt an issue with VMware. It boots up and starts but I am unable to reach home assistant via the link. Iβve tried disabling all the virtual network drivers except the active one but no dice
An update on my post, this is what shows after a fresh install with all that I mentioned earlier https://imgur.com/a/nODcamr
Are we not able to post pictures in this chat?
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.
Ah
Sadly if image posting is allowed people tend to flood the channel with irrelevant crap
Looks like your host isn't getting an IP address, which points to a networking issue
So the computer its running on does have networking, I am running it on a vm in windows, I made sure to have bridged networking on as well
I'd double check the settings in the VM
They look like how they should, at least I think so https://imgur.com/a/93tudrd
Check the Windows settings to see what interface(s) you've bridged it to
It doesnt show any bridges on the settings, just shows ethernet and the 3 vmware network adapters
The Windows network interfaces, you can pick which are used by the VMWare bridge (from memory) - check to see which it's enabled on
Maybe you've got it enabled on physical interfaces that you don't want it to be using
Sorry for all the screenshots, I just know its better to show stuff for me then explain it as sometimes I dont do so good with it https://imgur.com/a/Y0ClUwz
Now visit the properties of that network interface...
The ethernet one right or which one
Yes, that one
Ok, what am I looking at in there
To see if the VMWare bridge is enabled for it
VMWare Bridge Protocol is checked
Hello, HA is unreachable since 21:30
thwn URL is entered it starts to load but nothing happens
Can you ping the IP?
nothing was changed except reseting the wifi
Forgive me if this is not the correct room. I have installed home assistant on my virtual machine yesterday. I logged in to the observer room everything was fine. Then my power went off for 2 seconds. My pc restarted and I restarted the virtual machine. Now I can no longer see the ipv4 address and I can't connect to home assistant. Can someone please help.
Is HA connected by WiFi, or wired?
How did you install it? In a VM, with pip, or something else?
Tinkered when your done with np_HA do you think you can help with my issue
Does the HA console show the IP?
VM
it was turned off
kinda make sense not being able to drive around without starting the engine π
thanks
Question - I'm currently running HA Supervised on a RPi4 running Debian. I have a 256GB SSD that I would like to move the data disk to (while continuing to boot off the SD card). However, it seems that the "move datadisk" option (either via UI or CLI) is only supported in HAOS (and not Supervised installation). Wondering if there's any alternative ways to accomplish this or if anyone has any suggestions? This is the only similar post that I've found, but didn't really have a definitive answer: #330944238910963714 message
I think I just need to set my vitural box to the home assistant ip address 192.168.1.ΓΓ/24. The problem is I don't know how...
That should be handled entirely by DHCP
This may be a dumb question... DHCP on PC or in virtual box
On your router, hopefully
VBox should be connected to your wired network via VBox's bridged networking
Oh no I had it oringallly setup via wifi...
So I guess I need to start all over then.. will I be able to upload my back when I restart or will I need to setup home assistant all over since my ip adress and Mac address will change
Why not just bridge it with the wired network?
Ok switch to wired network then set static ip addresses?
Just switch to wired, and set a static DHCP lease in your router
Ok thank you
I had to take a walk if this work when I get back I will cashap you payment
I don't help here for the money π
you can sent him a bottle of scotch though
I'll never turn down a bottle of the good stuff
Well I don't know what the good stuff cost but i really want HA working from all the talks I here and if I can get it going its worth paying
I like the "walk away and hope it solves itself" part
I installed Homeassistant in kvm, but i cant access the web ui. how can i check the ha IP through the homeassistant console, or any other tips?
Lol.. I just realized I do not have enough computer skills to do this lol
nvmd found it
Hi, just wondering if someone could help me> im no wizz on a computer but trying to install home assistant on Rasperry Pi4, done the flashing to SD booting up loaded everything but then its sat on a screen "HOME ASSISTANT" Home assistant URL http://homeassistant.local:8123 Observer URL http://homeassistant.local:4357
i cant access this via them address or ip address, does my router need ports forwarding?
Do you see the ipv4 address on that same screen?
says IPv4 address for cth0 : thats it
That's the problem
Did you plug in Ethernet before powering it on?
yeah i did
yup direct to my router, well via a gigabit switch
its a google router
ive pulled the ethernet out, put it directly into my laptop, disbaled my wifi and i have internet access no problem
Hi! I just installed home assistant on my Synology NAS via Docker. Is there any way to get add-ons?
Sure, use a virtual machine to install HAOS
How will I link HAOS with the installation on my NAS?
Well, HAOS would be the installation on the NAS
Your install type (I'm guessing Docker, aka Container) doesn't support add-ons
Docker yeah, Okey, so basicly reinstall home assistant on to a virtual machine on my NAS
Which add-ons are you interested in?
Add-ons are just Docker images modified for the Supervisor, so the odds are there's nothing you want that's not already available to you
Using add-ons is easier, but if you are comfortable using docker it's probably more efficient to use docker containers
In addition to consuming more fixed resources there are other limitations on synology
Like you can't use hardware acceleration for video decoding
*Other limitations when using a VM
Thanks guys! Im really new to this, so add-ons seem much easier, but If I were to go with the other solution, does that mean I have to find the add-on Im interested in and install it as a separate "dock" in docker?
You'd find the relevant Docker image, yes, not the add-on though
Add-ons only work with the Supervisor, you can't run them without it
Is it easy to get home assistant to recognize the different docker images?
#integrations-archived integrate Home Assistant with devices or services, or provide functionality within Home Assistant.
#add-ons-archived provide additional software or services, which an integration could possibility integrate with. Add-ons are for Home Assistant OS and Supervised only, other install methods can install software other ways.
Yes, configure the relevant integration
If you want to add it to the sidebar, as you can do with add-ons, there's both integrations and cards that can handle that
(the sidebar is purely a visual thing, stuff there isn't necessarily part of HA)
Thank you so much!
I think its maybe easier to run home assistant of a virtual machine in my NAS...
2 ghz CPU and 4GB of ram would be enough right?
Much easier to do it on docker on the NAS. Makes it easier to port to another machine when you realize the NAS isn't the right tool for the job....
So manually installing add-on's is worth the hassle?
First, quit calling them "add-ons". What are you wanting to install?
Add-ons are just software in a container, there's no magic
If it's on HACS, then it will appear an all installations of HA.
Those aren't "add-ons" either...
Yeah that's actually enough. I run my HA on a Synology NAS and actually have done a lot of my dev work on it (not by choice)
Actually I find it pretty good cuz it's designed to be on 24/7 and there are no storage issues like with the platforms that use SD cards
But where do I find them?? Since Im not running supervised, I do not have excess to HACS
Home Assistant Community Store is the successor to the old Custom Updater, and can do so much more - you should check it out. They even have a Discord server for issues with HACS itself.
(part of the HACS docs make it very clear there's no add-ons in HACS)
Thank you for clarifying, I will read the documentation
How can I figure out what is taking up all my space? I am using a 60GB VM and it system > storage says 92.3% used. I need to understand what is taking up all my space so that I can remove it and prevent it from getting worse.
Hi. I am currently starting to create my Home Assistant and I have installed it via docker. Could someone tell me how I can find the filesystem of the HA container? If I am using a Terminal, I won't find any folder named like "Home-assistant" or "config"???
I updated from 2021.8.0 to 2022.6.7 last night, and I think I've been stuck in some reboot loops since. Every 10min or so I get the notification:
Database upgrade in progress
System performance will temporarily degrade during the database upgrade. Do not power down or restart the system until the upgrade completes. Integrations that read the database, such as logbook and history, may return inconsistent results until the upgrade completes.
then after maybe an hour, everything becomes unresponsive and I have to pull the power on the pi
I'm running Homeassistant on an RPI4, boot from SD (using the default image) and have my data partition moved to an SSD.
The SD Card seems to be corrupt now (SquashFS error while booting.)
a) as far as i can tell, HassOS is using RAUC - is there any way to force booting from the other slot? (or it might be doing so, but both slots are corrupt...)
b) If i simply flash a new home assistant SD, and boot up the PI - it should pick up the "hassos-data" partition on USB automatically?
try "docker ls", there will be docker containers ? i don't know the "docker-manual" way good enough to directly point you at where your data is to be found.
AS far as i know, it will mount some "hassos-data" volume into the docker containers for persistent data, i'd assume that's what you want to look for
I think you meant docker container ls, correct? There I can see an HA container.
As I am already raspotify running on my PI I do not have HA OS
So if I can see the container. How do I access the files?
you did use this way of installing? https://www.home-assistant.io/installation/linux#install-home-assistant-container
exactly
if so, you need to specify the "data/config" volume yourself
-v /PATH_TO_YOUR_CONFIG:/config \
in the docker launch line
-v is a "docker volume mount".
It will take a HOSTPATH and CONTAINERPATH , both seperated by a colon (":") . You need to maintain the "HostPath" (this is the directory on your system), and docker will forward that into the container. (namespaced bind-mount from technical side)
yes, I accidently used the root and now I figured out to see the files via docker exec <containerID> ls
if you did use the root, i'd advise to do "docker stop CONTAINERID" and start it again with the correct volume mount
if you already did lots of configuration you don't want to loose, you'll need to gather those ifles by hand and put it into the config directory tree you want to use
No I didnt do anything. So thanks for that advise. I am still learning some basics π
So what would be your advise how to edit the config files ... Is there any recommended tool?
Both sounds good. I used nano already, but how do I use the nano command in combination with docker?
Well, the software runs in Docker, your config folder is on the host
So, sudo nano /path/to/configuration.yaml
Sorry for my stupid questions π¦ But I just find the configuration.yaml if I used docker exec <containerID> ls
If I list the content of my PI dont find it ???
You should start over and mount a folder from your pi to /config on the container
That way you can access the folder from the host and the container too
If you ignored the docs and didn't map /config you missed something important π
If you want to get a shell on the container you can use
docker exec -it <name of container> /bin/bash
ah ok. So /:/config didn't mount it on my PI?
And that will open up a shell in the container. But those files won't be on the host, so whenever you update or reset the container, all your changes will vanish
Docker will hide that file from your main system. it will be somewhere in /var/lib/docker/MAGICHASH/OTHERMAGICHASH/ or something like that.
you should not fiddle with that unless you know what you're doing, or you want to learn and risk to break everything.
That maps / to your config folder, so the files should be in /
(and you WILL break everything)
Needless to say, you really shouldn't have used /
Yeah, that wasn't done by purpose π
And as I said. I am learning and I cannot break anything π
it's the otherway around: you're mounting your system-root (of your pi) as CONFIG for the docker container.
Most likely, permissions won't allow to put config there (good case), or it could overwrite everything (not-so-good-case)
So - "docker container stop ID" and "docker container rm ID" to remove the "docker run" invocation. (the "container instance")
after that, you can recreate a container instance of homeassistant with the correct docker run line
Or, better, use a Compose file
(ID is the name or the hash when you did docker container ls)
Ok thanks for your suppport. really appreciate that π You told me some basics I couldn't figure out so far
So I dont want to disturb this chat anymore π I am confident to fix it
Again something new π But I will check, too
As I said ... really appreciate your help π
To restate my question - will a fresh SD Card with HassOS will pick up a hassos-data partition on an attached USB SSD automatically?
delete the homeassistant.db file and restart it. It will rebuild the file and all you'll have lost was the history of when your lights were on and off for the past month or so...
Damn, too late. Already going through reinstallation. But thank you for the response
As long as you kept your configuration folder intact, you haven't lost anything by re-installing. You will most likely still have to delete the db file though as it's in the configuration folder. I've had to do it a few times over the years, probably due to being WAY out of being current....
In the process of a full wipe / reinstall. (I'm only running from and SD card on a rpi3), then i'll grab my backups from google drive once its online again
Hopefully your backup is good.....
I just need to re-remember how to get it back onto my wifi network (yeah, I know, wifi, but its worked for a few years now)
If WiFi is all you got, it's better than nothing. Not ideal by any means though...
Oh, I know. But it works =]
I started out running on a RPi. After a while I figured out I could move it to my Synology NAS. Ran it there for quite a while before I started to get enough stuff going that I decided to move it to it's own machine again. Now I'm running it (and quite a bit more) on a small form factor Lenovo i5 that's about the size of an external HDD...
What do you think the breaking point for the pi was? I live in a relatively small apartment and am only connected to like less than a dozen bulbs, a handful of switches and 2 outlets.
The SD card.... π
Seriously, the RPi was quite capable of keeping up (although the one I was using probably couldn't keep up now as I believe it was a 2).
what made you switch back to dedicated install? I'm working on getting the NAS approach up and running as I'm increasingly nervous about the SD card crapping out one day, and having RAID backed storage seems like a no-brainer
I moved it to docker on a dedicated docker host machine. Still do backups to the NAS. I went to a dedicated machine to keep the NAS for it's intended purpose. I didn't want to risk bogging down the media server down with anything. I'm running a bit more than just HA....
I'm having issues getting the current version of Home Assistant OS on a Raspberry Pi 4.
I'm using the latest image; written it to an SD card and to an SSD with Balena Etcher, and Raspberry Pi Imager.
It's stuck in the Preparing Home Assistant stage.
how long did you wait?
I've waited several hours on a a couple of different attempts.
and refreshing the page does nothing?
guess you can check the logs on the host console to see whats happaneing
I don't have a monitor and keyboard available right now.
Would I be able to access it via SSH or not?
see https://developers.home-assistant.io/docs/operating-system/debugging/#home-assistant-operating-system for enabling the host ssh access
Okay. I'll do that.
sd card sounds fucked mate
or you could bang the ssd/sd card in another machine and write the image?
https://i.imgur.com/8xZ7Ags.png issue starting up with virtualbox
then also this https://i.imgur.com/xEzO0nK.png
Hey I run Supervisor 2022.05.3 and Core 2022.6.7 in a RPI3. It seems like i'm loosing the supervisor ones in a while, e.g. I cannot see the Add-ons or read the supervisor logs in the WebUI. What can I do to debug it?
hI
Wondering if anyone could help me, ive just installed Home Assistant on Rasperry PI4, logged in and installed the add on for eWelink/sonoff - its up and running i can see all devices, when i go to create a scene/automation the drop down menu just says ewelink devices and no divces are in the menu? any help will be appreciated, im a beginner appologies.
Hey! Quick question about the installation. Pros and cons. I have Synology DS220+ with 18GB RAM and Proxmox Server. Is it better to install HA in docker on Synology DS220+ or maybe install it on proxmox? What are pros and cons and which way would you go and why?
Depends, do you want add-ons, or are you comfortable with Docker?
I am using latest version of HAOS. The ip is set to dhcp and ip is reserved on router. OS always takes a different ip, not the ip that was bind to Mac on router ? Is this a bug or am I missing something
Hi guys! I'm pretty new to linux and I"ve still managed to install HAOS on a VM created on ubutu's last release on a spare laptop I had home. I linked it with Nabu Casa so i have access to it from everywhere, even manage to get it work with Google Assistant etc. My main concern is that i was never able to manage to access the VM from my home network other computers. I thought that as I'm using Nabu its not an issue anymore but it still is because I keep getting issue with the VM not seeing device (like my Chromecast) of can't install Add-on (saying no internet connection available). I made a lot of research on the web and everyone is talking about bridging my VM so it has a same IP adress as the rest of the network but I just can't seem to figure out how to do it. So I got a few question... 1 ) is VM installation the way to go as a beginner or there's an easier way... 2) is bridging a real solution for my problems and 3) any good ref on a guide for doing this? π I know its gonna be a lot of job working on HA to set everything done and I'm so trilled to learn doing it, but learning everything about linux and networking on top of that seems a little too complicated for me π¦
Hey, how can i downgrade core of my install to a previous GIT version?
Yes, Hass OS
i tried this in terminal:
ha core update --version x.y.z And it said success, but then what? π
Then like any update the update will be downloaded and HA restarted
Not sure what happens if you've got invalid YAML for the new version 
Ah ill give it some time to complete then, just expected my install to go offline rather soon after entering the command
Its a bare new install to recover from Google drive backup, for some reason, the latest version seems unable to bring my old backups (1 week old) in from google drive through the Google drive backup UI
So im trying an older version to see if the problem exists there as well. Happens with several different backups
it should go offline before finished while it's still saying Processing
if it said completed successfully within seconds then the version is wrong
try writing it --version=2022.x.x
Ok, it also seems as ha core update --version 2022.4 throws a "success" message, just after a few seconds, but when i specified 2022.4.4, it is processing quite long timewise, so it feels like it needs specific version
Ah yes exactly what i found out π
Exactly, probably 4.0 would have been valid
indeed
ok hoping it helps, dying to get my install back π
Thank you for your help btw π
the Google Drive Backup is an addon though
it shouldn't have anything to do with Core
Yes, but the addon is really just using home assistant snapshot (now backup) and is not its own backup tool as i have understood it?
Mearly an off-device sync function, the reading and implementing of snapshots is still done by the Hass core?
The issues visualized:
Backups are part of Supervisor
not HA Core
which is why they only exist in HAOS /Supervised
I'll wait for the visualisation π
Ah ok i assumed supervisor was part of core
Hm yeah, im not able to upload images here for some reason, ill link them
This image visualizes what happens at the end of the "uploading to home assistant" every single time
It happens with 3 different backups, and always the same.
The error log says:
07-04 22:17:09 INFO [backup.ha.hasource] Downloading 'Partial Backup 2022-06-23 15:19:01'
07-04 22:17:09 DEBUG [backup.ha.harequests] Making Hassio request: http://supervisor/backups/new/upload
07-04 22:18:27 ERROR [backup.ha.hasource]
addon/backup/ha/hasource.py:362 (save)
addon/backup/ha/harequests.py:31 (wrap_and_call)
addon/backup/ha/harequests.py:89 (upload)
addon/backup/ha/harequests.py:245 (_postHassioData)
addon/backup/ha/harequests.py:31 (wrap_and_call)
addon/backup/ha/harequests.py:250 (_sendHassioData)
addon/backup/ha/harequests.py:202 (_validateHassioReply)
/site-packages/aiohttp/client_reqrep.py:1004 (raise_for_status)
aiohttp.client_exceptions.ClientResponseError: 400, message='Bad Request', url=URL('http://supervisor/backups/new/upload')
If i move the .tar archives manually to the /backup folder, they still are not recognized as anything usable, not in Drive backup addon, nor in the native backup interface
