#installation-archived
1 messages Β· Page 64 of 1
Good question. I'm actually not sure. I guess if it is it would be UTC.
According to timedatectl it seems to be UTC in my case. You can also check via ha host info.
They are .. So i did in fact override the logs from the problem by updating HA
it seems it only saves current and -11
-1
anyway, now i know how to debug further next time
Thank you very much @raven forge π
And I should remove all the SSL / DNS type config stuff from my config then? Like the URL it's running on, SSL configs etc..?
If you want to use a reverse proxy, remove the ssl_* lines and restart HA so that you can only access using http://
Thanks gambl0r, definitely should have been one of the first things to tryπ€¦πΌββοΈ but unfortunately it didnt fix the issue. Will give it another try tomorrow just to be sure
something is wrong but there isn't much info to go on, possibly faulty or misconfigured router?
Hello~! π
I stumbled my way here due to annoyances with wanting to access Google Gemini & Google Assistant simultaneously on my phone. I'm so disappointed that I've overlooked Home Assistant for so long! For some reason I had just assumed it was some other OEMs attempt at being the center of things. But it's FOSS! β€οΈ
I'm just getting going, & I have some naΓ―ve questions, if someone will indulge me, & save me a bit of time; firstly, I'm horribly tempted to repurpose an old Android phone as the server. Bad idea? It seems like it could be terrible but awesome. What are other out of the box deployment options if I'm not quiiiiiiite ready to spend $100 today? Thanks!
Home Assistant can't run on android as the server: https://www.home-assistant.io/installation/
I found tutorials updated 2 months ago to do so, actually. But I was more hoping someone had tried & had advice. I know it isn't officially supported. EDIT: that is wrong. I can't remember the year. Or month. It's from Jan '23.
I'm guessing..... it is not a good experience likely.
the outcome doesn't seem worth the effort
yeah π―
use an old laptop instead
I should just buy another Raspberry Pi....
Give this a read:
- Why I think pis are bad: #general-archived message
- Why I recommend virtualizing HAOS on better hardware: #hardware-archived message
Much appreciated! That is thoughtful.
I think I really need to invest in a decent setup to have a larger server setup at home for multiple projects. I'm always giving someone 5 bucks to host a mongodb or keep some chatbot running for my amusement....
I need some support by someone.. Somehow my installation has been corrupted or something... Containers refuse to start due to some weird network error... I am not so knowledgable in docker environment, but I don't want to loose all my config π¦
This just happened, and it looked like I had several supervisors installed and the containers are stacking the supervisors containerid in the network
After successfully getting Hyper-V configured in a way which broke my access to the internet, I have made some progress in exploration:
ah. no pix. i made it to the actual web client. lol
Which installation method do you use? What errors do you get? How do you come to the conclusion about multiple suipervisors?
And do you have backups?
Oracle VM host, HassOS installation. The errors I intitally got was the Warn emergency CLI, tried solving it from the forums yesterday. Ended up with installing multiple supervisors using the "docker pull" command.. (lack of knowledge from my side). Now when I try to start all the containers from the "warn emergency CLI" it gives the error response from daemon: network <bunch of numbers like 70 characters> not found.
I listed the images and saw that the numbers stack from the network error to all the supervisor installations.
Can you restore a snapshot? It's one of the neat things you can do with a VM before running random commands.
docker pull on its own shouldn't cause harm. Please show exactly what you see. Don't paraphrase errors or logs.
And as tinkerer said, do you have backups?
Dont have snapshots, because I am stupid... The backups I have seems to be 1,5 year old so apparently my automatic daily update did not work..
I cant post picture in here?
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.
Does the ha work? Try docker logs -t hassio_cli. journalctl -ru docker.service, journalctl -ru hassos-supervisor.service.
Fiddling with the docker containers themselves is rarely good idea.
https://community.home-assistant.io/t/no-webinterface-no-ssh-where-is-my-supervisor-container/693590/5
looks like you hijacked a thread? am i missing more details?
ha does not work, "error response from daemon: No such container: hassio_cli"
Okay try the commands then. I'd also need to know what commands you ran besides docker pull.
impact would you have a minute to check via teamviewer? Apologies for my stupidty
No. I only provide support here via text.
ok π
I only ran docker pull.. hmm let me see, there was one more command from the forum I tried
hold on
I did a few of these commands from the forum because I did not understand about the amd64 , aarch64 etc.
docker pull homeassistant/armv7-hassio-supervisor:latest
So 3 different of these I ran first.
Then last command I ran was this;
rm /mnt/data/docker/network/files/local-kv.db
From a guy on the HAS forums on the topic of the error I was having
Your VM is amd64 so that's very wrong.
That is it.. and when I saw that I had multiple images and learned about which one I should have depending on my processor I just removed the ones that I should not have.
Exactly
If you see the image now with the docker images command you can see I only have the 1 left (i believe) with amd64
That rm removed docker's networking database. Not necessarily a good idea.
Let's try to get the CLI and supervisor up but I need the output of the commands I shared.
-.- , following forums is not a good idea
docker logs -t hassio_cli. journalctl -ru docker.service, journalctl -ru hassos-supervisor.service
trying this now
I don't know what the exact issue even was too prompt looking at the forums so I can't really tell you what commands would be useful at this point.
What I can tell you is that I never had to do this.
@feral blade Discussion about how to install Home Assistant (https://www.home-assistant.io/installation), and issues with the install itself. Make sure to mention which type of installation you have. If you're not sure of your installation method, check under Info in the System Health Card (https://my.home-assistant.io/redirect/info/)
I am experiencing the latest Home Assistant crashing about every 36 hours. When I load log files in the web GUI I only see about 15 minutes of entries. How can I see more logs to determine the problem? Rolling back to Home Assistant from last December fixes the stability issue. It will run for months without issue on that version. I can still interact with HAOS on the command line even after the web GUI is crashed
Hm. I'm stuck.
homeassistant.local:8123 says
Something went wrong loading onboarding, try refreshing
ah. the network is misconfigured. checked the logs. doi
i thought i cracked that but i am not so sharp on hyper-v
I'd check the supervisor and core logs via ha supervisor logs/ha core logs. Also try refreshing the page like it says π
For networking related things try ha network info.
ty
just tried to restore a backup of my HA docker, users etc etc are gone, is it not so simple to just replace folders?
Sounds like you missed the hidden files and folders
Or you didn't back it up as root, so you missed key files due to a lack of permissions
autobackup in unraid, should all be there
weird one I am trying to set up HA on win 10 through virtual box
I've installed it
and set up the VM however when I open HA to install it and navigate to the link it kills the host PC
like the actual host pc crashes lmao
is your computer powerful enough?
it depends on how much ram you have
and how you set up the VM
VMs on windows are hungry
I don't understand this error message, can anyone enlighten me? I don't have a clue where to start troubleshooting this error.
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/connection.py:307
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 11:23:38 (1 occurrences)
Last logged: 11:23:38
[140450979408448] Error handling message: Integration '' not found (home_assistant_error) Roy Arne Olsen from 77.222.182.7 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36)
I have 32gb of ram... or mabye 64? I can't remember. And my vms take up almost half of my resources. But I run quite a few.
clear your cache and refresh the page
So easy???
it's a browser issue, it's usually that easy.
Edition Windows 10 Pro
Version 22H2
Installed on β30/β07/β2023
OS build 19045.4291
Experience Windows Feature Experience Pack 1000.19056.1000.0
otherwise it's something you can't fix
16g ddr4
i3 8100
I might ditch windows and just install native linus for my server
linux
Why are you even running windows if it's going to be dedicated HA machine?
well it's just used for plex and laziness
There's a plex server addon for home assistant
also, if you are running plex on windows, I'm assuming you're using WSL2 w/ docker?
if yes, then 16gb of memory is waaaaaaay too low. Docker itself uses 4-6gb of ram depending on how it feels
Docker on windows*
Proxmox FTW
yeah, that's what I'm thinking
Just windows 10
One VM for Linux + Plex, one VM for HAOS
but then again, it's going to be a bit complicated
would ha run fine on a pi
Depends on the Pi and your definition of "fine"
Tinkerer stole the words I was going to use
Running HA on SD cards is a bad idea
Pi3 is ... the oldest you should consider, and at that you're better off not
Pi4 + SSD (on a powered USB hub) is the lowest spec I'd suggest as sane
At that point though a second hand small form factor PC is likely going to cost the same, and perform worlds better
so would I be better of getting rid of windows 10
Hard to say. Personally I'd replace it with Proxmox VE: #hardware-archived message
why is this:
http:
use_x_forwarded_for: true
trusted_proxies:
- 172.23.0.2/16
login_attempts_threshold: 5
ip_ban_enabled: true
Giving me the error: Invalid config for 'http' at configuration.yaml, line 25: not a valid value 'http->trusted_proxies->0', got '172.23.0.2/16'
replace the "2" at the end with a "0"
oh yea ofc
that's an invalid CIDR notation
and I did 3 years of IT and networking just to forget that π
nerd
jk, had to google CIDR, didn't know that was the acronym for that
I've just seen that issue several times and can pattern-match π
I'm actually surprised that those bits matter, since they're just being masked. Seems pedantic
I just did the proxy thing and I can reach my home assistant instance,. but now I am getting: Unable to fetch auth providers. https://venhoute.duckdns.org/?auth_callback=1, any ideas?
cleared my browser cache and now Im getting 403: forbidden
probably failed 5 log in attempts
yeah remove it from your configuration.yaml
got it, banned ips file
or that
is it not recommended to keep the ip ban?
you can do whatever you want
Supervisor log showed a lot of delays with add-ons and components that frankly I did not need. As I'm on a Pi3 I decided that I better slim things down. Amazingly the file editor was a serious issue, and removing that is what finally got me to 2024.5.0.
Ahhhh nice. Upgrade the rPi3 next π lol
Where can I find logs for the Unable to connect to home assistant screen? I get it on icognito too so it should be reaching home assitant, nonetheless, no logs can be found
I can reach it locally
Okay, I found it, I had to enable websocket support in nginx
checked the other backups and restored from another, worked... all was not there thanks π
using docker-compose, is network_mode: host really required?
Yes
Anyone got a guide for implementing eufy on home assistant? I try via MQTT but it failed
Also tried the https://www.home-assistant.io/integrations/eufy/ method but got a 500 error when I tried to get my access token.
Any idea why?
Only if you want everything to actually work π
Need that Raspi 5!
Psh... Mini PC all day long... rPi* is good and all, but mini PC is so much better.
I'm tying home assistant with docker and i noticed there is no add-on option witch is fine i found esp home on docker but how do i connect esp home to home assistant?
Well, you connect the devices with the integration
Otherwise... first Google hit for Esphome docker is https://esphome.io/guides/getting_started_command_line.html
i tried attaching the espo home ip to the home assistant integration but it says something is wrong with the yamle file.
Can't connect to ESP. Please make sure your YAML file contains an 'api:' line.
sorry im not weeing my glasses and i didn't realise i was in the wrong channel
im going to move this conversation to #integrations-archived
Did you at least try what it says?
i don't see a way to edit docker yaml files. i am looking for one. there is a way to create volumes and im not sure if that has something to do with yaml
What do you mean?
They're just text files, use nano or your chosen editor - as root
clearly in your config directory
where is the config directory
i think i found it
~/.config
but there is no esphome
You should use Home Assistant OS
Your config folder is wherever you mapped it to in the container config. If you're using blind volumes then you made life harder for yourself.
I used to run HA on a very nice Linux system when I first started, and went to the RPi3 for the simplicity. It sounds like I can still get that same image type management with a docker install on a mini PC?
Yup! That's exactly how I run... HA Container (docker) in a docker swarm on (currently) a Dell Optiplex 9020. I've had two systems go out on me this past couple weeks and it was laying around... soooo, why not? lol
Is the swarm to provide HA by some sort of server mirroring?
Ummm, not exactly. Docker swarm is a way to deploy many containers to different systems. So, in my case, I have things like Z2M, ZW2js and MQTT all on their own "server", HA and some other stuff on their own server and MariaDB and other database on their own server. Swarm basically takes all my compose files and deploys them automatically. https://docs.docker.com/engine/swarm/
Hello everyone, May I ask you for your opinion please?
I want to replace my pi 4 2gb version with something more powerful since the ram ist on it's Limit always. Everything is installed inside HA OS and i think its just too much for the pi. So I bought a Fujitsu futro s740 because I wasn't happy with the pi Performance.
So I guess I will have to Rennstall everything from scratch which is fine.
But now I am thinking to make instead of Home assistant operating System proxmox or portainer to separate stuff from HA in order to take off load from it.
I want to make Container for motioneye (which is very demanding for the pi) and also mqtt broker (which is very chatty, has a lot of devices and entities (over 200)) and probably other stuff.
Now what I want to know is, if this idea makes sense/ is making home assistant Performance better to seperate demanding stuff like that or is it just complicating everything without real benefit?
Having everything inside HA installed is really comfortable and I like it. But if it makes a noticeable difference then I would try to seperate stuff like described. I am not a pro and never tried that way but I am confident that i can handle it. But I don't want to if it makes not much sense/not good enough benefit. Or if that thin client is good enough to make it the same.
And I hope this channel is the correct one π
If you have a backup of HA from your rPi, you just need to restore it and you'll lose nothing.
I have it on a ssd via USB 3.0
So, some of us like distributed architecture (running different things on different servers), but it's an advanced concept and not really needed unless you really need it. If you have everything in HAOS, there is no reason to move things around and add complexity unless you feel you need to. There are benefits to it, but it does add complexity to your setup.
Ok. So, on your new system, just restore from that backup. You don't need to reinstall everything.
Well from the current point of view I feel the need. I initially wanted to move demanding stuff from the pi 4 with ha to my pi 3 that runs pi hole. My Plan was distributing load a bit more even. I don't know the correct words but pi 4 Was sweating and pi 3 bored.
But then I stumbled across that thin client for good price and bought it. And my thought process was, if I have anyway to reinstall everything then I want to go the "right" way. Didn't thought about the idea to restore Backup because that Backup would be from pi 4 and wanted to avoid problems from moving from one device to another π (actually I don't know if it's a problem. Just wanted to play safe)
But since it's no problem to restore backup then I will just try it and if necessary move stuff. I think that's the best idea
You could do it distributed... BUT, without knowing what you are doing, you can get yourself into trouble quickly. HAOS makes it very easy to run everything you need in one spot and manage it all easily. What are the specs on your new system? Restoring HA from backup won't cause you any problems. It's simply a software/OS install. That's it.
Specs are Intel j4105 and 8gb ram (I can Upgrade to more). Passive cooled low Power device
Oh yeah, you'll be fine on something like that.
I could do it, I tried it the very first time But preferred ha os instead because it just works fine π and less complexity, which is awesome β€οΈ
Maybe thats not necessary anymore with the thin client. It will arrive next week :)))
Honestly, I would just stick with HAOS. On that system, your performance should be fine.
That would be really awesome. I feel bad for my pi ^^ since I installed camera motioneye it is too much. And also the Ebusd Hvac or let's say mqtt with many devices as a whole seems very demanding for pi
Thanks so much for your answers! β€οΈ
Hello Guys,
I just installed homeassistant in oracle virtual box and it worked greatly , but when I enter the link http://homeassistant.local:8123/ the laptop immediately restarts. I tried entering the link from another device and it also results in restarting the laptop that holds the home assistant os . So please how can I solve this ?
@nova anchor could be something to do with hyper-v or possibly UEFI settings that need changing
hmmm, what should I do exactly?
I'm not too sure, sorry, it's just info I gleaned from a google search
might be worth checking the VM settings to make sure it doesn't have too much memory or CPU allocated to it and if there are any logs, check those too
How much memory and cpu is optimal?
start with 2 cores and 2gb ram, should be enough initially
I would actually go with 2 cores and 4gb ram. 2gb is a little tight.
Depends how much you've got to spare really. I run my haos instance on bare metal with 3gb of ram with about 70% memory in use.
Good afternoon, I'm having some trouble installing home assistant on my Synology DS120J (You wouldn't even want to run it on there but ok).
When I try pulling the image in container manager
It fails after around 45 minutes
(Yes it's that slow)
Can you try to pull manually from the CLI via docker pull ghcr.io/home-assistant/home-assistant:stable and see what it says?
Also see: https://kb.synology.com/en-global/DSM/tutorial/Why_cant_I_pull_docker_images
Give me a moment
As it may take a few minutes for my NAS to say anything
Who would have thought that putting a dual core 800 MHz ARM CPU and 512 MB of RAM in a system would cause performance issues
(The NAS was released in 2019 fyi)
I didn't think the 512MB models would have container support. Which model is it?
DS120J, they recently added container support (not that it's a good thing on such a slow system and with so little memory)
Well, it appears to be pulling it
But ig we'll see
I'm thinking about getting one of those mini PCs and running Proxmox on it
With a home assistant VM
I've already tried it out on my server and it appears to be working pretty well
The reason I'm not gonna run home assistant on my server 24/7 is due to power draw
That server idles at 150w
512MB is a bit on the low side for HA. And then you also have DSM and other services running. It shouldn't necessarily affect pulling though.
Maybe you could check memory usage with top -o %MEM/htop -s PERCENT_MEM in a different SSH session. I think that's a great idea: #hardware-archived message
I'll check memory usage if I can SSH into it
That Marvell Armada is awful
It's taking its sweet time
Definitely uses some swap
Yeah, running home assistant on this system is a no go
I don't think I've ever seen docker take this long to pull something
This is immediately after the set up of a fresh HA container
# docker stats --no-stream
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
722f0e9ee0af homeassistant 0.02% 238.7MiB / 894.7MiB 26.68% 0B / 0B 167MB / 28.2MB 75
I'm surprised they added container support to the DS120J
If I were to run home assistant on this I'm sure it would swap a lot
Just for comparison this is my relatively boring production installation
# docker stats --no-stream homeassistant
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
34edecd1b369 homeassistant 0.90% 885.2MiB / 7.755GiB 11.15% 0B / 0B 1.64GB / 31.9GB 88
But still, the pulling shouldn't be that slow.
It's as if Synology artificially limits the CPU usage
Bc it's not like the CPU uses 100%
- when I look the CPU up
I see that there is an option on the datasheet for 1.2 GHz
Mine is running at 800 MHz
It's a crime that they sold this thing for 119 euros (and still sell for 100 euros)
I'm not quite sure how synology handles that. Maybe they have a powersafe governor enabled.
There's a Hardware & Power section where you can set the Fan Speed Mode. I'm not sure if that changes the governor though.
Unfortunately that's all I can tell you about synology specifics. Kinda getting off-topic for #installation-archived though.
Yeah Synology systems are pretty strange
Never buying one again
That's for sure
Also, it is indeed rather off-topic
It appears it has finally pulled the image
That took like 45 minutes or so π
Ah gotcha, itβs orchestration
Yup. 100%.
I have a Home Assistant Yellow and replaced my NVME m.2 with a larger one and am doing a full restore. The full restore fil is 16.8GB. I started the process and I think it's in progress. Any idea how long the restore will take or is there any way to monitor progress?
You can try go call http://homeassistant.local:8123 from another browser tab to see, if the login screen is available.
Or you can connect to the serial console and look at the supervisor logs
login screen isn't available. I started the restore probably 3-4 hours ago
I can see http://homeassistant.local:4357/ and it shows green statuses
Well, then you can use the serial console and look at the supervisor logs
thanks. I'm looking into that now
I saw errors indicating low disk space. I rebooted and see that it didn't restore the backup. The NVME (2TB) is twice the size of the old NVME. I don't see how its possible that there's not enough disk space
is it better to create a dummy login and then restore from within instead of restore from backup?
I tried to start restore again and it provided this error: ERROR (MainThread) [supervisor.api.backups] Can't write new backup file: [Errno 28] No space left on device
that's with a brand new 2TB NVME m.2
Do you have a CM4 with eMMC that has less space than 32GB?
If so, you need to migrate the data partition to the NVMe first before restoring the backup.
Meaning: doing the new onboarding, moving the data partition, upload the backup and restore it
thank you! I just figured this out. Amazing you know so much about this all!
any idea how I could format the eMMC?
You can either use the wipe procedure, if a working HAOS is still installed (red + blue button when powering the Yellow up), or use rpiboot to get access to the storage and do it that way.
https://yellow.home-assistant.io/guides/reinstall-os/ (That guide shows both - just skip the installing part, if you want to keep the eMMC empty)
But: moving the data partition to the NVMe does not include the OS.
so I got through moving data to NVME and then tried to restore a backup. It worked, but had the same issues I was having from the start. Now starting over to go back a little further in backups
You can wipe the eMMC and install HAOS directly to the NVMe. That is easiest done by connecting the NVMe to a computer to flash HAOS for Yellow (not for RPi4) to it.
that sounds like a great idea except I don't have an enclosure or quick connect for the m.2
these 16GB backups aren't helping the reinstall process unfortunately
Then you would have to use rpiboot
But you need a parameter to get access to the NVMe and not just the eMMC.
I'm hoping I reset the yellow and now I'm going through the process as if its my first install
./rpiboot -d mass-storage-gadget64 on Linux or rpiboot.exe -d mass-storage-gadget64 on Windows
hmm, I can ssh in if there's a way to do it there also
No
I'm currently waiting on the initial HA setup after loading the flash drive with the HA OS installer
woo! finally creating a temp account. I'll login, change the storage location, then try to import this 16GB backup from 1 May
Restoring a 16GB backup can take ages
yeah and then imagine it had the same issues you were trying to replace. That's me today now going back 2 days further
What was the initial issue?
it kept rebooting or wouldn't load
as of this morning
ssl failures on the app and then I just couldn't connect even on a local network browser
Did you look at the logs or have you tried booting it in safe mode. It might be a custom integration breaking it
I wish I were more savvy to pin it down, but after enough research I said... eff it, I'm going to reset and restore a backup
you're probably right, but I got frustrated and went full wipe and restore... except the restore is not going well
I did not realize how difficult/impossible this restore process would be
is there a good way to upload larger backups for restore? I selected through the backups page, selected my file, and then nothing
but when I try again, it doesn't even open the option to select the file... so maybe its uploading?
I'll try to be patient. I wish there were more status bars or something to indicate things are happening
You can vote for that feature request
https://community.home-assistant.io/t/progress-indicator-when-restoring-from-backup/563265
it uploaded! kicking off the full backup. Fingers crossed
someone said 6GB took them 2 hours... yikes
here we go with 16GB
I think I can ssh in serial and see progress, right?
Not SSH'ing but yeah. You can look at the supervisor logs
sorry, putty using usb C
Quick question pls. Do the initial setup and then connect sky connect or connect all together before the first boot up? Thanks
Quick question everyone, I purchaed an odroid n2 Home assitstant in 2021 similar to this device here, I have since moved to my new house and new network but am having a hard time getting my Home assistant to login or even reset at this point.
16GB backup took a little less than an hour
backup appears to have worked. Thanks for all the help @tender wren!
SSH into HA, execute touch /config/safe-mode, followed by ha core restart. That should start HA in safe mode, so you can deactivate the custom integrations it is complaining about
I think it is
Wouldn't be the first time, a custom integration breaks HA since the performance boosts
If you don't already have a suspicion from the logs, best way would be to disable all, go back to normal mode and activate one by one to see, which one is the culprit.
All custom integrations
I think I heard about issues with Dreame, but I wouldn't place a bet on it
Which version of the Dreame integration are you using right now?
That should have fixed some stalling issues. Trying the 2.0 beta might work
Definitely: #general-archived message
I'm not using Proxmox, so I have to pass that to someone else
I think I saw a post from petro on the forum with versions that work but I can't seem to find it.
https://community.home-assistant.io/t/psa-2024-5-upgrade-failure-and-dreame-vacuum-custom-integration/724612
What error exactly and where are you getting it?
I'd give ha network info and ha dns logs a look. You said pinging google worked and you probably didn't change anything on the PVE side so maybe it fixes itself after some time. I'm too tired to research how supervisor checks network connectivity right now.
In this case I'd simply check ha network info in the HAOS VM to get the basics.
Does this happen for all VMs on the node? Can the node itself ping its gateway or successfully run ping 1.1.1.1, nslookup google.com and nslookup google.com 1.1.1.1?
If not the results of cat /etc/network/interfaces and ip a from the node would be useful. I gotta go but maybe someone can do something with that information or you can ping me tomorrow or so.
Where can you find detailed crash logs that go back more than 24 hours? The logs section seems to only show about 1 hour.
where is the best place to post/troubleshoot Home Assistant Core 2024.5.1 failed install?
hey all! I have my config folder from a docker install of HA. How can I restore this to haos? I don't have a backup tarbal that haos will accept, but I do have all the data and configs from the docker instance.
I'm thinking I'll boot the machine with an ubuntu live CD, and copy the files over to the equvilant of /mnt/data/supervisor/homeassistant on that live-cd (probably under /media )
You can install the SSH addon, stop HA via ha core stop and then upload the contents via SFTP into the homeassistant directory. Then simply start core again via ha core start.
Right, but where IS that directory?
Is it at /mnt/data/supervisor/homeassistant ?
And can I simply just copy the files into that folder?
Like I said, if you use the SSH addon it's just /homeassistant and you can copy the files there after you stopped HA.
The real storage is indeed at /mnt/data/supervisor/homeassistant but that's not directly accessible in a container. Nor does it have to be.
Ok cool. I'm goint to be mounting the volume on an intermediary computer anyways, so it's just easier to move the files over that way.
You see, addons are docker containers: #general-archived message
Certain directories are bind mounted into them. Well, or the reverse. /mnt/data/supervisor/homeassistant is available at /homeassistant for example.
# docker inspect addon_a0d7b954_ssh | jq .[].HostConfig.Mounts | grep -Ei "config"
"Source": "/mnt/data/supervisor/homeassistant",
"Target": "/homeassistant"
I disagree that it's easier your way but the choice is yours, of course.
If I wanted to instal HAOS on a old dell laptop would this be the right image? haos_generic-x86-64-12.2.img.xz
When I installed it as a VM on my unRAID server I used
haos_ova-12.1.qcow2.xz
hmm I think I may have the wrong idea here.
Does the HAOS work as a full fledged OS on hardware or does it needs to be dockerized?
Generic is fine for bare metal. HAOS cannot be dockerized. It uses docker itself though.
I recommend virtualizing HAOS: #hardware-archived message
I installed Home Assistant 2024.4 on Truenas Scale, using the app provided by TrueChart.
I ran the setup and am in HA. But I dont see "Energy" on the left menu. Internet suggests to change the configuration.yaml file, but for that you need the editor(?) I also dont see any place to edit config files (only to reload them)
So... what did i do wrong?
I got home assistnat back up and running, without issue. But now i have an issue where i Have a domain I purhcased, and i have a subdomain on that domain pointed to home assistant, and I can login but it says "Unable to connect to Home Assistant Reteying in XX seconds" then when it times out, it says loading data and then rinse and repeat.
Need help reconnecting to Home Assistant after IP address disappeared
I have a odroid n2 with HA on the platform, but lost access and it is no longer booting up. I want to reset HA on the n2 is there a step by step on how to do this?
Hello ! I've been trying home assistant on a synology and now I'm switching to a brand new yellow. Just flashed it.
Trouble is: I don't know how to get a backup of the synology instance - (backup function not present in UI). I'm sysadmin by trade so I can mess up with files if I know what to achieve
How old is the version on the synology? You can technically zip/tar the /homeassistant directory (include ALL the hidden files and directories) and transfer them over to the yellow as well using the Terminal and SSH addon.
It says 2023.7.3-22. Thank you for this very actionnable answer π (new home assistant install give me the opportunity to upload a backup)
Ahhhh, yeah, that's ancient, back in the dark times, HA. lol Yeah, just use the files method to transfer over. After you do, restart the yellow and you should be back in business.
Is the backup functionality that recent? That would be kinda mad.
actually the UI is advertising it, but it's just not there yet π
2022.4 is when it came out, but I think it was still issue(y) until late 2023.
Hm, Error 400: probably my tar file is too big, and HA wont accept anything else but tar filles at this setup step (home-assistant_v2.db = 21MB)
That doesn't track. I've got backup files that are 2-3gb in size.
How big is the actual tar file?
32Mo
I bet I can squeeze many logs out of the db
I just want to get the devices back
That doesn't make sense. Did you create the backup from tarring up the files or from the old UI?
from taring (tar cf homeassistant.tar homeassistant)
π€ It's definitely not a size issue. I'd think it's probably a layout issue.
nevermind, I hope I don't have to unpair too many things before pairing them back π
You can simply restore core manually: #installation-archived message
Question: if I restore a HA backup to another machine, what all do I need to change in the config to have both systems running without conflicts?
Hello! I just bought a NAS - Asustor AS6704t.
I want to install ROON and Home Assistant (with Supervisor and HACS) on it in docker containers.
I haven't bought hard drives yet and am thinking of buying a couple of M.2 drives to keep things silent and speedy. There are slots for 4 such drives. I already have one 160gb M.2 drive which I could use for HA.
I will install 16gb of RAM in the NAS.
How many drives should I get? How should I allocate the memory? Should I make partitions?
If you want add-ons then you have to be able to run VMs
Yes. Seems like I can install HAOS for Windows like so: https://youtu.be/FhW4HO-dbG0?si=mdIF1UngTjvgSAQH
I went ahead and bought a 1 TB M.2 drive.
I'm not sure how to best set it all up with ROON and the boot volume for the NAS itstelf still.
I'll have one 160 GB M.2, one 1 TB M.2 and one 4 TB USB (external) hdd.
I don't know what ROON is, but you need a second HDD for mirroring π
There's also no one "right" way of spreading stuff around the M.2 drives, just what you prefer and what the NAS allows you to do
Hehe. ROON is a way to make music streaming complicated.
Are you talking about mirroring the NAS boot volume or the HAOS ...container ...volume?
(Mirroring as in always having a duplicate on another drive?)
Well, half the point of a NAS is for data protection, RAID
Then when the HDD dies, or sectors are corrupt, you don't lose it all
Right. Although I won't be raiding much. I originally just wanted a common file server so I can use the same files with my PC and Macs.
Not really that worried about losing data -though I will want to be able to resurrect my HA setup if the drive fails.
I can make periodical backups to the USB HDD.
(I then realized the NAS can actually be a kind of a media center)
hi, did last update change something in the login command in console ? in April, just typing login bring me to the shell but today, it request as login password
What version of HAOS are you running?
Well, 2024.5.2 is the Core version, and completely irrelevant to you question above
Nothing in any add-on/container will change the host login behaviour
so i don't understand why it's asking today for a login/pass
i don't think I've updated the OS.
Then try a host reboot?
On the console, the actual keyboard/monitor console?
Because core-ssh is clearly a container
You'll see that when you SSH in, or use the terminal window
Also, did you reboot the whole computer?
I need holidays... so sorry. I was on the ssh session not on the console session. sorry for this. ty
Hi all new to this im trying to install HA on a pi4 i followed the instructions on the HA web page and im getting errors along the lines of Can't install ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2024.5.2: 500 Server Error. any advice or pointing me in the direction like a guide or video is appreciated thank you
how do you process from start ?
i put the card in the pi and i start it like the guide says then i go to the web page it tells me to go to
this morning i finally plugged it into a montor and started messing about with it to see if i can get it to update but it times out when i try
do you have by chance another sd card ?
ya i tried reinstalling it on diffrent card
same issue
i used the pi imager tool to install it
not sure if its out of date for the application or not the os was built into the tool
if the OS is available to download on its own i can do that route and use the tool to flash the newer version of it
the version on the app is OS12.1
yes via cat cable
i can access it from the http://homeassistant.local:8123/
where is says error installing home assistant and i can get the raw logs
oh.. it's installed but you cannot connect to ui right ?
i get to the http://homeassistant.local:8123/ and it says error installing home assistant and under that it says an error occurred while installing home assistant
and in the log it says client timeout while awaiting headers
can you paste the log file (first lines)
sure give me a moment
this is the first part
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/udev.sh
INFO: Using udev information from host
cont-init: info: /etc/cont-init.d/udev.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun supervisor (no readiness notification)
services-up: info: copying legacy longrun watchdog (no readiness notification)
INFO: Starting local supervisor watchdog...
s6-rc: info: service legacy-services successfully started
then its all blue and a yellow
[supervisor.host.sound] Can't update PulseAudio data: Failed to connect to pulseaudio server
[supervisor.docker.interface] Can't install ghcr.io/home-assistant/aarch64-hassio-supervisor:2024.04.4: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=2024.04.4&fromImage=ghcr.io%2Fhome-assistant%2Faarch64-hassio-supervisor&platform=linux%2Farm64: Internal Server Error ("Get "https://ghcr.io/v2/": context deadline exceeded (Client.Timeout exceeded while awaiting headers)")
what size is your sd card ?
I think I reach my debug limit on this. I'm sure some else will come soon to help you. I'm sorry
no worries XD
background: for various reasons I'm trying to replace my ATT Fiber Router with a unifi gateway (ip passthrough), and right now there are some issues with IP ranges that are stopping me from just handing over the network.
question: if I screw up the network interface config in HA and somehow can no longer connect normally, how can I recover from that?
not sure if this is the right channel even, but it seemed to fit best
Use DHCP, use static leases in your DHCP server
Then you can't screw it up π
that's not true in this specific case
I'm moving to the new gateway, switching from the ATT router, which means moving DHCP from one device to another, but the new gateway is smart enough to not let me have an overlapping IP range with what it's currently getting DHCP from.
and anyway, that doesn't actually answer the question, which is "what do I do if changing a network setting prevents me from connecting over the network"?
You can reset that with command line access, and also with a magic USB stick
a magic usb stick?
You can reconfigure things with a suitably set up USB stick - has to be named the right thing and with files of certain names and locations
It's documented somewhere in the HAOS Github (and docs)
I don't use HAOS so I don't have the links to hand
@median shale I've done what you are doing. Bascially, change the IP range on your modem before you setup IP passthrough. Then, on your Unifi router, setup the same IP range that you have been using (usually 192.168.1.0). Make sure that your WAN IP is static to the router and turn off DCHP on the modem. That way you don't have to worry about changes within your local network (after you setup your DHCP leases in Unifi).
so part of the problem here is that Ubiquiti's documentation is garbage and so I've already gone through the setup on the new router and it's configured a range
So, you're basically trying to get rid of the modem and go direct to the fiber?
since the unifi controller software is running in my HA instance, i won't be able to log in to change any settings on the router if it doesn't just work when I change things
and what I'm coming up with is that I'm going to have to migrate my controller before I deal with this
and then migrate it back because that's still where I want it to run
Yup. You'll want your controller on something with a static IP before you do ANYTHING else.
That should be like step #1.
it IS on something with a static IP, just under the old router's range
"old router" being the ATT
there's a whole lot of chicken and egg here
How much different are you going with your ranges? The method I outlined allows you to not have to change anything on your main VLAN at all on your Unifi equipment.
i'd really like to just stay with the same range, but the unifi router has claimed one subnet up the chain since it won't let me have the same range it's part of on the wan side
lol, this is a little bit off-topic for this channel, but feel free to DM me and I might be able to help you set this up. I tried doing the ATT Fiber modem delete and it went HORRIBLY (and AT&T has changed their auth methods recently).
i don't need to delete it, I'm good with the IP passthrough
Ok, perfect.
but yeah, this is off topic, I really just was asking how to fix it if I bork the network settings
lol well, I don't mind helping in a DM if you want. I'll be in front of my PC in about 1.45 hours and I can send you screencaps of what I changed to get it to work right.
as soon as my partner's meeting is over I'm going to go see if plugging in a monitor and keyboard lets me get the command line
i may take you up on that, thank you
Anytime! Happy to help out. π
anyone here can find for me ( bcuz i don't found this in google ) driver's Az-delivery esp32
maybe? what is it?
Hello everyone, Iβm trying to integrate nspanel with Home Assistant, but without success. After configuring MQTT, I can see Tasmota in my list of devices, but on the nspanel screen, Iβm encountering this message ( Waiting for content...
This is taking longer than usual, please check your backend configuration). Can you help me understand the issue?
I am currently in this boat, went from 12.1 to 12.2 grub with the new OS update
Slot A (OK=1 TRY=3)
Slot B (OK=1 TRY=3)
Slot A (rescue shell)
Slot B(rescue shell)
I own a HP T620 and currently try to get ubuntu running to swap the bootia32.efi and bootx64.efi
However the screen stays black when i press try and launch Ubuntu
Anyone got a clue? I googled it already and cant get it to work
The fix is the following btw:
Booted my thin client with USB ubunto OS (google for this how you can make a bootable USB)
I could not find the correct drive where the /EFI/BOOT/boot* files were
I had to mount the /dev/sda1 (could be different
(first create a directory on local drive :
cd/
sudo mkdir /mount01
sudo mount /dev/sda1. /mount01
than I could go to /mount01 and found the files there
replaces them with the old one (you can download these above in one of the posts). Copied them first to a USB stick and copied them from there to the new mount.
Hi everone, I just updated HA and now a bunch of my devices say "failed to set up". Any suggestions?
Please use a code share site to share code or logs, for example:
- https://dpaste.org/ (select YAML for the language, and consider picking a longer expiry)
- http://pastie.org/ (select YAML for the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
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.
Share the logs.
esp32
Anyone want to help me install HA on a Mac Studio M2?
i'm setting up a network to support installation of HA. Where is the right place to ask networking questions? Like VLAN advice, router/fw stuff. (there is no networking channel that I can find)
Probably #the-water-cooler since it's not really related to HA
ty @brisk willow though I must say it seems odd to not have networking discussions somewhere here in discord. Like I see on the HA forums plenty of posts about IoT VLANs and how to connect HA etc. Anyway, off I go π
I mean you can post your question in the #the-water-cooler channel
Ah well after reading online sources, it appears there is a strange antagonistic attitude amongst HA users towards Apple Silicon. Everyone says "Go buy a $25 Raspberry Pi." Except that doesn't exist. More like a hundred bucks or more, if they are ever in stock. This is particularly odd since HAOS supports MacOS and ARM.
Some people hate things for no good reason
If you'd said some HA users then you'd have been right, but not everybody hates Apple silicon
Many HA users? The OS wars are long over, but some people still have a strange religious bigotry against anything Apple.
You're judging the majority by the actions of a minority
Extremists perhaps. But very vocal.
Sure, but that's every community
There's always some people who're loud and proud about being ignorant
But by treating the community as if they're the norm you're doing everybody a disservice, and acting not unlike that vocal minority ;))
Also, here we mostly only hate on the Pi π
Also this ^^^ lol
LOL well the only working install guide I can find is like 2 years old. It's totally obsolete and targeted at Intel macs.
That's more a sign that nobody has written such a guide
That's partially because host-mode networking wasn't available on the M* chips until very recently.
This sort of information about host-mode is useful.
Well, it's also bleeding edge
Like, changed in the last month
I don't know if anybody's validated it works yet
Plus, even if it works, people have to update to the latest Docker, so 99% of installs will fail
Yup. Host-mode networking on Apple M* chips is still in beta according to Docker docs.
Gah Docker is awful.
Docker isn't - support on non-Linux is π
Which, given it was developed on Linux is hardly a shock
Docker is awful on M* chips. In and of itself, it's not a bad orchestration engine.
Well MacOS is Unix (POSIX compliant) so Linux is really the outlier here. Apple is the largest Unix vendor in the world.
And we're getting back to OS wars π
lmao I literally JUST had this same discussion with a coworker the other day.
I got tired of the OS wars back in the days of CP/M vs MS-DOS. I'm not exactly a tech noob, I have my vintage 1976 SOL-20 (8080A) sitting next to my desk.
Anyway, my point is that it is difficult to obtain useful info (like you guys are giving me now). I appreciate the help.
BTW I did try Docker and tried the host mode networking, seemed like a standard feature since I never saw it before. HAOS boots but dies without launching.
Can't say I'm completely surprised. But wait, you tried to run HAOS in docker?
Amongst many things I tried.
Ahhhh, yeah, that won't work on any platform. HAOS is an entire OS, so, running it in docker only loads a portion of it. HAOS needs to be either bare metal or in a VM.
Unless you are talking about HA Container (which is just the core of HA and runs fine under docker).
Oh yeah, I'm getting levels confused, HA container. I spent some time trying to get HAOS running in a vm. VMWare is free, runs on ARM but no success.
Ok. I can't say I've seen anyone succeed with Container on Apple, tbh. But also because host-mode networking is only available in >=4.29.
But I seem to remember some people getting it to run on VMWare on M* chips. So, that's weird.
The HAOS image is .vdi, I can't get anything to open it.
That's an Intel image though, so you'll need something that can handle that
(unless somebody's done an ARM .vdi image)
https://www.home-assistant.io/installation/alternative has a .ova image, but not sure if it's ARM or not? Been a long time since I played with ESXi.
BUT, one method that might work (weird as it sounds) is to load Debian/Ubuntu in VMWare, then run HA Container in that under docker (virtualization hell lol).
I have no idea what the performance of that would be and I have no way of testing it either...
Well ovciously I'm shooting for full HAOS support, should be possible on a VMware Debian or such?
Nope. That won't work. HAOS is the entire OS, so you can't run it on another OS like that. But, I would give the .ova image a shot and see if that works.
You know, I think I did. Let me try it again, right now.
Yeah, I did already try the .ova earlier today, it's an Intel image.
π€ Aside from the virtualization idea I had, I don't know any other way to get that to work.
I got the haos_generic-aarch64-12.2.img to open in VMWare Fusion, starts to boot and dies at the VMWare boot manager.
What's the error message?
No error, it just dies with a command line "Shell>"
I think I didn't get the bridged neworking set right. But now I can't shut down this VM.
OK working on it. You are helping immensely.
Yeah, sounds like it's just dropping you to the VM shell rather than actually loading the image.
No problem! Happy to help (if I can).
I get to the boot manager, you know "Boot Normally" vs options like VMware Virtual NVME namespace.. etc
I read that HAOS won't boot without secure EFI booting.
That's correct.
hi this may sound a bit silly but i'm trying to install the os on a pi 4 & both
- can't access the pi from my browser after installation &
- can't see console output from my monitor
the pi is from my school & i can't figure out its ip address without seeing the console output to get a more specified address than the given 'http://homeassistant:8123/', so i'm a bit lost on what to do next
The initial boot says no media, then tries EFI Network, then dies and goes to the old boot manager.
Check your router to see what IP address is assigned to the pi.
Did you run a CRC check on the image you downloaded by chance?
You guys look like you have other urgent requests and I'm burning out after a long night, so I should probably go. You guys got me a lot farther than I have previously. I have a few more ideas to work on too, thanks to your suggestions.
Hmmm π€ maybe nslookup homeassistant.local? However, if you're on a shared network, mDNS might be turned off in which case you're not going to get the IP that way.
lol it's typically like that. If you have more questions, pop back. Also, might be worth throwing up a post on the forums as well.
Anyway, sorry about posting a provocative message up top to get this discussion going. Just trying to shake loose some expertise. I did!
says it's a non-existent domain </3
specifically: '*** dns1.as42689.net can't find homeassistant.local: Non-existent domain'
Thanks again.
lol no worries. tbh, I didn't see your message earlier.
π€ You might be able to use avahi-browse --all to discover mDNS names on the network, but if they have mDNS turned off, that probably won't work either. Plus, you'll have to install avahi as well. But, you said that on the monitor, you don't see anything from the console?
yes, after installing the home assistant os the pi just doesn't show anything when connected to my monitor.
i accidentally installed the os for pi 5 once instead of pi 4, and when i connected it then it was showing console output which is why i'm confused on it not working now.
So, you reimaged the SD card with the pi4 image and now it doesn't work at all? Can you try to image just the standard Debian pi image and see if that loads?
let me give it a shot & i'll let you know
been a minute but i did manage to get the console output to show. think the image installed was corrupted to some extent
That's kinda what I was hinting at.
For HA, how much of a difference would a 6500T and a 7500T processor be?
Probably not a lot
Also 128gb vs 256gb, i should really never need more than 128 right
RAM, or SSD?
Ssd
Then ... 128 is probably enough, depending on what you do
Hmm ok, thats what uve been seeing, is that almost everyone will not hit 128
Unless ur like storing video feed from cameras
Well... I'm sure there's plenty of people here who've managed it, but typical setups won't
Basically, im looking at a 7500T 256gb for $70, or a 6500T 128gb for $60. Is it worth the extra $10 or would i never notice the difference lol
Again it all depends on what you want to do with software other than HA
Run cameras with object detection, then maybe you'll need the faster CPU
Just run a handful of low impact things... then no
Okay thank you!
Guys running into a big issue - getting 'blocked from execution, no host internet connection' - but I have access to the HAOS cli and dropped into shell and confirmed both pinging my gateway, nslookup, etc.. all seem to be working. I can ping google.com just fine as well. What the heck is going on? this is post update (yesterday). HAOS 12.3 - Home Assistant Core 2024.5.2
Additional details from logs -
homeassistant.exceptions.HomeAssistantError: Error updating Terminal & SSH: 'AddonManager.update' blocked from execution, no host internet connection
2024-05-09 16:28:01.992 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140421892442560] Unexpected exception
Well its reporting the issue to be DNS
2024-05-09 16:04:10.550 INFO (MainThread) [supervisor.resolution.module] Create new issue dns_server_failed - dns_server / dns://192.168.0.6
But pinging the host from the cli seems to work. Wish netcat was installed so I can try and open a direct connection to the port.
Discussion about how to install Home Assistant (https://www.home-assistant.io/installation), and issues with the install itself. Make sure to mention which type of installation you have. If you're not sure of your installation method, check under Info in the System Health Card (https://my.home-assistant.io/redirect/info/)
As you didn't believe me... read the channel topic
and issues with the install itself
please help! I am getting the following error and my HA Yellow is stuck rebooting over and over or just stuck at this point
2024-05-10 00:02:02.969 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/core/state: [Errno 104] Connection reset by peer
I just want it to monitor my door sensors so I can go to sleep π
Hello and pleasure to meet you. I just posted this question to reddit so sorry if the double tap is discouraged. I got a free laptop today from work that I want to install Proxmox then HAOS on but having issues. The laptop has fresh windows install. I downloaded the Proxmox iso, moved that to a USB SSD drive (empty). Laptop bios set with USB boot on and all virtualization settings on. Rebooted into boot drive select, selected USB...and nothing. Just back to windows. So tried balenaEtcher (as suggested in Proxmox guide). Downloaded, installed, ran. Selected iso the laptop hard drive as target..yup to all the warnings, I know it will wipe the drives....and that failed...not sure what I'm doing wrong but clearly something and I'm guessing it's simple
and that failed
What did it say?
I thought it just said failed..but I can try again
Flash failed.... something went wrong while writing Proxmox... To sb m2 SSD c:
I'd give rufus a try.
Flashing the iso to the internal drive will not work while that drive is used to run the app you're trying to flash with, of course.
Besides, it's the wrong approach. You can't boot off of the medium which has the iso and use it to flash to the medium that has the iso.
Simply dropping a iso into a USB drive does not make it bootable either. Ventoy can do something like this though.
Ok...that's what I needed I think...thanks
Hopefully. Keep me updated.
Trying Rufus to make the bootable but not having luck lol...not seeing the USB drive in the device pull down...looking for something else
I have an installation on a Ubuntu 22.04 LTS box. HA core 2023.12.3 & FE 20231208.2, problem is it never offers to or updates.
Nor can I find where the system is installed within the filesystem.
How did you install HA?
I believe it was Supervised.
How would I find the method? Within the /etc directory?
Supervised is for experts: #general-archived message
What does this say? https://my.home-assistant.io/redirect/info/
As stated earlier. HomeAssistant Core is 2023.12.3 and the Frontend is 2031208.2
Depending on what else it says I can determine the installation method. Show me.
How can I post a screenshot?
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 have the HomeAssistant logo above that label. Below that is 'Core' on the left with '2023.12.3 on the right. Next line has 'Frontend' on the left and 20231208.2 on the right. Below that are a column of buttons with 'Change Log', 'Thanks To', 'Merchandise', etc.
That's not a picture π€¨
Anyways. based on that info it seems like you either have a core or docker install. None of those provide updates through the GUI.
Please run docker ps and pstree -apsT $(pgrep python3) and show me what it says.
DOSBox is not installed. Docker is active as 'Firefox' is now Docked! Thats all I could find Docked.
No I mean run those those things in your ubuntu shell. Either as root or via sudo commandisharedhere.
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e1d7d9631e09 ghcr.io/home-assistant/home-assistant:stable "/init" 4 months ago Up 42 hours homeassistant
Perfect.
Now I can't tell you exactly if you started this with a docker run command or via a compose file.
You can try find / -type f -name "*compose.y*ml and see if it finds a compose file anywhere.
I guess you could also try history | grep docker. Maybe you find how you started it there.
history | grep docker
266 docker run -d --name homeassistant --privileged --restart=unless-stopped -e TZ=MY_TIME_ZONE -v /PATH_TO_YOUR_CONFIG:/config -v /run/dbus:/run/dbus:ro --network=host
267 docker run -d --name homeassistant --priviledged --restart=unless-stopped -e TZ=AEST -v /etc/homeassistant --network=host ghcr.io/home-assistant/home-assistant:stable
268 docker run -d --name homeassistant --privileged --restart=unless-stopped -e TZ=AEST -v /etc/homeassistant --network=host ghcr.io/home-assistant/home-assistant:stable
276 docker ps
280 history | grep docker
I would strongly recommend you to use a compose file. It can look like this in your case
services:
home-assistant:
container_name: homeassistant
privileged: true
restart: unless-stopped
environment:
- TZ=AEST
volumes:
- /etc/homeassistant
network_mode: host
image: ghcr.io/home-assistant/home-assistant:stable
Run nano compose.yaml and put that inside.
Then run docker compose pull and then docker compose up -d. In the future this is all you have to do to upgrade again.
I recommend you do a backup first. Upgrading always comes with risks.
Assuming you want to stick to what you have now (why?) you can do this
docker stop homeassistant
docker rm homeassistant
docker pull ghcr.io/home-assistant/home-assistant:stable
docker run -d --name homeassistant --privileged --restart=unless-stopped -e TZ=AEST -v /etc/homeassistant --network=host ghcr.io/home-assistant/home-assistant:stable
You can see how this is much more cumbersome.
Damn. Never run Nano before. I normally use the editor within MC. How do you save n exit?
Take a look at the bottom for shortcuts. CTRL+X. You can use another editor you're comfortable with. I don't mind.
All the commands are there but I can only see white boxes fir the shortcuts. Thanks.
Damn. Same thing again. DOS format.
What does it say exactly?
Help, DOS Format, Append, Backup File Cancel, Mac Format, Prepend & Browse
Hmm. I'm missing a bit of context. Can you share a picture of that? https://imgur.com/upload
At the bottom of Nano, after pressing Ctrl-X, then 'Y", the next prompt is what format or file. I'm assuming DOS Format would be best.
It never asked me that. It just says Save modified buffer? for me.
Oh I see you're in the file name section. Just press enter. Sorry about that.
Seeing that this 'compose.yaml' file is now stored at '/root' I guess I need to move it into /etc/docker before running the docker compose pull?
No. You just chose to put the volume (or rather the mount) for homeassistant there. The file can live somewhere else.
Backed up & downloaded.
Generally one should not use the /etc directory for their own purposes.
docker compose pull
docker: 'compose' is not a docker command.
See 'docker --help'
Your docker must be really old.
We should get that sorted first. Please share what dpkg -l "*docker*" says.
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-=======================-============-=================================
un docker-doc <none> <none> (no description available)
ii docker.io 24.0.5-0ubuntu1~22.04.1 amd64 Linux container runtime
root@server:~#
The 24.04 LTS update is due sometime this month.
Sorry. Was busy. I recommend installing docker from the source: https://docs.docker.com/engine/install/ubuntu/
Otherwise you can try apt install docker-compose.
The 22.04 (Jammy) release is not available on the docker site so no docker-desktop but after installing docker-compose the docker-compose pull works.
Pulling home-assistant... done!
Yay.
Creating homeassistant ... error
ERROR: for homeassistant Cannot create container for service home-assistant: Conflict. The container name "/homeassistant" is already in use by container "e1d7d9631e0977d997fe1876c5b76d90102a5914353c2476bda2306eab2ea4fa". You have to remove (or rename) that container to be able to reuse that name.
Where is this to be able to rename?
Run this first
docker stop homeassistant
docker rm homeassistant
I haven't worked with plain docker in a while π
Thanks. Now I have an empty HomeAssistant. How do I pump my backup in?
Hmm. It should not be empty. We used the same volume so everything should be the same just a newer version.
You can put the data from the backup in /etc/homeassistant.
Oh I think I see why.
The mount was wrong. I'm so glad you made a backup.
Instead of
volumes:
- /etc/homeassistant
it should look like
volumes:
- /etc/homeassistant:/config
It was always wrong and /etc/homeassistant is probably empty.
I suggest you change the compose file with the fix I mentioned. Then run docker compose up again. It will re-create the container.
This time it should create the directories and such.
Then run docker compose stop and replace the contents with those from your backup. The created files should make it trivial to see what belongs where.
The next start should have all working again then.
/etc/homeassistant doesn't exist and /etc/docker/ is empty.
Personally I prefer doing something like - ./haconfig:/config for bind mounts so my data and the compose file are near each other.
This will create a directory in the same path where the file is.
You might be using docker from the snap store or something. I don't use ubuntu myself. /etc/docker exists for normal docker installations.
hello guys, hope you all are doing great. I am getting this error in my initial setup of HA
24-05-10 10:26:30 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not healthy - supervisor
So I assume you don't have access to the frontend? If not please run ha supervisor logs in the CLI.
I am using Raspberry pi4 4GB and HA OS 12, and now my installation is stuck cant open HA
If you haven't set up SSH yet you need a keyboard and monitor to run the command.
/etc/docker is still empty but /etc/homeassistant exists and has contents. Yay.
I got connect with the HA CLI what should I do now?
Run ha supervisor logs: #installation-archived message
I did
Share what you see.
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.
You need access
To share images?
This image is not publicly accessible. Try yourself in an incognito browser window.
That's better but the logs seems to be older.
Not sure what causes that error. Can be a few things. Can you share what ha network info says?
You can try ha supervisor repair and ha os reboot and check if you can access the frontend afterwards.
Looks okay to me.
Thanks @raven forge I will try restarting it.
Hello!
I canβt access the login page. I never had access to it
I will try to explain the network setup I have.
I have an internet modem (PPoep) -> ASUS wifi in router mode ( because of the PPoeP I canβt use it in AP mode because only one of my 3 routers will work after)-> 3 ASUS wifi routers in router mode ( one of them is the wifi I connected with my VM)
Please helpβ¦ π« πββοΈπ«£ I need really bad home assistant and I literally messed with my wifi setup for 4h and still nothing
You need to make sure that all your WiFi routers are on the same subnet - things are connected by LAN not WAN
And this should resolve the problem?
The error I have on my browser is βinternet access blockedβ
Yeah, you need to start by unfucking your network
π« π«£ I donβt know how or what is fucked in my network πββοΈ
If I buy a home assistant green, and plug in to the first main router, can I access it from another router? Or is the same problem?
Almost certainly the same problem
Can you please help me with βa listβ more or less of what is needed for it to work? So I can check it and make it work , like the subnet to be the same.. some basic stuff that I definitely donβt know
Sure, give me 5 or 10 mins
ππ» thank you very much
Hi. I installed HA on Oracle VM. After installation and start-up of HA, i can ping the IP, but when i connect on the port with Chrome (192.168.xxx.xxx:8123, the PC is crashing, blue screen : PAGE_FAULT_IN_NONPAGED_AREA. I have deactivated the memory cache, but still crash . Any suggestion ? Could it have to do with the Network adapter settings ? Shall we leave all settings by default except of bridging ?
I doubt also about the VM adapter default setting. If I choose auto conf of the adapter, it creates a network that is not in my local network...
Im also doubt is I shall leave the DHCP server of the adapter activated.
Need help please, in the tutos on youtube it always seems so easy... but the reality is different...
https://www.home-assistant.io/installation/windows#hypervisor-specific-configuration tells you the settings to use
thats the problem, I followed carefully all instruction...
Then you'd have a bridged network - your local network
@umbral badger You must have picked a username and password on the first time you loaded http://homeassistant.local:8123/ Use the same one on your phone
if you didn't save it or don't remember it already, but didn't do anything on your HA yet, then it'd probably be the easiest to just install it again and go through the setup from the start
Is it possible to enable the Raspberry Pi hardware watchdog to restart HASSOS if it ever freezes? i am experiencing that HA is freezing on me, and i have to powercycle my Raspberry Pi to get everything up and running again, and while i am debugging the issue itself, i really need the controller for all my house lights and automations to automatically correct itself from a failed state. :/
I have this code:
show_icon: true
type: button
tap_action:
action: url
url_path: app://com.samsung.android.oneconnect
hold_action:
action: none
name: Samsung
icon: mdi:home-automation
theme: Mushroom Square
icon_height: 50px```
I wanted it to open not the main page in the app, but a specific device, e.g. a dishwasher - how to do this?
@limber plinth To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.
However, your question is not about installing HA/fixing a broken HA install, so you're in the wrong channel π
The #frontend-archived channel can probably better help you
@humble mirage hehe last time i asked more or less the same question you told me to use this channel π but no problem iill try frontend
That was a reply to the message above mine - if it had been to you I'd have done this
Understood π
And I'm petty sure there's no support for the watchdog, but somebody else may know moe
Really seems like an oversight for something that people gives this level of importance in their smart home..
Feel free to help develop that support then π
Pfff, that would require me to actually have the skill-set for that - No, I need other people to do the actual work! π
hello everyone i recently tried to install zigbee to mqtt on my home assistant running inside of a vm on windows, except that since i installed it, it immediately stopped working. all the buttons in the interface did nothing, so i restarted the server, and now i can not access home assistant at all. my phone cant, my laptop cant, wether its with home assistant cloud or directly, with the ip address or homeassistant.local:8123... nothing really works.
any potential solutions? i also tried using the CLI to remove mosquitto and z2m but even the keyboard doesn't work
according to nabu casa my instance is not even connected to home assistant cloud
even though it was connected even minutes beforehand
browser error is: DNS_PROBE_FINISHED_NXDOMAIN
Have you tried the IP address (and port)?
yes and it doesnt work
Also, what is HA running on? Pi? VM? Something else?
vm inside of windows
Then you have a console in the VM software
If that doesn't work, power cycle the VM
i already power cycled it and for some bizarre reason virtualbox refuses to receive any input from my keyboard
ill try again
If that all fails then the VM is probably corrupt. You'll want to create a new VM and then restore your latest backup
yup vm is corrupted. i dont need to backup since this was deployed literally minutes ago
thanks for your help
it worked for a few seconds then stopped working immediately. its the z2m addon thats causing this, the vm actually seems to be doing just fine
Lots of people run that add-on without problems
The only likely cause would be if you'd undersized the VM
That should be fine if you're not using VSCode
Did that work?
:<
My HA has been crashing the last week. It'll be unreachable via app, nabucasa link, or local web browser. The error I am seeing repeatedly is:
2024-05-11 07:51:14.197 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.
Sometimes a hard reboot brings it back but it seems like it's only a matter of time before it crashes again. Any help is greatly appreciate!
Guys I installed ha in oracle virtual box in a perfectly working laptop with good specifications and everything works fine ( I get all the checks with the ok/success results ) and just when I try to open the link http://homeassistant.local:8123/ the laptop holding the ha crashes and forced to be restarted . Please help me through this situation guys and thanks in advance .
Hi guys, I have a Raspberry Pi 5 with Ubuntu. Iβve installed the Imager software v1.8.5, and Iβve selected the devices and OS, but when I try to choose the SD card, I donβt see anything. Why is that? (I have a 32GB SD card in the Raspberry Pi).
Are you trying to flash the SD Card you're running the OS off of?
I have a RPi 4 running Pi-Hole and Iβd like it to also run HA. Whatβs the most graceful way to do this?
probably docker, tbh
dunno if pihole has a docker image, but you could install base docker+portainer, HA and pihole as containers
Or HAOS + the Adguard addon, which is an alternative to PiHole
can someone help me with proxmox installion for home assistant
I'd recommend running HA + AdGuard add-on on a second Pi (or VM on another machine) and keeping the Pi-Hole one running. Configure your network to use AdGuard as the primary DNS and Pi-Hole as the secondary DNS. Why? Because when HA is rebooted, you no longer have a working DNS server (so no internet), but with Pi-Hole as the secondary you'll have redundancy.
.955 ERROR (MainThread) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2024.5.3: 404 Client Error for http+docker://localhost/v1.43/images/ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2024.5.3/json: Not Found ("No such image: ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2024.5.3")
.956 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retrying in 30sec
I think it's trying to install 2024.5.3, even when 2024.5.2 is the newest. How to fix?
New design? Doesn't work well on mobile.
Yeah, what's the issue on mobile?
yea i dont know why the script doesnt work
i am just gonna dowload portainer
It wouldn't even be the same. One would be HAOS and one would be a docker image.
just when executing its fine but after some time it gives me a fail
That doesn't help much.
i will rerun the script and tell you the result it could be an one time thing
it started fine now
i guess it was an one time thing?
We cannot tell you anything without some information. What did you see?
it just started now
last time it said it failed to exectute a line
i dont remember the line it told
You could scroll up?
cant
it reset the logs
because i left shell for a bit
also the auto container it made
or os
how can i edit the ram it has
i dont want it to have 4 gb its too much
2 is fine
because i have limited ammount of ram
VM > Hardware > Memory.
yea i did that and i just realised that it needs a reboot
being new to proxmox is overwelming
but eh
I'm overwhelmed by the amount of your messages π
yea sry about that i just type a lot of messages instead of one huge one
shit
starting home assistant rn and it says jumping into emergency console should i be woried about that
should i just reboot the vm?
ok nvm i guess it just failed the first time
https://ibb.co/4ZJjx1L
hey @raven forge i am still getting these stuffβ¦
also it booted with slot B instead of A..
I'd check the host and supervisor logs for hints. Not sure about the CIFS mount. I remember an option to set that in the frontend.
Hello, i got an issue with connecting my Tasmota plug via MQTT to the Mosquitto broker addon in HAOS.
the logs:
2024-05-12 19:46:11: New client connected from 172.30.32.1:57447 as 4ytvMdVqCJblt7OuGpgnV0 (p2, c1, k60, u'homeassistant'). 2024-05-12 19:46:28: New connection from 192.168.0.153:57204 on port 1883. 2024-05-12 19:46:28: Client DVES_15FEA4 disconnected, not authorised.
in the connection parameters of the plug im using the client 'homeassistant' and the host '192.168.0.238' which already worked before without providing a password. now for some reason it seems to require auth. could the issue lie in the go-auth plugin?
just resolved it by creating a user with password
Has anyone had any luck installing HAOS onto a Raspberry Pi 3B+?
Trying to do a docker install of HA (for specific reasons) but I'm unfamiliar with docker, trying to follow this tutorial using docker-compose.yml but I'm confused on where they're actually getting the home assistant image from: https://www.tim-kleyersburg.de/articles/home-assistant-with-docker-2023/
I don't see a step that shows them downloading the home assistant image, it's just referenced in the docker-compose.yml as image: lscr.io/linuxserver/homeassistant
Is this image just built-in with docker, or do I need to download it and put it in some specific directory?
Why not use the actual official instructions?
There are no official instructions for docker I can find at https://www.home-assistant.io/installation
Am I blind/stupid?
Where did you find that?
Gotcha, so I am blind
Again, the HA-offical guide suffers from the same issue
Where is the image actually coming from?
It tells you exactly how to run it
I see in both the cli and the docker-compose.yml file it makes a reference to ghcr.io/home-assistant/home-assistant:stable, is this a url to the image or a local path?
That's not what I'm asking
Are you familiar with docker at all?
you just follow the instructions, there's no secret sauce of downloading other stuff
No, but based on a long discussion I had last night with everyone on here docker is the best for my use case
Youre not understanding my question
then just follow the instructions
How does docker find the image?
So you just don't know
do what it says
Bro... I can do what it says but I need to understand how docker works so I can set up other services in docker
you really don't
I'm sure you can find the info on the web
it really doesn't matter
give it an image, it pulls it
It's fine that you can't help me -- if anyone else can I'd be appreciative
My question boils down to: where is docker getting the image from? Is there a config file that has a list of repos it pulls from? Is there just a standard library of docker containers and I can only use those? If someone could link resources I would be very appreciative.
The image can come from different places. If you see a reference like ghcr.io/home-assistant/home-assistant:stable you can see that the ghcr.io registry is used. In this case it comes from here: https://github.com/home-assistant/core/pkgs/container/home-assistant
By default the docker registry/hub is used so if you see something without a domain like homeassistant/home-assistant:stable it would come from here: https://hub.docker.com/r/homeassistant/home-assistant
In this case we refer to the stable tag for that image.
Getting the actual layers is a bit more complicated to explain and there's builds and tags for different architectures. There's manifests and such that let docker know what to actually download.
Thank you this makes sense
is there any limitation of size for restore?
Moving from a PI4 to Pi5.. and after a fresh new install to a seperate USB SSD disk I select restore..
I then start uploading the .tar file thru the web UI, but within 10 seconds I get:
Upload failed
Failed to fetch
The tar file is on a wooping 11Gb.. any suggestions for next step? How do I access the logs in the setup phase ?
(HassOS installation)
The docs tell you to upload that using Samba
Basically, do an install, do the onboarding, install Samba, upload the backup and then restore
Why is you backup that big?
MariaDB I guess...
You should check π
core_mariadb.tar.gz - 9.92Gb.. :/
Do you use the default recorder purge time? HA devs recommend SQLite btw.
no.. I dont.. and I switched to Maria just because I want to keep records for 1y +
Increasing purge days is not really needed due to long term statistics. I also don't see why MySQL would be better for that. Nothing wrong with it, just unnecessary. I recommend an actual time series database for long term granular stats.
yea.. agreed.. looked into InfluxDB and Gafana.. but really want to "keep it within HA".. but totally get your point..
I should no matter what defenitly review the settings and what is beeing stored etc..
Sometimes, it makes sense to keep some stuff outside of HA. At least imho.
Backups for example 
π
seems to be solved.. backup is now SSHed over to the new Pi5 and I can select it as restore.. just need to get back home so I can move the "Razberry" extension board before doing the restore...
q.q: The restore will also install all the addons, right? Or shall I do that in advance ?
Yes, but.
given that the .tar includes "core_mariadb.tar.gz" it looks like the whole docker image is backed up
After the restore you need to reboot the host (not just restart HA) for add-ons to work propery.
And you might have to adapt some settings (e.g. device paths)
got it!
anyone got a sqlite3 command to find out what version my home-assistant_v2.db is ?
about a year ago this thing failed after an upgrade
and im pretty sure im running the wrong version
so i was going to downgrade to what was specific in the db file
You can just look into the scheme versions table
But realistically ha should always upgrade it to the right scheme and there is nothing to do
where would i find that ? i have sqllite db browser open on my computer and im not seeing it
there are both a table for migration and schema changes
Even tho this is a bit uncommon solution
from the HA prompt.. any way I can get status for an ongoing restore ?
ha jobs info, ha supervisor logs -vf. I don't know of any "proper", or rather, more specific, way.
thanks! ha jobs gives quite some info..
assume that:
done: true means that the job is completed and:
errors:[] means ok ?
Basically an empty array/list of errors. I'd call that good.
well.. it lists a bunch of jobs. but all of them seems to be in progress: 0 and done: true..
trying a reboot and cross my fingers then!
You can try reloading the page in another tab. Note that a reboot is often needed after restores.
I'd follow the supervisor logs and see if it does anything interesting.
You can trigger a reboot via ha os rebootha host reboot btw. It should be smart enough to block if a job is running/blocking.
ha host reboot seems to work
Yeah my bad.
almost! most seems to be working with exception of the most important thing.. z.wave :/
Failed to connect: Cannot connect to host core-zwave-js:3000 ssl:default
hmm.. new Pi5.. Do I need to disable anything like BT in boot/config.txt ?
are you using the official zwave addon or the zwave js ui addon?
/config/integrations/integration/zwave_js
that's the integration, not the addon
/hassio/addon/core_zwave_js/info
is this a fresh install?
when you install the zwave integration, it should install the addon for you throughout the question process
it's a restore from a Pi4 to a Pi5..
2024-05-13T16:21:52.965Z DRIVER Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK
from the controller (ZW0200)
yeah, make sure the usb port is correct on the new device in the addon
it's a razberry device
serial-by-id
configuration say:
/dev/ttyAMA10
change it to the serial-by-id
where do I do this? can't find the option?
yaml?
device: /dev/ttyAMA10
device: serial-by-id
?
Go to your hardware page, search for the device in the listed devices
there'll be a serial-by-id there
click the all hardware button, scroll down till you see your device
zwave will probably look something like this
expand it and copy the id
I don't think the ttyAMA ones get a serial-by-id as they are GPIO devices π€
If the ZWave module is using the GPIO pins farthest away from the network port, I think that is /dev/ttyAMA0. But not 100% sure, if that also applies to the usual RPi HAOS image.
yea, it's the ones furthest away..
also added this to the /mnt/boot/confix.txt
[all]
dtoverlay=disable-bt
dtoverlay=disable-wifi
enable_uart=1
have this in HW:
Subsystem:
tty
Device path:
/dev/ttyAMA10
which is the one used in the add-on config
π Got it working!
Was missing: "dtparam=uart0=on" in the /mnt/boot/config.txt
added these lines in total:
[all]
dtoverlay=disable-bt
dtoverlay=disable-wifi
enable_uart=1
dtparam=uart0=on
usb_max_current_enable=1
then I got the /dev/ttyAMA0
To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.
whenever I boot up, it keeps restarting and is now completely unusable. I get this error repeatedly. I can run HA in safe mode, but that's it.
ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/core/state: [Errno 104] Connection reset by peer
Any help is greatly appreciated!
and then these sorts of errors in core logs:
ERROR (MainThread) [homeassistant] Error doing job: Exception in callback <_asyncio.TaskStepMethWrapper object at 0x7f73d48f70>() Traceback (most recent call last): File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) RuntimeError: Cannot enter into task <Task pending name='Task-8042' coro=<BaseSelectorEventLoop._accept_connection2() running at /usr/local/lib/python3.12/asyncio/selector_events.py:213>> while another task <Task pending name='Task-184' coro=<WebSocketHandler._writer() running at /usr/src/homeassistant/homeassistant/components/websocket_api/http.py:138> wait_for=<Future finished result=None>> is being executed.
Hi, anyone experienced with securing HA with Cloudflared and Certificate based authentication?
Just read a tutorial but I donβt know if itβs only available over the CF secure access feature.
Just want to challenge a certificate for accessing via web or app.
@fringe karma if there is no problem in safe mode, then you probably have a custom integration, causing a problem
Installation VM
can anyone help me with this? ^
I tried to turn off all the custom integrations in safe mode and I restarted and still had the same issues. Is this just custom integrations? Custom add ons? Or custom front end? Or is it all of them? Is there any way to see what might still be turned on that I'm missing?
Hi, anyone experienced with securing HA
Hello, i'm sharing my working method of virtualizing HAOS in virtual box.
- extract the .img.xz image with 7zip. (haos_generic-x86-64-12.3.img.xz)
- use rufus and load the .img. (haos_generic-x86-64-12.3.img)
- create in computer management a virtual VHD file and mount it.
- Select it in rufus as the target and burn the image.
- use the VHD file in virtual box - add it as HDD and boot from it.
- start the VM, some one time scripts are running during first boot.
I recommend you to stick to the official docs: https://www.home-assistant.io/installation/windows#install-home-assistant-operating-system
You're using the wrong image. It's not meant for VMs. There's a vdi available. See link.
thanks a lot. what would be the official method for bear metal installation ? the proceedure with ubuntu boot and image transfer to the local HDD ?
This one: https://www.home-assistant.io/installation/generic-x86-64
I don't recommend bare-metal for x86 machines.
yes, this is what i meant.
Method 1 (recommended): Boot Ubuntu from a USB flash drive and install the Home Assistant Operating System from there. It also works on laptops and PCs with internal hard disks.
Different Network? I wish to move my 192.168.1.170 RP4/HA to another network 192.168.1.14. On the new network I don't seem to have any connectivity to my Z-Wave devices or my Wiz (Ethernet). Is there something I need to change in going to another network?
ok, and i found the "how to change IP addresses" article
i just bought a 60 year old house that's been reno'd a few times. how should i host my new home assistant instance?
is it ok to throw it in a docker container on a 6 year old sonology or should I be looking for newer stuff
That would be ok, but not quite optimal. Especially if you want to do things like Zigbee or Zwave. I would just purchase a cheap mini PC and run it there. Youβll have a much better experience.
alright cool - is there a machine that y'all recommend as a good solution or is that left up to research
I'm going to be amazon buying blind
I dunno what keywords to use, even, lol!
it'll be living in a rack if that matters. doesn't have to be rack-mount
Ummm, obviously the HA green lol π , but really most Intel NUCs are good. But, while Amazon is good, I would grab a used one off of eBay. Thereβs no reason to break the bank if you donβt have to.
I'm completely new, so please excuse stupid questions. The HA green is powered enough to do everything one needs?
We were all new once. No worries! And yeah, the HA green is powerful enough for sure. Sourcing one might be a bit tough, but Iβd still recommend a mini PC (Intel NUC). The green is great, but a mini PC gives you room to grow. More RAM? Sure. Bigger SSD? Not a problem.
awesome! ok, which generation nuc should i be looking for? the new ones look super spendy
Anything from the past 3-4 years is fine.
Doesn't need to be a NUC specifically. I use a Dell Optiplex 3050 that I bought refurbished on eBay a while ago. It has an i5-7500T
It was about 100 USD IIRC
I am moving my HA to a reverse proxy. I am using nginx proxy manager.
it is not working π¦
I'm getting a 400:bad request error
if I try to do it in host mode, I get a 502: bad gateway error
I can access the device locally
@grand pivot you reacted to my message, any idea what's wrong?
I have everything in docker containers.
You've got logs from both NGINX and HA, both of those will help you, and help us help you
We're not mind readers
how can I skip onboarding?
#developers message
Just restore a backup
Hey, i have problems with my installation. I have wiped my ssd, installed ha os and plugged it in. after 10 min. Nothing happens but the ssd is writing all the time
What device do you use? How did you flash HAOS? Is a monitor connected? What does it display?
nahh i dont have a micro hdmi cable, i will look tomorror for one. I have a raspberry pi 4 and installed it about the raspi imager
i flashed it on an external ssd and plugged it in over usb.. the problem is. I have allready a working instanz but i dont have any idea how to clone this ssd to the newer with more volume.
The question is, how can I clone my ssd without getting root access to fully use my new storage
Hi Everyone, is installing Home Assistant via rpi-imager the correct way?
I have a RPi 4 with Sonoff dongle. I tried to install it using rpi-imager. Selected Raspberry Pi 4 (Model B, 400) then Other specific-purpose OS -> Home assistants and automation -> Home Assistant -> HA OS 12.3 (RPi 4/400)
I already flashed like 3 different SD cards. It did succeed at one point I was able to see the console but I was never able to browse to the HA GUI even when it supposed to work (responding to pings but nothing on the port 8xxx). I flashed again to a high performance SanDisk SD card, it booted up but this time Home Assistant CLI never managed to make itself ready, failed over "[WARN] Home Assistant CLI not starting! Jump into emergency console"
Isn't easier to install this by hand from Raspbian like Linux people do it without this preinstalled crap? At least i have a SSH terminal to see what is going on.
ok I reply to myself. I think the problem is with it not being connected to the Ethernet. I reckon I have to do it all over again as it is corrupt. But why Internet connection? Collecting some data? Not good
It needs internet access to pull docker images. It is not collecting or sending data.
ok, cool, thanks for clarifying. I thought it's pretty much ready to go once flashed.
ok, cool, thanks for clarifying. I
I've been running HA in a docker in Host network mode. I'm looking at moving it to a custom docker network, but when I made that change, I could no longer access the UI. Will it run OK in a custom docker network, and if so, what other changes would I need to make?
If properly done this will work but also break things. Host networkong is required for a lot of things. Why do you not want to use it?
Well... Going to a custom network seems to be the thing to do for many things, so I thought I'd custom all the networks. If it's not recommended, then I won't.
I have multiple networks setup in my docker config, but HA only uses host mode because I ran into a lot of issues otherwise. In host mode, it works flawlessly and I can still use ip and port addressing to hook up all my other containers.
Thanks. Sounds like this particular step was misguided. It's already back on host mode so I could access it, and on host mode it will stay.
struggling with getting a full restore from a back up installed on my rpi3 b+.
I tried to install an update the other day and it bricked the system.
So reflashed HA on the memory card and am trying to restore the backup and it just hangs.
Backups can take a while to restore, especially on older hardware/sd cards, etc.
I have done this before many times without issue.
Also depends on the size of the backup as well.
11mb and 5mb are the options im trying
Oh those are tiny... π€ So, if you connect a monitor and keyboard to the rPi, do you see the HA logo and login?
hmm. haven't tried that. just doing install from the homeassistant.local webpage where it asks to 'start' or 'restore'
Right, but you'll get better info about what's going on by using the console.
(and the logs)
goes to see if i have a really long hdmi cord
thought maybe the sd card gave up, so got a new one. still having same issue.
I don't want to start from scratch AGAIN.
I don't blame you... but first you need to get to the console to really see what's going on. If it's really hung up, it could be a couple of different things.
i have about 4 different backups to choose from. the largest is 41MB from march.
Issues are stemming from z-wave stopping to respond causing me to reboot the system daily.
but last time it was an update and the system stopped responding. so thought i would just restore from backup and still having the issue.
I will get a monitor connected and report back. i think i threw out the long cord so will take time to move a monitor over there.
Ahhhh gotcha... yeah, get to where you can get to the console and we can try some things.
@proven grove How do you insert picture here?
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...
actually give me a sec
sighs gotta love youtube. Sometimes they are helpful than google
now I'm proceeding back to install
lol ok.
for some reason I can't set static ip. you have any guide to make sure i got it working
keeps throwing an error every time i try to restart the network
In a VM? The easiest thing to do is setup a DHCP reservation. Otherwise, I think itβs in Settings > Network.
Whatβs the error?
You mean in HAOS?

