#installation-archived
1 messages · Page 8 of 1
The app is just a UI, like Chrome, it has a few sensors and things it can report back, but it's not Home Assistant
And when tinkerer says like chrome he means it. HA app is basically just a glorified web browser
If you're new to IT in general, all services need to "live" somewhere, on some computer, for your client to communicate with.
That computer is typically referred to as a server, even if it's a Pi, or an old PC.
Things like the Hue app connect to a hub device that is the server, none of the smarts run on the phone, they all run on the hub. Home Assistant is exactly the same, you turn some computer in your house into a "server" that's always on.
Just like with a car if you turn off a computer it's no longer going to do anything other than sit there (or possibly roll downhill with the aid of gravity).
How to solve a "invalid authentication from supervisor (172.30.32.2): from the 64-bit pi3 image from Getting started?
Notification is already there when you name your HA (my struggle thread https://discord.com/channels/330944238910963714/1044185121684725771 )
Did you set your http proxy?
No, the notification is there already direct after the onboarding steps
I am stuck on "Preparing Home Assistant"
Click the blue circle, it hides logs
it says install failed
@humble mirage how do I fix that?
No idea, without more than a couple of words from the log nobody can help you
@raven prism Please use a code share site to share code or logs, for example:
- http://pastie.org/ (select YAML for the language)
- https://dpaste.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.
yeah but its plugged in and everything
22-11-22 01:46:06 WARNING (MainThread) [supervisor.utils.whoami] Can't fetch Whoami data: Cannot connect to host services.home-assistant.io:443 ssl:default [Try again]
Is it plugged in to a working Internet connection?
yea
Are you doing anything funky with DNS?
@raven prism When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
Either you have a DNS problem, or you've got problems with your internet connection
Or both
Unlikely
I have google wifi is that why?
Also unlikely, but is your Pi wired in to your internet, or are you using WiFi?
No idea, somebody else likely will though
now its downloading something, is that a good sign?
Hey, i installed home assistant on a rasberry pi, how can i use it with wifi instead of ethernet connection? 🙂
Okay trying a reboot with Google DNS instead of Cloudflare might help?
I now got the supervised installer to run successfully after reinstalling debian multiple times and now it is running only hassio supervisor in "docker ps"
its been like this for 25 minutes
nvm it was dns error
and lately I hope someone can add it in to the instructions but dns probing needs to be enabled be default so it needs to be set in /etc/sysctl.conf if it isn't set people could get an error failing to install any hassio addons, community addons does work and custom repos
open an issue in github?
I mean mtu probing 🤦♂️
also why do you need to use supervised? its really the worst installation method for most situations
I got the fix from a github issue, its just a very common problem
I'm studying linux and I find it not that hard just a bit frustrating
and its easiest to fix
I tried to use home assistant os on a vm with proxmox and it was so bad, I tried to install duckdns but got the exact same problem and couldn't be fix since sysctl.conf file was locked and read only
hm no idea never used that addon
homeassistant os in a vm seems to work great for me
you defeitly havent been living in my life , everything complicates itself I had home assistant set up with alexa and google then I followed the exact same steps but in a vm on debian and I got google to work but not alexa
I'd argue HA Container is easier to fix/maintain
For the fact I do kinda understand everything I do I can kinda argue back I love Supervised wayyyyyyy more than the vm stuff , it was litterally impossible to fix home assistant on a vm cuz of the terminal and had to get ssh to work but I'd say I am happy where I am now
I'm basically an installer for home assistant so I need to know whats up
just make sure you follow the Supervised requirements exactly
I always do
reward is bugs that kills your HA
and just like that duckdns is now installed after I set up the dns and set mtu probing to 1
No thats only if you keep messing with the settings
also HA Container is not HA OS
observer is the only thing that starts here....and i didn't mess with any settings
just seemed like an odd response to mention VMs when i mentioned HA container
Yeah it is almost the same Vm is just meant for windows linux etc, containers are used on almost any os ranging from linux to windows and they are made by docker, I also use docker-compose for a lancache server
VMs are not almost the same as containers 😅
yeah Containers are more code alike
Docker is just one way of doing containers
The concept pre-dates Docker by some considerable time
on a scale of 1-10, how screwed am I? Just started happening this morning. https://i.imgur.com/BYjP3nu.png
I haven't a clue what's going on
I get this when going to my instance URL: https://i.imgur.com/RLfqRUb.png
the cli "works", and it does have an ip but nothing else works
i keep getting what seems to be drive erros
The disk is dead/dying
If you have backups that aren't left on that machine, aka are actual backups, then you're good
Yeah
that's insane
No, it's not
6 month old samsung ssd
oh then thats very strange
Shit happens... it could be a simple power/cable fault
Something could've bumped the server overnight and got the cables loosen up and could cause data loss like you are currently seeing
fun
what the
this drive has been used for 42000 power on hours?
that's like
5 years
wait
nevermind that's a different drive, this drive has 91 power-on hours
drive health seems fine so it shouldn't be that
okay, unplugged and plugged the drive back in
hopefully it works now
How to say you're an IT pro without saying you're an IT pro
Hello everyone, I am hoping someone can provide some assistance. History: Running HA via virtual box for a year, last night something happened to my VM and I could not restore it with any of my snapshots. This morning I have installed Hyper-V and the latest HA OS 9.3.vhdx. I have create 3 different VM's trying to get this to work. The issue I am having is after the CLI loads and I get my URL it I cannot get past the local login screen. I have googled for the last couple of hours and I am just stuck.
nope it's still completely broken https://i.imgur.com/vntOL50.png
NEW ERROR https://i.imgur.com/nPbalD4.png
You have a broken storage device
yeah this sucks
i guess i'll try to export everything I can off the drive and find a new one
that's so weird
it's a basically brand new samung ssd
This is why we take backups 
i do have a backup
i just forgot to backup my config before i made a bunch of changes
You don't have automatic backups?
i do not

i was going to but i couldn't get the addon to work
now time to download a 64 gb backup 🙂
all I can say is Samsung will be getting an email
I'm sure they'll replace it with one that's free of your corrupting data
would a power loss break a ssd though?
Simple power loss no, a power spike through the PSU could
So like a power surge?
side question: is there an easy upgrade path from home assistant OS to home assistant docker?
the only thing I worry about loosing is my zigbee2mqtt config
everything else I really can replicate easily
and believe me when I say I do not want to go around resetting every single ZigBee device
Can anyone help me set up my pi? I have got the ssd loaded up with HA OS 9.3, set up WiFi and I'm good to go, ish.
When I try to load up the Web UI, it just won't connect
Is the Pi connected to WiFi?
Yes
Can you connect to port 4357 on the Pi, instead of 8123?
Yes. Says connected, supported and healthy
Oh, hang on. I now have a creat user page
Is that it?
Yes, if you hadn't already done onboarding
onboarding = first time setup
Thanks guys. I am not very technical
It's worth taking the time to read the getting started section of the docs then, and the glossary
Will do
Thanks
Thought I'd wing it, but it's way over my head. I'll get on that now
HA is quite complicated, but that's a side effect of it being very powerful and flexible
2 things....
1 - it's going to get much harder
2 - it's worth the effort
Well, I'm set up a bit. I have no smart devices at the moment, so shopping is the next part
Thanks tmfor the help guys
Go Zwave or Zigbee over wifi where possible(not always possible).. save yourself a few headaches.
In order of preference, Zwave -> Zigbee -> wifi
In terms of cost, Zigbee is almost always cheaper than ZWave though
IMO
Simple guidelines:
- Don't buy Tuya without a lot of careful research
- Don't buy Sonoff's Zigbee sensors, or anything Osram unless it's Zigbee 3.0
Zigbee is cheaper than Z-Wave, but takes a little more effort to ensure things will work together
Still, that massive price hike to save you some Google time ... there's a reason I ditched all my Z-Wave 😉
I have a ton of zig stuff but the reason it's not my #1 recco is it uses 2.4 whereas Zwave isn't fighting for airspace with other shit.
non-issue if you live in the boonies, can be an issue if you live in a dense area
Yeah, but that's a caveat that's to be mentioned, rather than buy Z-Wave
You don't even need to be in the "boonies" to find quiet space for Zigbee
yaya, s'why i said ordered of preference.
https://i.imgur.com/N0Zi9Yk.png
2.4 can get crowded lol
My first job is to automate the bathroom lights. Those halogens are crippling me
Late reply, but did you use the beta superviser by any chance
Also, is the home assistant hub OK to live in my loft? I have power and ethernet up there thag I was going to run through a PoE switch
@placid sage is it hot in your loft? also, consider how hard it is to access, and how often you will need to touch it.
Especially if HA is bare-metal, and you update often, it will occasionally scre up.
Mine is on a shelf that I need a ladder to reach, which is a pain, and doesn't win me any favours with the wife
Didn't think of that. Loft can't get quite warm in the summer. Do I need to access it often then?
full vm backup doesn't work
same error, but this time with "cannot connect to docker daemon"
*this is running on my laptop with vmware workstation
[WARN] Home Assistant CLI Not starting! Jump into emergency console...
Heat is the death of computers and hardware. Avoid if you can.
Does it help that my pi have a 5v fan in it?
Not if it's just circulating hot air
It's all a trade-off. The hotter it is, the quicker it will die.
why even bother.. a pi is tiny
Came with the case
update: workstation is doing it's magic and atleast the VM boots now, hopefully I can save my configs then make a new VM
lesson learned: always auto-backup
yeah this is totally broken
guess tomorrow will be a busy day
excuse to use docker 🙃
I am very new to Home Assistant. I installed home assistant on VirtualBox. However, after I set up DuckDNS, I decided I did not want to pursue that route anymore, so I deleted my domain. This was before ever setting up port forwarding. However, this was after I modified the configuration.yaml file. So basically, I am now blocked out of accessing the UI through VirtualBox. I cannot even reach the login page, though the virtual machine itself runs without any errors. Is there any way to completely reset Home Assistant or reset the configuration.yaml file without actually opening Home Assistant? I have tried accessing Home Assistant through my IP address, which doesn’t work and I have not been able to find a solution online. Any help would be greatly appreciated
hmm, I have recently deployed homeassistant in a docker via portainer in a ubuntu VM on proxmox on a NUC. Lots of other containers already run there, such as nzbget and I am used to being able to upgrade the container by just recreate and all the config remaining. I just did a recreate on homeassistant to pass through usb as I added a zooz zwave usb bridge. However, on relaunch I seem to be back to original login startup workflow, starting from scratch. What I am missing there? I can be rigorous with backups if I need to be, and have not invested a lot of config yet, but was expecting the config to remain on docker recreate.
did you mount a volume/hostpath on /config ? otehrwise the config is saved inside the containers filesystem and will be gone when the container is deleted
hmm, I probably need to do that then, looking a moment
yeah, I missed this, my other containers have the volumes, ok, time to start again 🙂
yep, thats better, recreated post fix, and intial config was bypassed, just had to log in, thanks, got some stuff to recreate now, but not much
hmm, so how does HACS work then, I will need to install that to get Meross garage door opener working as I understand things, but if that is installed inside the docker, then I will need to redo it on any recreate anyway?
you can try editing the config on the vms console
it is installed in /config as a custom component
so aslong as you mount a volume on /config you should be good
Thank you. Is there a list of commands that I would use to help me with that?
sounds good, now to track down the instructions for HACS again!
wow, I am now lost on getting my meross working via HACS, I did it litterally two day ago, just got the number off the device attached to the opener, and made it work.
now I am lost in acounts and passwords, I must be doing something stupid
got it, lost in my own password maze
New Raspberry PI OS install - Stuck on the Preparing Home Assistant screen for 20hrs
Looking to map a zooz zwave usb stick through to a container running ubnutu / homeassistant. I know where to do this in portainer, and that my usb stick appears as /dev/serial/by-id/usb-Silicon_Labs_Zooz_ZST10_700_Z-Wave_Stick_148c6c1dbe60ec11a1c7437625bfaa52-if00-port0 and that I do this in runtime & Resources and add device, use that location for host, but where do I may it to in the container? Should it be exactly the same?
I am confused in general as any youtbue video on adding this seems to be against a completely different UI and I can't find openzwave JS as an integration option 😦
ok, this should be referenced by ttyusb0 rather than the long string, digging
I can now see /dev/usbtty0 in the docker console, so I believe that is mapped through, I don't see it detected by homeassistant 😦 but neither do I see a "z-wave JS" integration...
Looking for help with a new OS install on a Raspberry PI
found help on Zwave JS into container, reading...
@merry marsh I would help you if I could but I still need help getting HA up and running
and its time for "yet another container"...
giving up for tonight, I can't seem to get the container zwavejs/zeave-js-ui to start
Ok, this is a stupid question but I seem to be unable to figure it out .... I have a (Zigbee) device/entity in HA that has a given location. I want to change the location. How do I do that?
EDit: Yup, a stupid question .... but also a stupid UI design .... waaaayyyy on the right side of the entity screen is a small pencil icon - click on that to edit .... <sigh>,
yeah, fixed now.
is this how Hyperion is supposed to be setup?
https://cdn.discordapp.com/attachments/761230504582185020/1044837574885265449/unknown.png
100% would be fun to learn!
heya all!!
I have HA surpervised debian 11 on RPI4 installed and running few months ( 1 year without stop), its size of last HA updates start do something wrong.
Are you actually using Supervised, or are you using Home Assistant OS?
Because.. why?
On a Pi4 HAOS is the sensible option if you want add-ons, Supervised brings nothing but headaches
What is start do something wrong?
try add a addon locally, but not shown on Add-on store.. and then i find this on logs.
Image posting is blocked to try to stop people doing what you just did ... post images of text
Please use a code share site to share code or logs, for example:
- http://pastie.org/ (select YAML for the language)
- https://dpaste.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.
Please share text as text
Oh, and if you made the mistake of running the beta release of the supervisor, see the top pinned message
not beta ^^
I'd be willing to bet that your supervised installation is unhealthy if you've been running for the past year without touching it
Most Supervised installs tend to be unhealthy
FYI the beta bug doesn't affect supervised. +1 for supervised
Ah... so finally something in favour of it... makes a change
Every new feature that's added to the supervisor needs to be enabled on the OS by the user when using supervised.
That one positive point goes a long way to balance out the 42 million negative points 
that its other thing interesting.. i never get that "Unhealthy " message. but rember where supose show, and now (early versions HA) i unable to find that place
show information about your system
that page will show you your system health
those logs are for core, unrelated to your supervisor issue.
Home Assistant 2022.11.4
Supervisor 2022.10.2
Frontend 20221108.0 - latest
settings -> system -> repairs -> 3 dots -> system information
surpervisor show this (:O new thing)
http://pastie.org/p/3mnsHN7XHXwTzysPKomtwM
Your supervisor is fine
so you should explain your problem differently because what you're saying sounds like your supervisor is not fine
and thre's no errors in the logs to indicate it's doing anything wrong
are you simply saying "I cant find addons in the addon store?"
if yes, then just add the addon store URL back for whatever addons you have
i.e. if you're using a community addon, add the community URL back into the addon store.
This Addon " Hass.io Access Point (0.4.3) " should show on addons page (and Store), but not (all other yes). Att, it is a addon added Locally, not useing the link.
I have tryed go to Terminal and do a comand "ha core update" and return "Error: 'HomeAssistantCore.update' blocked from execution, no host internet connection." . executing "ha cli update" returns ".... 'PluginCli.update' blocked from....."
no clue what you're saying here
if you're saying that the addon you're trying to add is local only, i'm not sure that can be done.
well, no it can be done because I'm doing it
Sorry, forgot how and I'm not at home
you probably still need internet connection to add it locally though, supervisor works without it but some things require internet regardless if you're local or not.
installation might be one of those things
thank you for your orientation. i will try other type of troubleshooting at this point. sorry for my bad english language
wtf.. now its showing .. lol
Hi all
I just migrated my HA to a VM under TrueNAS Scale (KVM), they just released a version that has USB Passthrough (I have a Conbee II device for Zigbee). But for some reason it is not working. I do see the device listed in the hardware section. But I have doubts if it's working properly. Is there a way to check via CLI in Home Assistant if there are any issues with the device?
I tried doing hw info from the CLI, but it outputs a big list and there is no unix piping in this environment it seems to do less
Hey! a bit confused, but i am trying to install HA-OS on to a pc, and been following the guide https://www.home-assistant.io/installation/generic-x86-64
But i am confused as it seems that it is just running off the usb stick ?
How do i get it to install onto the ssd in the pc ?
You have to flash directly to the ssd
If you're doing HAOS there's a hardware page somewhere
you have to start with a boot stick (maybe ubuntu) and flash with balana etcher or another image writing tool to your ssd @broken fossil
there is no installer in ha os image^^
okay i see, that makes more sense than removing the ssd from on pc, and putting it in the other to then flash it 🙂
That method also works lol
ok super, because as far as i understand, HAos also have docker in it, so i can use HA as the OS and then run other things such as frigate, node red etc on it as well.
okay, but it is possible to import from 3rd party resporaties? so i could get most things running on it ?
Not unless you're going to create your own add-ons
node red is already in repo^^
HAOS (and Supervised) is an "appliance like" experience - if you want freedom it's the wrong approach
Container is the best approach if you want that
Frigate, Node Red, and lots of others have add-ons already though
Since if you're going to spin up your own docker images then you probably know how to do docker compose files
well i tried first with proxmox, but that gave me a lot of problems making it work with frigate.
Docker compose FTW
Took me about a minute to spin up Frigate that way
Half of that was making sure I had the right devices passed in
maybe i am not as skilled as you :/ so i need a bit more of a GUI experience, than a CLI one, so to say 🙂
Docker compose is basically copy and paste config though, it's easy
at least when it is about shell/bash, i get lost.
Frigate is majority config file editing to set up
Its not scary. And luckily for you docker compose uses yaml to create
yea okay, i spent about 7 hours last night till 3 am, trying to make frigate connect to my unifi rstp cameras, with a link that works for me in vlc, but no matter what i did it refused connection.
So i am trying a different approch now as i see frigate in a lxc container with frigate in a docker is not recomended.
so now i am tired and desperate to make it work some how 🙂
Yes I saw that as well. It shows up there, but the device doesn't seem to be working despite it showing there.
Your welcome to take a look at my logs and setup, I posted about it in #cameras-archived 😅👍
so i now have ubuntu running live on a usb on the pc, and balena etcher, but it wont flash the ssd, says that the resource is busy or locked. 😦
upper right corner settings menu "unsafe mode" ?

Just got a pi4 and have been told to go for an ssd over a microsd for home assistant
I'm happy to buy an SSD today but not sure what I need to be looking out for
My question, how easy is it to migrate from HAOS to a HA instance? There's a few things I keep wanting to do and the HAOS is a a bit limiting, switching OS to ... something
Add-ons, hard, HA itself, trivial
crap
Some may be easier than others, but ... what ones are you using?
Add-ons?
Yes
Also hi, long time, no see. XD
HA itself is just a case of extracting the backup contents and away you go
Oh, not to bad of a list, most of these I installed but I never finished setting up and get using <_<;
so I can start over on those, then it's just AdGuard Home, Duck DNS, Studio Code Server and Z-Wave JS
Well, two of those are trivial to set up from scratch - AdGuard and Code Server
DuckDNS may not exist as a direct option, but the functionality does
And I'm sure the folks in #zwave-archived could help with the last
Oh, now that you said it that way, that make sense, I can move that add-on off too, will have a lot more flexibility on that, okie
Time to.. plan the Migration since there's an aspect of home network that need HA running, (Ad-Guard runs the DNS and DHCP of the network)
Spin up a second AdGuard server first
Hmm, I do have docker installed on this PC 🤔
Running on Virtualbox and today after rebooting after the 11.4 update I am getting this error on my VM. Should I just blow it away and restore a backup? https://imgur.com/a/rnS5n1Y
php? in a haos vm?
Yeah idk what's causing it, I only use addons and hacs
not even that bbmonitor seems to utilize php but who knows what they do 🤷♂️
So im spinning up a new VM to see if the error goes away
probably from this https://github.com/Forceu/barcodebuddy-homeassistant
Ahh that could be it I do have that installed but I don't use it. Once I finish spinning up the new VM ill see if the error still exists and remove the barcode thing
A quick question about SSDs in HAOS on RPi4 - is it possible to use both the SD card and external (USB) SSD at the same time? I can see the option to move storage to the new drive, but in reality I'd have been quite happy just sticking the camera footage on it and leaving the rest on the SD card (which is a high endurance job and seems to work ok). Was hoping to see a second mount point for the SSD that I could point stuff at, but it seems that things don't work like this. Anyone have any experience with this?
(posted originally in #hardware-archived, but probably more suitable here)
hey there. I'm using the HA docker image on my NAS (Synology Diskstation) since some while and i now want to update it. How should I do that? I already did some research but nothing works so far. I restarted the docker container, which didn't work. I cloned the container (in homes that it updates since it points to homeassistant:home-assistant:stable so it should pull the latest stable, right? But that also doesn't work... Any idea? I want to avoid, if possible, to completely recreate the container, since I don't always want to remember the container-configs 🙂
hi, i posted the other day about my hassio install, it installs, runs, i start doing integrations etc, then around the first reboot it loses network access, not just dns, i cant ping my gateway, 8.8.8.8 anything....but a can access it, remove integrations, just cant install any more and they cant access net....ive flashed it a few times now...any idea's?
installed any weird addons?
probably some vpn addons messing with the host/containers networking
Hey!
Yesterday I tried updating homeassistant to version 2022.11.4 (from 2022.11.3), but I think something went wrong, as it got stuck on the install screen for some hours, then I tried restarting the machine its installed, and now it does not start anymore, and I’m not sure how to debug it
It runs on a Raspberry PI 4 using the container version of the installer, and I did a few things yesterday that could be the reason, but I don't know how to pinpoint it exactly... I saw that home assistant was complaining about some issues, and pointing me to how to solve them, there were about 6, 7 of them, which most I manage to fix (I think 2 of them were left), and on one of them I remember I had to reinstall the supervisor , running
wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
dpkg -i homeassistant-supervised.deb
Looking through the posts, I saw that there was an issue with the beta version of the supervisor, i never had the beta version, but im not sure if by running the above I ended up installing it, but it finished successfully, and it continued on running fine, until i did the update
I’ve tried restarting the whole machine again, restarting the docker service (sudo docker restart homeassistant, according to the docs), running the install script for the supervisor (https://github.com/home-assistant/supervised-installer), and also running the fix for the beta version (curl -o - https://version.home-assistant.io/update-supervisor.txt | sh), but none of that solved the problem
Any idea whats going on, or how can I find clues as to what the problem is?
You've mixed two unrelated things in there
You said container version and then Supervised - those things are different
hmmm, might have remembered things wrong, but I do have several docker containers, so I think that means im using the container version right?
Do you have a supervisor container?
let me check
Supervised uses Docker, but it's not the Container install method
If you were using Container then you'd simply have done a docker pull (or docker compose pull) to pull a new version
If you used the UI to upgrade then it was Supervised
I think it was the supervised then, cause I always use the UI to update
ghcr.io/hassio-addons/node-red/armv7:13.5.3
homeassistant/armv7-addon-configurator:5.4.2
homeassistant/armv7-addon-duckdns:1.15.0
ghcr.io/home-assistant/armv7-hassio-multicast:2022.02.0
ghcr.io/home-assistant/armv7-hassio-audio:2022.07.0
ghcr.io/home-assistant/armv7-hassio-dns:2022.04.1
ghcr.io/home-assistant/armv7-hassio-cli:2022.11.0
ghcr.io/home-assistant/armv7-hassio-supervisor:latest
ghcr.io/home-assistant/armv7-hassio-observer:2021.10.0
Those are the only containers I have, seems like theres no supervisor container
ghcr.io/home-assistant/armv7-hassio-supervisor:latest
``` 
the thing is, whenever I go to my home assistant url, it just keeps on the Unable to connect to Home Assistant. Retrying in 5 seconds... screen, and if I go to a private window, it just returns me a 404
That would be a problem with a supervised install
oof, im blind 😅
There’s no Home Assistant container there though,
can that be debugged somehow? im a bit lost still, as they all listed as "Up"
not sure where to look for problems ahahah
you can look at the supervisor containers logs for a start
@potent flower I converted your message into a file since it's above 15 lines :+1:
does it leave any other kind of logs with the full error, so I can check?
Hi all - so, I've done an Rpi4 "move datadisk" operation to a USB-mounted, external SSD. Took about 20 minutes and everything seems ok except that I can't see any add-on logs, which makes it difficult to diagnose any issues with them. Anyone else come across this?
@royal robin does this continue after a full reboot of the host?
It does. I can still see the logs via ha host logs --identifier <blah> but not via the UI any more
I've done a full host power down and power on to be 100% sure
Otherwise most** things are working fine after the move to the new disk
(** zigbee2mqtt is properly broken!)
If you go to Settings > System > Storage and hover over the used space do you see what you expect to see in terms of size?
It looks correct - 199GB free (on a 250GB SSD - the old disk was 64GB)
Ok just making sure the move actually took
Yeah, logging in to the root shell, I can see IO on /dev/sda so definitely using the right disk now
Are you talking about the logs per add-on from the dropdown in advanced mode? Or the logs when you go to the individual add-on ?
Or both
Talking about settings -> add-ons -> zigbee2mqtt -> log (for example)
("log" is on the tabs at the top next to "configuration" in this case)
The normal HA core logs are working and visible in settings -> system -> logs
Ah, in fact, I can see zigbee2mqtt in there too...
...at least, something:
[00:00:08] INFO: Preparing to start...
[00:00:09] INFO: Socat not enabled
[00:00:12] INFO: Starting Zigbee2MQTT...
(normally, from the add-on screen, I'd see some container-related stuff before the actual add-on logs start)
You know what - the logs are indeed loading from the add-on tab, but they are taking much, much longer to load than they did on the SD card install, despite the new disk benchmarking way quicker. Hitting refresh to load the logs is pulling back several GB of logs before displaying the handful of lines for the add-on. Does this all go to one, single log file which this screen is filtering before display?
dont think so
how can I reach that path? I tried running docker exec -it hassio_supervisor bash, but theres no /config folder there :/
you can just look at it from the location it is on the host os /mnt/data/supervisor/homeassitant
Hi, I have HA OS on raspberry pi 3 b+. I updated core from 2022.6 to 2022.11.4 today. Since then some of my integration stopped working and have the following error code.
Logger: homeassistant.setup
Source: setup.py:192
First occurred: 6:50:53 PM (4 occurrences)
Last logged: 6:58:57 PM
Setup failed for cloud: Unable to import component: cannot import name 'core' from partially initialized module 'numpy' (most likely due to a circular import) (/usr/local/lib/python3.10/site-packages/numpy/init.py)
Setup failed for custom integration tuya_v2: Unable to import component: Exception importing custom_components.tuya_v2
Setup failed for custom integration alexa_media: Unable to import component: Exception importing custom_components.alexa_media
Setup failed for mobile_app: Unable to import component: cannot import name 'core' from partially initialized module 'numpy' (most likely due to a circular import) (/usr/local/lib/python3.10/site-packages/numpy/init.py)
I would really appreciate if someone can help me with this. 🙏
probably incompatible with new version
check for newer versions of those custom components?
you mean outside the docker environment? if thats the case, unfortunately theres nothing inside "/mnt" on the host os...
I did find a homeassistant log inside /data/homeassistant on the supervisor container, but they are from yesterday (probably from when homeassistant was last successfully started)
2022-11-22 16:42:24.556 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration alexa_media which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-11-22 16:42:25.555 WARNING (MainThread) [homeassistant.components.http] The 'base_url' option near /config/configuration.yaml:69 is deprecated, please remove it from your configuration
2022-11-22 16:42:29.853 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2022-11-22 16:42:38.752 WARNING (MainThread) [homeassistant.components.ssdp] Could not set up UPnP/SSDP server, as a presentation URL could not be determined; Please configure your internal URL in the Home Assistant general configuration
2022-11-22 16:42:40.604 WARNING (MainThread) [homeassistant.setup] Setup of hassio is taking over 10 seconds.
2022-11-22 16:42:41.638 WARNING (MainThread) [homeassistant.config_entries] Config entry 'hci0' for bluetooth integration not ready yet: Bluetooth adapter None with address 00:00:00:00:00:00 not found; Retrying in background
2022-11-22 16:43:05.292 ERROR (MainThread) [homeassistant.components.spotify] The 'spotify' option near /config/configuration.yaml:2 has been removed, please remove it from your configuration
2022-11-22 16:43:11.401 WARNING (MainThread) [homeassistant.components.ios] The 'push' option near /config/configuration.yaml:76 is deprecated, please remove it from your configuration
2022-11-22 16:43:11.421 WARNING (MainThread) [zigpy_deconz.api] No response to 'Command.aps_data_indication' command with seq id '0x3f'
2022-11-22 16:51:00.872 ERROR (MainThread) [homeassistant.components.hassio.handler] Client error on /core/update request Server disconnected
those are the contents of the log, I see only two errors, one regarding the spotify option on the config, which I removed now, and another one which im not sure what to do Client error on /core/update request Server disconnected
even after removing the spotify option and restarting, it still doesn't launch the UI
odd maybe check the docker daemon logs
maybe it says why it cant start the container
journalctl -u docker
I ran that on the host, nothing seems too out of the ordinary, I've found a Nov 24 04:31:57 raspberrypi homeassistant[15611]: exec /init: exec format error, which i don't know what it means, also a Nov 24 04:31:56 raspberrypi hassio_supervisor[15611]: 22-11-24 04:31:56 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!, followed by
Nov 24 04:31:58 raspberrypi hassio_supervisor[15611]: 22-11-24 04:31:58 INFO (SyncWorker_3) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/raspberrypi4-64-hom
Nov 24 04:31:58 raspberrypi hassio_supervisor[15611]: 22-11-24 04:31:58 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
Nov 24 04:32:02 raspberrypi addon_a0d7b954_nodered[15611]: 24 Nov 04:32:02 - [info] [server:Home Assistant] Connecting to http://supervisor/core
Nov 24 04:32:03 raspberrypi hassio_supervisor[15611]: 22-11-24 04:32:03 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
Nov 24 04:32:03 raspberrypi hassio_supervisor[15611]: 22-11-24 04:32:03 ERROR (MainThread) [supervisor.homeassistant.core] Watchdog restart of Home Assistant failed!
Nov 24 04:32:07 raspberrypi addon_a0d7b954_nodered[15611]: 24 Nov 04:32:07 - [info] [server:Home Assistant] Connecting to http://supervisor/core
and then [info] [server:Home Assistant] Connecting to http://supervisor/core gets spammed a lot, possibly cause it can't connect to the server
grepping for ERROR, I also found Nov 24 04:01:25 raspberrypi hassio_supervisor[15611]: 22-11-24 04:01:25 ERROR (MainThread) [supervisor.host.logs] No systemd-journal-gatewayd Unix socket available, and also a bunch of Nov 22 22:07:17 raspberrypi hassio_supervisor[1384]: 22-11-22 22:07:17 ERROR (MainThread) [supervisor.dbus.network] Error while processing /org/freedesktop/NetworkManager/Devices/21: The name org.freedesktop.NetworkManager was not provided by any .service files (but the last one was from when homeassistant was still running I think)
not sure if its relevant
exec format error usualy means the thing it tries to run is in a foreign binary format or something along the lines, could also be a malformed shellsript or something
what does uname -a return?
on the host?
yeah
Linux raspberrypi 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux
hmmm, I think I did select something like raspberry-arm64 or something similar when I ran the supervisor install wizard, but I remember seeing something similar to armv7 as well
when I ran
wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
dpkg -i homeassistant-supervised.deb
hmm, let me check
Wait you're running supervised on a Pi. Why not HAOS
yeah no idea
I have to run other stuff as well on that pi, so I can't have it exclusively for HAOS...
Then you're not meeting the requirements for supervised
And things can break due to that
what do you mean?
Supervised you must meet the requirements as specified by the ADR
Which you would've read before installing I hope
possibly, but its been a few years tbf, so I'm not sure 😅
If you haven't kept all the versions exactly as specified then things may break
Welcome to a difficult to manage installation
Better off running container and installing add ons yourself through docker containers
hmmm, yeahh...
is it possible to migrate my db/data/addons into the container version?
without having access to the ui to do the backups i mean
or would I have to reconfigure everything?
You will want a backup
Yeesh this is still going on
Since you should be backing up off the device right? 😂
Supervised really do be giving people a loaded gun
its realy useless, why is it even there?
because the devs tried to remove it and everyone lost their minds
i mean if you are not allowed to run other stuff, how is it any better than homeassistant os
I think I have one somewhere, not sure how up-to-date it is though :/
The other things about your install choice @potent flower is that it's hard for anyone to help unmuck it or advise for it
It works if your hardware is too old to support uefi. But at that point just use a pi or docker
yeah, I completely get that :/
I suppose I can't make a new backup without the UI running?
You wouldn't want to if your core is fucked
yeah, makes sense...
And we don't know whether it's the supervisor breaking the core. Or core broken itself
so what is the image name of the running supervisor?
and what is the image name of the homeassistant container that docker has pulled?
if it failed with that exec format error that might indicate it is trying to run an image from the wrong architecture
ahhh yeah, I was running through my search history trying to remember where I did see that screen
on the containers, they are all armv7 though
I remember running a command, and a blue DOS screen appearing with a fullscreen prompt to choose a architecture, or something like that
it had options with various raspberrypi variants
try dpkg-reconfigure homeassistant-supervised
ahhhh, yeah, that was the screen
I chose raspberrypi4-64, which I think its the correct one
it doesn't have any armv7 like I had imagined though
the kernels arch is armv7 thats 32bit
so i asume youd select the raspberrypi4 non 64bit option
yeah, I did that, tried rebooting, but I still see the Nov 24 05:30:07 raspberrypi homeassistant[2114]: exec /init: exec format error there :/
can you which image it tries to start?
not sure I understood the question
can you see which image it tries to start
I need help.
how assistant keeps staying on the Preparing home assistant screen
I am trying to run home assisstant on a Window computer with Virtual box
how long did you wait? tried to refresh the page?
how can I do that?
I've waited almost 40 mins and I have tried to refresh
try docker images ?
@potent flower I converted your message into a file since it's above 15 lines :+1:
hm then maybe something went wrong, look at the logs in the vm
not sure what I should be looking for on that 🤔
ghcr.io/home-assistant/raspberrypi4-64-homeassistant 2022.11.4 seems to still use the wrong one
look at /data/homeasssitant.json it probably still lists that
how do I do that?
I think this may be it
@maiden bone I converted your message into a file since it's above 15 lines :+1:
I have no homeasssitant.json on my host env, but I do have one on the hassio_supervisor docker image, is that where I should be looking for?
inside it it does have "image": "ghcr.io/home-assistant/raspberrypi4-64-homeassistant" which I think is what you were referring
or is it the logs in home assistant?
yeah open the vms console and try running supervisor logs command
how do I do that?
it should also be on the host in /data somewhere
on the host if I do cd /data it returns that the folder does not exist...
did you say you find the homeassistant log there?
ahh, I do have a /home/homeassistant/.homeassistant/, but I'm suspecting that is an old installation, as the files are from 2020
I found the logs inside the docker image
also, all the configs files there seem to be the ones I had, so I think that path is the right one
(the one inside the docker image I mean)
yeah doesnt matter, either try changing the image in that file or just rename the whole file
and then run core rebuild command from the hassos cli
is it this?
@maiden bone I converted your message into a file since it's above 15 lines :+1:
hmmm, you mean changing the image on the homeassistant.json inside the docker supervisor image to "image": "ghcr.io/home-assistant/raspberrypi4-homeassistant" (removing the -64 from it)?
yeah
press enter it should display a cli
ok, I did change the homeassistant file, but I don't even know what hassos cli is ahahahah how do I trigger this core rebuild command?
nothing happened
Pressing the blue button on the waiting for setup page is raised @maiden bone
*easier
thats what I did.
think its called ha, so run ha core rebuild
on the docker image I don't have access to that, but I do on the host computer, should I run it there?
yeah
hmmm, it just returned Error: Unknown error, see supervisor
check the supervisor logs then
yeah, latest logs still refer to the 64 version
22-11-24 06:19:45 INFO (SyncWorker_5) [supervisor.docker.interface] Cleaning homeassistant application
22-11-24 06:19:45 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
22-11-24 06:19:46 INFO (SyncWorker_7) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/raspberrypi4-64-homeassistant with version 2022.11.3
22-11-24 06:19:46 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
22-11-24 06:19:51 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
those are the last lines
restart the supervisor and run the core rebuild again?
yeah or see if it does something on its own
after restarting
22-11-24 06:22:42 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
22-11-24 06:22:42 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning homeassistant application
22-11-24 06:22:42 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
22-11-24 06:22:43 INFO (SyncWorker_2) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/raspberrypi4-64-homeassistant with version 2022.11.3
22-11-24 06:22:43 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
22-11-24 06:22:48 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
22-11-24 06:22:48 ERROR (MainThread) [supervisor.homeassistant.core] Watchdog restart of Home Assistant failed!
gonna try rebuild it
hmmm, same Error: Unknown error, see supervisor error, and on the logs
22-11-24 06:23:54 INFO (SyncWorker_3) [supervisor.docker.interface] Cleaning homeassistant application
22-11-24 06:23:54 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
22-11-24 06:23:55 INFO (SyncWorker_4) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/raspberrypi4-64-homeassistant with version 2022.11.3
22-11-24 06:23:55 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
22-11-24 06:24:00 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
odd does the file still read the same
hmmm, thats weird, homeassistant.json came back to the -64 image
it seems to revert back to the 64 when I run ha core rebuild
home assistant keeps staying on the Preparing home assistant screen. I am trying to run home assistant on a Window computer with Virtual box.
Can someone help me
might be the supervisor changing it back on stop.
can you look at the top of /usr/sbin/hassio-supervisor? it should have to host path to the main config file
just to check that that reconfigure actualy changed the values
somewhere in that path should also be the homeassistant.json, so we know where to change it on the host
Can someone help me with this?
check the supervisor logs, on the vms console should be cli with a prompt that read ha > . in there type supervisor logs
can take up to half an hour
found it want me to copy and paste it?
ahhh, I think I found the file on the host system, so just to confirm, should I do the same thing, removing the 64 from the homeassistant.json image and running the rebuild core?
first id check that the main config file that the hassos-supervisor script reads actualy has the correct values now
what do you want me to do with this since I cant copy and paste it
read it? and look for errors or just see what it is doing there
you mean the homeassistant.json?
ahh, I see, on /usr/sbin/hassio-supervisor I saw a CONFIG_FILE=/etc/hassio.json, inside that json I have
{
"supervisor": "ghcr.io/home-assistant/armv7-hassio-supervisor",
"machine": "raspberrypi4",
"data": "/usr/share/hassio"
}
ah cool so that seems correct
the homeassistant.json is inside /usr/share/hassio then
try systemctl stop hassio-supervisor; that should hopefully also stop the supervisor container
and after that is stopped id try just renaming that homeassistant.json and then systemctl start hassio-supervisor and see what happens
look for the errors and see if you can make sense of them if there are any
Hello everyone, I'm new to Home Assistant. I just installed it for the third time on a Raspberry Pi 3b with the same problem. It all seems to install correctly, and allows me to setup an account and log back in. However, NONE of my 62 devices show up.
hmmm, I did that, ran the start command, but it seems that the file did not get recreated
does it still try to run the wrong container?
If this is not the right place to talk about my issues, please let me know.
What devices? And where are you looking for them?
ohhh, I think I didn't do the start command the other time, I ran it and then it all came back to work ahahahaha
youre a life saver dude, thanks a lot!!
nice
check that you can make a backup now
first thing I did ahahahahaha
i'll probably check the other install methods tomorrow to try to migrate it
is it normal that the full snapshots are like, 16mb?
I thought they would be a lot bigger
My timezone is not available (Australia/Adelaide). How can I get it added? (This is using the docker install.)
You'd need to open an issue about it, though it'd have to first be in the upstream package HA uses for timezones
is there not another city in the same time zone?
not in the list, checked it before a second, +10:30 is not avaible
I'm guessing it's https://docs.python.org/3/library/zoneinfo.html that handles it
That seems to support Australia/Adelaide though
We regularly get this in embedded devices.. +0930 / +1030
Only one of two half hour time zones... didnt show up in the initial config.
https://github.com/python/tzdata/blob/master/src/tzdata/zoneinfo/Australia/Adelaide seems to have existed for some time. Did they recently change to a half hour offset?
No.. been this way forever
Australia/Darwin is +0930 , but doesn't change for Summer time.
It is in the Linux timezone file.
I'm now wondering how many Home Assistant installations there are in Adelaide.
(Its the State capital.)
So, I just set up a new HA instance, and the timezone shows during onboarding
Shows after too
Ok.. I will check again.. didnt appear for me. (Usually at the top of the Australia list 🙂
Might be a couple of hours...
In onboarding it's near the top of the list, after it's not since it sorts by timezone offset as shown
If you are using tzinfo then I'm confident it will be there.. (yes.. I am going through onboarding)
Thanks
Hi, I've got a question. Ive build with NGINX a reverse proxy a connection to my HA installation with a LetsEncrypt certificate. Once I got to the login screen where I enter my credentials. Once it is done, I get the message: Unable to connect to HA. Retrying in xx seconds. -> nothing happen after that. Does anyone has an idea whats wrong? Did I miss anything in the configuration?
connection with the IP address from the local network, works
The timezone isn't just used by Adelaide lol
Check that NGINX is configured to support websockets
Check that HA is configured to trust that proxy
Check the logs for both HA (core logs) and NGINX (access and error logs)
And the ngnix host is definitely that same IP?
Any errors in the logs for core showing why it doesn't work?
@manic bane .. no you're right. I ignored 470,000 people.
@manic bane That could be 200,000 installations (given 2.3 people per household). Marketing opportunity?)
I enabled the websockets, and the log from the nginx looks suspecious. on the 200 GET request (/lovelace?auth_callback), I recieve a 400 POST ("/auth/token" [Client x.x.x.x] [Length 61] [Gzip -] [Sent-to 192.168.1.29])
Please use a code share site to share code or logs, for example:
- http://pastie.org/ (select YAML for the language)
- https://dpaste.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 your NGINX config ☝️
The 192.168.1.29 is the HA installation and not (atleast) the NGINX proxy
I remove the domain: http://pastie.org/p/6jhAT4nhx1Odw0TMagSweY
I assume that it is correct, why? When I change the IP:Port to my synology I can access it
I'm not seeing a proxy_pass line
to be honest, I used the Nginxmanager for the Reverseproxy and made a 1:1 copy from my Synology Proxy which is working 🙈
I'll give it a try with proxy_pass https://192.168.1.29:8123;
Any difference between SSD drives for use with HA on a raspberry pi 4? or will anything do?
Also what sort of installation is reccomended on a pi4? it seems you can do OS container and core
I am mostly using it for energy usage monitoring, and smart control of devices
If you're not familiar with running docker containers and not ready to learn that, go with HAOS, otherwise go with containers
If I'm willing to learn that, will containers enable me to do everything thats missing from not going HAOS?
Yes, and more
Fantastic
HAOS is an appliance like setup that uses add-ons to provide other software (modified Docker images basically)
Container means you get full control to do whatever you want
Oh I see, so each container would could serve a similar function to the addons?
Yes
mqtt server as a container, vscode container etc
Thats great, I love that.
Would the pi be capable of running many containers like that alongside HA?
Depends on the Pi
pi4 4gb
RAM is likely to be the biggest issue
Ah, I dont have the 8gb sadly
I would say use Docker Compose - it'll make your life easier long term
stay away from bigger images (code server et al.) and you're fine
If nothing else you get a YAML file describing your container configuration that you can trivially back up
Thank you
Then you can follow https://www.home-assistant.io/installation/raspberrypi#docker-compose
I'll give that a go then come back if I run into any problems
Oh, do give thought now to how you're going to do backups
It's really un-fun to think about that after you've lost everything
Do you have any recommendations on that?
For a bit of wrap up, the reason my supervisor logs were so slow is tied up with this: https://github.com/home-assistant/operating-system/issues/1743 and fixed with https://community.home-assistant.io/t/supervisor-logs-extremely-slow-to-open/344375/22
...specifically, adding usb-storage.quirks=174c:55aa:u to /mnt/boot/cmdline.txt to disable UAS for this USB SATA adapter. Weirdly, it benchmarks a bit slower now, but it works 10x faster so 🤷
I recommend one local and one cloud destination. I use rsnapshot on a remote Pi to pull backups, and rclone locally for cloud backups. There's a load of other options though:
Restic, URBackup, Duplicati, Kopia, Duplicity, ...
Step 1: make backups
Step 1.1: Get it off the device the backup is made on
The Google Drive backup add-on is very easy to use and reliable. Probably a good starting point.
If you use HAOS, but lots don't 😉
Very true
Aye, it's not a backup until it's off the computer. Until then it's just a plan...
One might argue that it's not a backup until you've tested it too... 😉
Very true... but baby steps 
The number of people who come asking how do I restore my backup is worrying, but less worrying than those that ask how to recover with no backups
My worry is that I've now got two unofficial changes in HAOS which I've got to remember to put back again when/if I ever rebuild from backups. The challenge is remembering this...
Hi Thinker, continuing yesterday "Season" 😅 , today shows an HA Update and start getting problems with name resolution
http://pastie.org/p/0IOx8sOfNcnOAYnAfKkWQo
Seems i get some problem with resolution hostname.
seems /etc/resolv.conf file just have "# Generated by NetworkManager
"
is suppose filled with something?
What are your changes?
I know nothing about HAOS, but ... maybe that's a problem with your DNS 
Hopefully somebody else can help you
A static route (amazingly, you can't do this through the UI) and the above-mentioned change to disable UAS on my SSD interface. The former would be tricky to workaround, and the latter would require me to buy a different USB/SATA interface cable which I'm too tight to do 😄
Why do you need the static route for
My cameras sit in a subnet behind the NVR, on the built-in PoE ports. Previously, I was just using the NVR-provided streams, but with Frigate I'm now using an additional substream to get 720p, 10fps video to use for object detection on the RPi. Unfortunately, the only way to access this is straight through the NVR to the cameras, using their subnet.
(and because the NVR is on the same network as the HAOS box, it's a bit of a messy thing to do on the router)
(aka it won't let me 'cos it sucks 🙂 )
rtspproxy at the edge?
Sure, but would need somewhere to run that and I'm trying to keep my infrastructure footprint down. A static route is cheaper 😉
I'm still impressed that the RPi will do Frigate detection on 6 x cameras @ 720p using about 30% CPU, and this is even without hardware video decoding (which is currently b0rked on the RPi), albeit with a Coral to offload the object detection element.
ok
To be fair, there was a recent change to HAOS so it wouldn't flatten manual network changes every time you used the UI, but would rather merge them in, so it should be a pretty safe change. Prior to this, I think any change in network settings would overwrite the whole lot.
Is there a way I can force restart my HA instance? Supervisor is hanging and a load of stuff seems to have failed, but i cant restart anything as im getting 22-11-24 14:32:15 ERROR (MainThread) [supervisor.utils] Can't execute restart while a task is in progress
switch off and on!
just done that and now it wont even boot
on PI? have you connected the monitor and see the boot messages?
nuc
and its in a rack way out the way, no monitor
you have loaded in a VM or direct ? if direct, then nothing you could do - either wait for magic to happen or the usual painful process, attach mon, replace ssd.....
Its HAOS
OK i got it back, but still getting this error when i try and do backups Creating a backup is not possible right now because the system is in startup state.
its like something in the system just permantly hangs
@plush marlin I converted your message into a file since it's above 15 lines :+1:
Hey! Here is a probably very simple problem.
I just installed HAOS bare metal, and imported my backup from my old HA Supervised from first a Pii and then a Docker.
The problem is that all the addons are not able to start, all the logs from the addons says they started and everything is fine, but when i try to launch addons such as "Studio Code Server" it says to start the addon first, and under addons they are all gray, and nothing happens when i click "start".
I am probably missing something very basic about HAOS 🙂
hey all just I have the HAOS vmware up amnd running for serverl months now, all find and dandy
but looking to add some simple face detection stuff
few questions, can you add face detection as an addon, or does it have to be in a docker ?
is there a good face detection addon ?
I looked though the hacs and adoons and cant find anything
was that intended for me or Dipdip?
@broken fossil on your addons do you see the install/uninstall on the right side of the addon screen when your viewing the addon
Not you
i see start on left, and uninstall on right 🙂
ok 👍
tried, same issue :/
its grayed out ?
start is blue, but all addons under the addons page is gray, because it thinks they are not started. but when i check the logs under each addon they are as if they are started.
when you click log what you see ?
can you uninstall
then go to addons
and then search and add it that way?
reselect it from the addon store that is
Thanks, but I don't think that is it. I just restored from a working install running work supervised on a vm. To now running bare metal with HAOS. So it must be something very basic I am misunderstanding
I am running the HAOS vmware on windows
if you install from a backup, are both images the same ? file locations, etc
Looks like maybe caused by this: https://community.home-assistant.io/t/supervisor-november-beta-issue-impacting-users-on-home-assistant-beta-dev-channels/489895
EDIT: Yep
Can someone help me?
home assistant keeps staying on the Preparing home assistant screen I am trying to run home assisstant on a Window computer with Virtual box
Click the blue circle
Then you should have some logs you could share
Please use a code share site to share code or logs, for example:
- http://pastie.org/ (select YAML for the language)
- https://dpaste.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.
@maiden bone I converted your message into a file since it's above 15 lines :+1:
@maiden bone I converted your message into a file since it's above 15 lines :+1:
wym?
@maiden bone Please use a code share site to share code or logs, for example:
- http://pastie.org/ (select YAML for the language)
- https://dpaste.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.
Please, use a code share site
What time is it with you? About 23:21?
It's 1:21 PM EST.
Well, every time you paste the logs you paste a few more lines
Is that because they're getting added as you're doing this?
idk
My virtual box was off... lol
hold on im gonna turn it on
but I waited like 1 hour last night and it kept doing that.
I just did ctrl + a and copied that http://pastie.org/p/41tyTnxlViI7H5uXX7UghH
22-11-24 13:25:24 INFO (SyncWorker_1) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/amd64-hassio-supervisor with tag 2022.11.2.
But I also see
fatal: unable to access 'https://github.com/home-assistant/addons/': Could not resolve host: github.com
which points to DNS/networking problems
how do I fix that?
No idea, you'll need somebody who runs HAOS to help you here
can someone help me with this?
wym?
More than likey just have to define 1.1.1.1 or 8.8.8.8 manually on HAOS
how do I do that? I run home assistant on virtual box with windows
I don't know. Like tinkerer I don't use HAOS
And even when I did it worked perfectly anyway
I saw something saying to do this
restart your router / restart hassio and try again.```
Do you know how to do that? @manic bane
do you use pihole?
Yeah do you have a PiHole instance and does your router have anything other than itself under DNS
no
also so I accidentally deleted home assistant when I cleared everything off my pc so thats why I am doing this again. It was something with DNS last time. this is what I was told to do.
Do you know what the XXXXXX would be in that?
Whatever the result of the previous step said
wym?
what result of previous step?
Sigh
sorry i am new to all of this
can someone help me
what do you need help with?
read above ^^
run the first command, see what name the connection has and use that in the edit command..
The stuff that comes up is this:
NAME UUID TYPE DEVICE
Supervisor enp0s3 81c9eca4-56ab-3b40-8870-42dd2705173a Ethernet enp0s3
What do I put in the XXXXX
the name of the connection
Supervisor enp0s3?
I tried Supervisor enp0s3 default and it didnt work
it doesnt say anything about default in the output
try nmcli edit "Supervisor enp0s3"
it says to add default into it
do I add the "" to it?
pretty sure thats required as the name contains spaces
Tried it with "" in it and it keeps saying argument 'edit' not understood. Try passing --help instead.
oh its nmcli con edit ..
that worked! let me reboot and see what it does!
still getting errors
No, it's not supervisor xyz it's just xyz I'm pretty sure
Actually, maybe it is supervisor
Which is weird
again does resolving names work on the vm?
what is the dns server that got configured? can the vm actualy reach it?
wym?
like the numbers?
8.8.8.8
whats in /etc/resolv.conf ?
and what does systemd-resolve --status output as the used nameservers?
How do I find that stuff? @storm sluice
Here is some of the logs http://pastie.org/p/6iO7LLkKiMulV5dRhx5uEh
do I type that?
now what?
what I did this one it said nameserver 192.168.1.1
ok what happens if you type nslookup google.com
it says
Address: 192.168.1.1:53
Non-authoritative answer:
Name: google.com
Address: 192.168.1.1:53
Non-authoritative answer:
Name: google.com
Address: 2607:f8b0:4008:80a::200e```
so it can reach the dns server
what do I do now?
not sure, dns seems to work, but it looks like it failed to download the images, maybe something blocks its http connections?
how is the vms networking configured?
and do you run some sort of firewall software on the windows computer?
i dont think so.
how do I find this?
where in virtualbox?
ok
let me try and find it
what is it excatly that I am trying to find?
what type of networking does it use?
ethernet
should be bridged to a ethernet adapter
it says bridged adapter
yeah
as that doesnt really work i think
what do I do now?
not sure. seems like something blocks its connections or something
VirtualBox on windows with networking can always be a little iffy
Is there a reason you're running it on windows @maiden bone
I don’t have something else to run it with
but other vms work fine?
Wym
i had to create a new switch for mine as the default one only had internal network access not external
Do you plan to keep it running on 24/7?
Yes
How do I do that?
Can someone help me
This is usually the dead time for the server as people are asleep
can you help?
No. I don't use VirtualBox or HAOS lol
ok
I'm not at my PC to check but I believe in HyperV manager got to setting, network adapters maybe switches, then create new, then change internal network to external, give the switch a name and save
It's not actually all that hard to do if you go to the settings on your VM in hyper V manager and just look around, I had never used hyper V before I was able to figure it out, it's really simple. Just look around until you find it, if you still haven't found it when I'm back at my PC tomorrow I'll have a look for the exact setting
They're not using hyperV. They're using VirtualBox
hii
I have setup RPi 3B and running HAOS from SSD without SD card. I will get RPi 4 soon, what is the best process to move to better hw? Backup and then reinstall HAOS to SSD and then restore from backup?
I just moved my HA from a pi to NUC. i just installed Home assistant on the NUC and did a full backup.. No addons wanna start
Integrations works.. but addons just wont start. All addons, even new ones if i try and install
Hi Guys! I have a problem. I got a "unhealthy system" message that leads to a wiki page that says try reboot or dbus. Mine is not dbus.
What can I do to fix the issue? I have tried rebooting a couple of times.
Im using a pi4 with HaOS on a sata ssd
Similar experience betweem two RPi3 even, that's why I asked...
Hi guys !
I'm discovering Home Assistant and I installed it via a VM on a QNAP Nas with the ova image available here: https://www.home-assistant.io/installation/alternative
VM launches fine but I get stuck on "Preparing Home Assistant" on web interface http://192.168.XXX.XXX:8123/
When I type in the ha console :
ha > supervisor log
[...]
INFO (SyncWorker_2) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/amd64-hassio-supervisor with tag 2022.11.2.
ha > supervisor update
Error: Update of Supervisor failed: Can't fix start tag: 404 Client Error for http+docker://localhost/v1.41/images/ghcr.io/home-assistant/amd64-hassio-supervisor:2022.11.2/ json: Not Found ("no such image: ghcr.io/home-assistant/amd64-hassio-supervisor:2022.11.2: No such image: ghcr.io/home-assistant/amd64-hassio-supervisor:2022.11.2" )
Any idea what's going on?
My homeassistant seems to be stuck on the preparation phase as its been like this for 30min +
Any way to troubleshoot? I feel like it might be related to the network
may i ask what was changed as my zigbee 3.0 stick suddenly stopped working after core update ?
You probably wanted #zigbee-archived - but if you use HAOS check that the stick is still detected
well was working fine until supervisor bug and core update
Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
yeah i'll move there...sorry
Do you think it may be the windows firewall thing that comes on a computer?
I tried deleting home assistant and virtual box and then downloading it again and it still isnt working
Hi, I bought off Amazon UK a frient zigbee energy monitoring plug but for some reason I cannot find it in my HA, I'm using deconz
Thanks
Hi. I feel like this is a dumb question but i cant get a straight answer. I would like to run home assistant, scrypted, homebridge and plex on the same machine. I tried installing supervised on debian 11 and then added my other apps. Now HA says it doesn't like that and wont let me use add-ons. Would the OS fix this issue?
probably answered somewhere up top but search doesnt give a concrete answer
what keeps you from running container?
to answer your question; no. haos will not like foreign containers either
im not sure what this means tbh
im very new to all this
literally just learned what ssh was like 48 hours ago
apparently you know your way around docker ?
i just wanted to have all my apps on one machine
"Container" is where you manage Docker and the containers, instead of the supervisor managing them as add-ons
enough to follow guides and copy paste.
So i would add addons through docker instead?
they wouldn't be "add-ons" anymore. Just regular containers
and yes
You add and manage all your own added software and servers
And there wouldn't be any limits
alright. so lets say i want the google chrome backup add-on and samba addon. there is a docker container version of this i can grab somewhere?
not the google drive backup add-on as that's more specific to an install using add-ons
samba would just be a service on your installation of debian
you wouldn't need an add-on for that. HA OS needs it as an add-on because you can't add packages to HA OS
so i just go into my server and install it there outside of docker/ha/etc
yes
okay easy enough. thankyou.
just need to figure out a way to make backups now
ideally would like to just automate and send to my personal computer
knowing myself ill probably need them once i break something soon
You would mainly use Docker for a container for each server you want: HA, Plex, Scrypted, etc
^ this i do have set up and running now. everything works fine. just HA isnt happy about the other stuff.
Can someone help me? my home assistant is stuck on the Preparing home assistant screen. I am running home assistant on a Windows 10 using Virtual box.
All of the logs are here ----> http://pastie.org/p/4mkaIpbbq4W4hyCbZJQoVs (logs updated at 3:00 PM EST)
That's because you used Supervised. Nobody recommends Supervised
If you are running "supervised", the supervisor expects to manage everything
Oh i see. Should i run just core instead?
Well, Container
What was described just now
The sane choices are HAOS (you "only" get add-ons) or Container (no add-ons, run the containers you want)
Start over, install Docker, ignore the instructions for supervised.
Alright will do. Thank you guys.
Last question. Anywhere i can go to learn or watch guides on how to use (not) “add-ons” with this?
Well, it's all just Docker at that point
So... if you want to know how to use Samba, that's not HA specific
Honestly just need to find some solution to keep backups and im set
I'd suggest if you want to do it all in Docker you look at restic
I know its not an addon i just dont know what else to call it
If you don't, look at rclone and rsnapshot
you can learn how to handle such things by learning how to docker compose quite fast
Thank you
Alright thank you guys. Really appreciate the help.
Honestly, Docker is easy if you take a little time to do some learning, and there's lots of Discords that can help - including this one obviously
Can someone help me with this?
Ive been tinkering for less than 2 days and sort of wrapping my head around it. Im not a developer or anything so im kind of learning linux, HA, docker etc all at once here and hoping for the best
There is a lot of info out there though which makes it easy
Just hard to know what the right choice is when you have so many
I'm no dev either, and I learned Docker 😉
Heck, I learned how to build my own containers... if I can, you can too
If you're able to look at a problem and accurately describe it, you're about 10 steps ahead of many folks 😉
I need help setting up home assistant on Raspberry Pi 3. Can someone help?
Here are the logs ----> http://pastie.org/p/1hXV1JieBUMguIcWtF85PE (logs updated 4:37 PM EST)
(yes I found an old raspberry pi)
Hello all, can I install this as a multi-homed device? My HAN network exists on a separate subnet from my my normal home based traffic. As they are on seperate fire/routers there is no direct route between the 2
I got an amcrest dopr bell and tried to integrate ot with my indoor but I can't get it to chime inside does anyone know of an alternative?
Pi 3
Are you trying the OS install and are you trying 32 or 64 bit?
64-bit
Do you think I may need the 32 bit?
No, you should use the 64bit as long as you can
But I don't understand your problem, there are some errors but the install is proceeding anyway
Do you think it may be the computer?
I don't think you have a problem
It keeps giving errors and it’s been over 1 hour tho
Well, that's what you get for using a Pi, especially a 3 🤷♀️
The slower a device is, the longer the install will take.
Best route for Pi 4B 8GB with Ubuntu Server 22.04 64bit and NVMe (via USB): containers / without containers. Mainly for home automation
HAOS or container, there is no "without containers", if you're set on Ubuntu use a container. Do not use Supervised is it not supported on Ubuntu (and you shouldn't use it anyway)
Ok.
It says it should take less that 20 mins tho
Well under ideal cistumcstances, it ought to.
But without knowing the network setup (speed and wifi/ethernet), and the latest logs it's hard to say what anything is doing.
If I connect to home LAN from WAN using VPN are there any other major security aspects I should be looking into while setting up? (mainly in linux side)
That's rather out of scope for this channel, and to an extent this Discord.
Thanks, I'll try to find my way. Bit new into Discord.
If it's about HA: it's relevant to this Discord, you just need to read the channel descriptions and find the right one. If it's not about HA: You may have luck in #the-water-cooler, if not try finding the appropriate subreddit or similar 🙂
here are latest logs ----> http://pastie.org/p/09b11wcHijIGyhVx8ApvJr (last updated at 5:57 PM EST)
You have network issues, it can't access github
How do I fix that?
Change your DNS settings to 1.1.1.1 and/or 8.8.8.8
Ok!
And restart the installation too
how do I restart it?
Like reboot it all after its changed?
Turn it off, flash the SD card again, and plug it back in is my recommendation. Though just rebooting it might do it
I'm gonna try rebooting first if not then I will do that.
Logs since I rebooted it ----> http://pastie.org/p/2o1NjQqpf7xGJUdOGkQINi
I'm gonna wait like 10 mins and tell you if it worked or not.
HomeAssistent isnt working on my side, if I install it and when i browse <IP>:8123 then I get connection refused.. I work with a Docker container
I got a raspberry pi1b and I know that it can work
no it cannot
pi1b has a mere 512mb ram, thats what ha container itself currently requires
Yeah... no. 😂
Not for a very very very long time, if ever
I mean, if you clean out a lot of raspbian poop you might get it to run somehow but that is far from great
the one you get for cheaper
Which nowadays is pretty much "any PC but not a Pi"
if it must be a Pi, then one with >2GB of RAM
or one with pecans in it
that's more for an eating pie
than a computing pi
last time i tried such adventure on pi 1 it took 2,5 hours to onboarding page. (without dns problems lol)
I'm more of a fan of pumpkin myself
I'm an apple or cherry girl personally.
all cheaper and more readily available than the computing Pis
Mmmm, pie with custard... now I know what I'm eating all weekend. Thanks Rob 😛
I'm hungry, so that's what you get
@brazen herald Can you tell me whats wrong? http://pastie.org/p/4htwIhLxceMPSmRSnu1JnY
Same error as before, but asking me is not a great idea. It's 11:30pm my time and I have flu 😉
ok.
Honestly a Pi 3 is not going to be a great experience, a 3B is going to be ok, a 3B marginally better. A 4B is going to be "good enough to get started and possibly stick on for a while"
Try using an SSD to boot from which will avoid SD card corruption and remove the possibility of it running out of memory to install on. That might work
ok
should i expect any issues saving a backup in supervised HA to dump into a fresh install that isnt supervised?
not sure if that would affect anything
well you won't be able to directly restore the backup on a non-Supervised HA install. you'll need to extract the config from the backup and copy it to wherever you want your HA config to be
I have the 'cant upgrade bug' and my install is a VM but the instructions talk about a USB key to add my ssh key... login via the web ssh just fails when typing login. Any help appreciated.
Use your VM console
holy crap i'm dumb thx ;0
Hi, I lost access to my HA install while I'm +10K km away so I'm a bit in a pickle. It all started when I wanted to upgrade a whole bunch of add-ons, as well as the Supervisor. None wanted to upgrade, all just kept spinning. A soft reset of HA didn't help. So I finally decided to do a full remote initiated HA Raspi reboot. Alas, no access anymore. Seems nothing is running as my Zerotier direct reverse-proxy add-on is also not running. Anything I could do remote? Or just wait till I'm back home? Access to my ssh is also not responding ... I was on the Beta channel so I most likely have an affected Supervisor version...
10000 km ?
musta been on that rocket 😂
