#installation-archived
74689 messages · Page 80 of 75
Hey, I tried to boot my Rasberry Pi 3 model B from a SSD using a USB>SATA cable. According to the info this model should be able to boot from the USB.. but it doesnt seems like it
you can use it for any installation type or method
Errors? Prob going to have to connect a monitor to see where it is getting stuck.
Well both leds is just red. A right! Let me check with a monitor
And if you haven’t added the line to boot.txt you won’t get anywhere.
Oh? ok didnt think I needed to do anything with this Pi model in order to make it boot from the USB?
You said it was a 3b. Not a 3b+
hm yes it was some time since I bought it but yeha its probably not a "+"
Then follow the instructions I gave you the other day to set the bit
So what do I need to do then? I saw a guide with a SD card and Raspberry Pi Imager, using the bootloader
Yeha the link on the Instructables?
Ah that one! But do the Raspberry Pi Imager with the bootloader only work in Pi 4?
Yes, the 4 boots totally different
aha ok!
The LED on the usb drive should also be a hint to it being seen/used as a boot drive.
Rapid flashing mostly being good
yeha ok 🙂 will see if I understand this guide now then
wow I actually think I just made it lol
it boots from my ssd!
thanks for the help @jovial rampart 🙂
After doing a fresh install from a VM image, how long might it take for HA to get its ducks in a row and start serving? 40 minutes?
Is it possible to check the status from the CLI?
It's always been within 2 minutes for any VM I've ever made. Yes, you should have access to a terminal. Did you try it?
I have the terminal. I don't know which CLI cantation to use.
So, i only have the main console screen. I can't scroll up and down. If I try to SSH I get connection refused. As far as I can see, the logs are all green, except some of my devices trying to login to the MQTT server with inappropriate passwords.
it's been a while since installing hassio but I'm using pi imager and trying to setup a hassio image for a for a pi for the trailer. i'm using the advanced imager feature to setup the wifi and it's barfing that it can't mount the fat after writing the image.
there
I doubt the advance pi imager options can be used for the HAOS image
you should use ethernet to first boot it up so it can download everything and then set up wifi
that was my thought as well. i'd love to cook the image without needing a keyboard/monitor but it's a pi02w so it's a little different
it's for a camp trailer so it's going to be a super minimal install
mainly zigbee lights
you'll also have to use an older HAOS version as pi zero images are no longer being built
it seems to boot the pi3 image. i was able to realize i have no idea what i'm doing with ha commands
it can what now?
not sure if that's supposed to happen. perhaps the new 2 variant is more similar to a pi3
DeviceException during setup of xiaomi gateway with host {self._host}
pleas help
@high token - yeah, i'd read something about the pi02 is cpu wise pretty similar to the 3
neither of those two messages have anything to do with installing HA @foggy solar @queen bronze
works really well with octoprint so that's not so bad
only other way to set wifi https://github.com/home-assistant/operating-system/blob/dev/Documentation/configuration.md
potentially easiest to do the ssh keys though
sorry
@high token Oh crap thanks, I misread this as integrations
Is this a new channel? I could have swore the top-most "in" channel was integrations lol
there used to be a channel for each method #330990055533576204 #449717345808547842 #330944238910963714 #551864459891703809
Oh yeah I remember that
lol
Well I run HAOS so everything goes smoothly for me 🙂
you got your docker in my peanut-butter
Hello, I'm officer Home Assistant, what happened here?
Also I totally automated my installation with ansible /brag
I have a test server I use before doing upgrades
I even made an automated ubuntu installer so I can wipe the entire machine and start from scratch. All for you HA ❤️
It would be 100% automated but for some reason I need to re-plug in the USB drive every restart otherwise the system doesn't recognize it. Maybe something wrong with the BIOS
huh, i tried balena etcher with pi3-64 url and it doesn't want to mount on the mac after burning. i'm going to cry if it's a 128gb card issue
at least the pi imager tool and balena had the same issue. progress
oh blerg.... a fat partition for boot time config injection is a popular pi pattern
Why does it take HAOS sooooo long to boot from a host shutdown state?
Just curious. Obviously it's worth the wait, but just seems odd.
Running on a VM created from the OVA
I would be interested in the ssd make/model you used
@jovial rampart I took the one i used in my older computer, a 240GB Kingston SSD SA400S37. Its a huge diffrence now, everything goes so fast 😛
Cool. I tried to boot a 3b+ with an ssd and could never get it to work. Thanks.
Oh ok! I followed exactly the guide on part 1, and I used BalenEtcher and used the Raspberry Pi 3 64-bit url
well, that's strange. the 8gb card worked just like the 128gb card and the fat partition cannot be mounted. i burned a standard bullseye light and the fat partition mounted without issue.
using the 7.5 rpi3 64 image
I'm moving from my HA running on VirtualBox VM to a Raspberry Pi 4. I'd like to do a restore from the VM to the PI. I've tried it a couple times already and have not been successful. I searched Google and found a couple hits about it, but no solutions. Should it be pretty easy and everything just work like it did before? Then maybe sometime down the road convert from SD-Card to SSD on the PI.
My VM version of HA was many months old and I had a number of things installed, automations, etc. The complete backup is about 350MB. How long would that take to backup on the Pi 4?
Can I get help with led bulb setup here?
Does anybody have a successful experience with using Home Assistant on a Cloud Provider like DigitalOcean?
Im trying to build a test environment for me to work on my Lovelace Dashboard, I do not need it to be local where all my zigbee and zwave dongles are because I already have a local instance running.
nc doesn't seem to be present on the outer OS of my x64 HAOS install. I can't find dpkg, apt or rpm either. What's the procedure for installing nc please?
I think I'm outside Docker. There is no reference to docker in /proc/1/cgroup and docker ps lists containers
Hi, I am new. I got a Raspberry pi 4 and successfully installed Home Assistant but I can't get it to recognize any hardware I plug into it. I have a Sonoff Zigbee USB 3.0 dongle and a Deconz Raspbee II neither of which I can get HA to recognize. Thanks.
@cinder blade No problem with sonoff here
I don't have Deconz, but it is widely used.
Yeah I don't think it's the hardware, HA is just not recognizing any devices I plug in
Yes I have multiple times and yes I am running HAOS flashed onto the EMMC of a Seed Reterminal
Yea, I think it was a ssd drive issue….which is why I wanted to know which one you used that worked.
Is there something you have to do when you install HAOS to activate USB inputs?
Did you ever recover from this? Happened to me today, updated Core. System rebooted and not autoboot screen of death.
The OS does NOT reboot when you update core. You are updating a docker image with another one.
The system does not reboot during that process
Hello everyone, anyone here that can help resolve error when starting up HA ERROR: (MainThread) [supervisor.homeassistant.api] Can't update Home Assistant access token! Any help would be appreciated.
ansible? that's so 2018. you should be using k8s. 🥱 🙄
What's going to install k8s? :)
a cloudinit boostrap :fingerguns:
What's going to create the cloudinit bootstrap?
Who in the community is saying to steer clear from HAOS?
vim ➡️ github. when the VM boots it grabs the cloud config from the repo and applies it to itself. that's how I did it with rancher.
This is the VM that HA runs in?
it runs wherever kube tells it to. I was just making a joke based on the cult of the new
Haha I know, but I also generally agree. But I've also found you gotta start somewhere sometimes and that's when I use ansible. I could probably do with using a little more cloudinit though, but I'm pretty new to it
yeah. at home I really just use it for provisioning the default user
Yeah same
although ubuntu can now grab ssh keys from github.com/user_name.keys
I think we're off-topic now 👀
Quick, say something related to installing HA
maybe a derpy question. hassio uses resinos? once i've flashed it with etcher, can i mount any of the partitions on my mac to edit them and setup networking (raspberry pi 0 2)
https://www.home-assistant.io/common-tasks/os/#home-assistant-via-the-command-line seems to be what i'm looking for but farting around with it last night, i couldn't get the wifi configured. it was late, etc
Is it possible to download full iso of HA for RPi 3 B+ ?
You download an image of HA OS for it, yes. It then needs to boot and connect out to download images and continue setting itself up.
But is it possible to download full iso because normally with first boot they need to use internet for some download right ?
Or it’s not possible to skip this additional download?
Is it normal that if I don’t plug lan to RPi during first boot screen will be only blue ? Because RPi don’t have internet connection to continue installation ?
Ok but during first boot blue screen is normal?
Blue screen where?
on the video output of your pi (if you are using one) or on the browser on the IP:8123?
On screen via HDMI
It’s my first installation so I don’t know how should screen looks like via HDMI during first boot
I missed the part you mentioned it's a RPi3 my bad
blue screen no definitely not right
Yes 3
you mean you see a blue screen nothing else or there's text?
how did you flash the SD card?
so the URL or link on github you click had RPi3 in the name right?
you'd be surprised how many people confused and use the RPi4 image
Can I put link here ?
sure
yeah right that's the Pi3
I download it and then flash to sd card
another stupid question you are sure you have a Pi3? 😅
sd card format fat32
that doesn't matter. Balena will reformat it anyway
it should have writing on saying which one it is
I leave RPi at work
if there's no blue USB ports it's definitely not RPi4 that's one thing
but ocassionally people have confused RPi2 with Rpi3
usually it just gets a black screen as nothing boots. But maybe your screen just shows blue instead?
there's a RPi2 image
each Pi has each own image
it's not one image for all Rpi
they are not advertised for the Rpi2 but they exist on github
But if it’s 2 I will kill my employee 😉 joke of course
as far as I can tell the RPi2 has black coloured connectors for where you connect ribbon cables like a camera/screen
but can't rely on that
there's revisions and I have an Rp3 and they are actually black here
so forget that lol
Look at the board it should be written on it
Tomorrow morning I will check but I think it’s 3 B+
it definitely needs the internet but even without it you should still be seeing it trying to boot
it just wouldn't be able to fully boot
But if it’s 3 I don’t know what to do 😦
@torpid viper is it in a case?
What do you mean?
is the pi in a case?
No
Maybe the company blocks the internet acces that HA needs
the difference between a 4 and anything else is easy
but between 3 and 2 it's not as obvious
I have normal HDMI so for sure it’s not 4 🙂
@loud lion you would still see the system attempting to set up
if it's a blank screen, it's probably the wrong image
Howdy! I am new here, and new to HA. I've tried installing HA on Win11 using both Hyper-V and VirtualBox. Both installs work perfectly per the instructions here https://www.home-assistant.io/installation/windows/ -- however once I go to homeassistant:8123 in my browser, I never see the Onboarding page that's shown here https://www.home-assistant.io/getting-started/onboarding/ -- instead I just get a normal login page. I've tried several times now, and have Googled for a few hours with no answer. Any ideas?
This is all I ever see: http://chrisdrive.com/a/she98.jpg and I have tried Edge and Chrome, and both in incognito mode as well. For a fresh install, I'm expecting to see the onboarding page but I just see a login.
Do you have more than 1 HA server on your network/ are you reusing any config files from a test or previous install?
Nope and nope. This is fresh new install and my first and only. I'm just trying to get started
I figured it out... it's the corporate VPN I'm connected to. I ran into a similar problem with my PiKVM and had to hunt down the IP since someone else on the network also had one 🙂
My VM is stuck at "Autoboot" (not sure if that's correct) and I don't see it on my network yet, so I've got more troubleshooting to do.
I got it working with Hyper-V Manager finally! 🙂 So, ah.... never-mind !
Welp. Hardware that I have for the HA server does not support UEFI. Any recommendations for a linux distro that only does kvm/libvirt/quemu? Needs to not hard-require UEFI, and webui is entirely optional
Something like HAOS in that it's lightweight and ready to go
I should probably just roll my own and manage with ansible... not ideal as I'm trying to reduce effort: https://lunar.computer/posts/kvm-qemu-libvirt-alpine/
Hi all
I'm trying to install HA on WSL
/srv/homeassistant is created
I run once pip3 install homeassistant
and after few steps it went back to windows command line
now when I start again WSL
and run pip3 install homeassistant
nothing happens
I get back the prompt with nothing happening
any idea?
Collecting voluptuous==0.12.2
Using cached voluptuous-0.12.2-py3-none-any.whl
ERROR: Exception:
Traceback (most recent call last):
File "/usr/share/python-wheels/resolvelib-0.5.4-py2.py3-none-any.whl/resolvelib/resolvers.py", line 171, in _merge_into_criterion
crit = self.state.criteria[name]
KeyError: 'voluptuous'
During handling of the above exception, another exception occurred:
zipfile.BadZipFile: File is not a zip file
virus?
Fresh installation and I didn’t see supervisor tab. How can I repair this ?
@torpid viper it's in the configuration page menu
I would install home assistant in Docker on WSL
it will be much easier to install and manage within Docker and less strange errors
Hey @jovial rampart today I had problem! The addons started to act wierd.. and now the Pi wont boot the SSD anymore :S
Tried insert the SD card with Raspberry OS without problem and all config and text files were still fine
Wierd.. changed USB slot and now it worked again .. hm
Is there a way to install an ecobee thermostat as local only? I see stuff about it being local for homekit, should I be spoofing a homekit instance for this?
this is chat for #integrations-archived
Hey folks, just installed HA and went to enable on Alexa but username/password was "wrong". Thought that was odd so I logged out on my desktop and went to log back in with the same password I just set up (only a couple hours ago)...username/password invalid. Is this a common occurrence or have I literally gone bonkers. Username is email and/or the username we set when first installing correct?
the username and password for HA cloud is different than your ha login credentials
Okay, thank you. So, I just went ahead and reimaged my SSD because I couldn't even login through the local address. When I am enabling the HA skill through Alexa, I will need to sign up for HA cloud account?
Exposing HA entities to Alexa and/or Google Assistant automatically is only available via HA Cloud yes
if that's what you were trying to do
this is different to wanting to use Alexa as a media player in HA however (in case that's what you had in mind)
So I have a climate integration (for a radiator I have), however it doesn't have a thermostat sensor (so it can't say in the card how hot it is) and because of how weird it is theres only auto/heat modes. Is there a way to set up a custom thermostat that does what I want. From what i can see the generic thermostat requires switches, which I don't have
So is there any known issues using SSD to a Raspberry Pi 3?
The initial setup works fine! Got it all up and running.. but eventually the Home Assistant just stops answering.
The SATA-USB cable have a firm red light while the blue light keeps blinking. On the Pi it self the right red lamp is firm red and the left diode is slowly blinking yellow. Why is this happening?
The SSD worked fine on my computer so shouldnt be a problem.
The Pi feels really hot, could that be the reason?
so I just updated to HA OS 7.6 and my HA blue would not come back up after an hour or so. I power cycled the unit and now it's come back up. I'm guessing at this point I've lost the ability to troubleshoot what happened, but does anyone have any ideas on how I can try to identify what happened so I can post an issue about it?
Website installation links all point to HAOS 7.5 but I see 7.6 in github releases. Any downsides for going with 7.6?
So, i installed duckdnsaddon to autoupdate my external ip and created ssl_certificate: /ssl/fullchain.pem ssl_key: /ssl/privkey.pem
in the Http: integration
now i cant access Ha external (502) or internal (didnt send any data)
using ssh directly, i can use core check but get stuck at proccessing
sadly i didnt know about full and partial backups, so i only created partial once
so doing backups restore (ID), I get the supervisor msg of being partial and an error
how can i restore partial backups ?
I am also using the ha google backup, do these backup always do a full backup ?
how can i acess the config.yaml via ssh
in the ha operatin system
in SSH you should have /config there
you're directly connected with a keyboard and monitor?
or in the console of a VM if its a VM?
yes
right
directly
then login first to escape the ha cli
then your config would be in /mnt/data/supervisor/homeassistant/
only vi exists in the host shell though
yes there's no such command
why?
you just need vi /mnt/data/supervisor/homeassistant/configuration.yaml
the http part did seem correct though so not sure where you got wrong there
I'd also hope you know how to save and exit from vi 😄
using your statet path i get not found
google said thats the term to save and quit out of VI
never seen that term before to be honest
first need to get to the file anyway
does ls /mnt/data/supervisor/homeassistant not show you your files?
WELL i am in /vi atm
It's one of many ways to exit vi
I just knew of wq
There's whole sagas been written on how to escape from vi
you need to leave from there @quasi kernel 😄
<esc>:wq
Did you start with
vi /config/configuration.yaml
```?
just /vi
that that path exactly though of course
i am just restarting the whole system
to get out
xD
so the overall goal is to get into the config.yaml and delte the http lines there
and hope everything works fine agian
right
?
how did you try to access HA after that?
you said external and internally wasn't posisble
but did you actually change to https ?
Just vi isn't going to help, you need to tell it what file to edit
well duckdns for sure with https
internal i dont know
so if vi isnt helping at all
i should just do a cleanreinstall
what's your internal IP?
so click here https://192.168.178.67:8123
does this not load with a warning?
this should work regardless http://192.168.178.67:4357 just as a check
This site can’t be reached192.168.178.67 refused to connect.
http://192.168.178.67:4357/ says: connected supported and healthy
so ls /mnt/data/supervisor/homeassistant/ does it not show you your files?
it does
right and there's a configuration.yaml no?
yes
so vi /mnt/data/supervisor/homeassistant/configuration.yaml would be what you want
can even just type conf then TAB
so it autofills the rest
make sure it's not you haivng a typo
huh?
if that's where you have yours
well
i am using a german keyboard
but the system thinks its the us one
so i cant tell where do find it
google says us keyboard got theres on shift+3
for us should be on 3 yes
you can also just backspace till you remove the lines lol
was supposed to be easier
i got
it
had to used a first for adding
and now i do esp + :wq ?
i am out
i guess
if you're back in a terminal then yes
if you have left vi you'd be seeing the last command you typed
no
its the stuff i got after getting into the vi
i guess i am still in there then ?
I'm so confused
but if you are still in vi you'll literally be seeing your config still
well
i see it on the top of my terminal but cant acess it
ctrl + c doenst work
i am in a # enviroment not the ha one
do i have to do logout
or something ?
is this a VM you said?
running ha operationsystem on a pi4
right
basically just trying to say take a screenshot and share it with imgur
you'v lost me
I can't tell form what you're saying if you're still in vi or not
you seem you aren't with some messages and you seem to still be with others
lol
if you are seeing a # should be out
but Ctrl C should also work
right you are out
send u a dm
question being if you actually removed the lines and saved them
you don't need to unplug
you are in a terminal you can do 250 different things form right there
never unplug
ha core restartwill restart HA
you don't even need to reboot the host
if i get back into ha
ha not found
brb pee
For Core, yes
docker is way easier to setup and get working
I used for now
rm -rf ~/.cache/pip
I'm trying to reinstall
I have also this:
ImportError: cannot import name 'zoneinfo' from 'backports'
does anyone know why the rpi that i use to power HA mightve started randomly encountering problems in terms of power? it used to be intermittent before but now its almost constant https://imgur.com/a/87QCI8r
i'm using a PSU that has the recommended specs and only have a 5v fan and 64gb usb stick attached to the pi
if there are any places that i can look for logs relating to power issues that would also be great
i also havent plugged in anything recently when the issues started (another pic of the issue: https://imgur.com/a/nb4vtwq)
@lament estuary have you tried disconnecting the fan?
nope i'll try that out
though it was running with the fan for a month without issues
again running on docker prevents all these dependency errors I highly recommend it
Docker just isn't an option on Windows
WSL has full docker support
works very well
With proper host mode networking?
Haven't tested that you could be right
Pretty sure it doesn't have it, which makes it not supported
If you have to run on Windows, then a VM is the relatively sane option, but it's still not ideal
Seen so many issues with VM's not auto-starting, USB devices getting lost, etc etc
The issue with WSL even if you do get it working with pip is its not meant to run constantly
so its more for dev env's
but that is really not supported
and with the changes made to the supervised installer now I bet it won't be able to finish install
It does not 😛
It's getting better, but it is not fully there yet.
You also have zero access to USB devices, other than usbipd-win.
So, basically, still a case of you'd have to be an idiot to use it then 
Nah, it's pretty powerful
Yeah, but not for HA
I can get a full Linux dev environment for embedded work while still staying in Windows.
Correct
For HA, that would be insane.
Which is all that matters in this channel 😉
Which brings me to the reason I stepped into your office. Has anyone tried hosting HA on a remote server and then just exposing the stuff on your network it needs to control it? I was thinking Zigbee gateway would be easy enough. Unsure about my Z-wave stick though.
That sounds like a terrible idea
People have done it, and then whined about how things don't work well
Well, less terrible when you consider the savings in energy. 😛 But I'm not about to jump down that rabithole myself, so if it's completely untested, I wont bother trying.
Oh, it's not untested, it's just ... not a great idea
First off you have the issue that many integrations won't work unless you're running a bridge mode VPN
Then you have the whole took something designed to run locally, and shoved it into the cloud
Yeah
If energy savings matter you wouldn't be using smart lights/switches/etc
Well, you can still use those and not go nuts on energy at the same time 😛
My server is like $15/mo to keep running, compared to a cheap $5 VPS.
Energy prices are silly lately ...
Buy a lower power server? Switch to a Pi?
That's also a cost though. 😄
Oh, can't complain as a software engineer 😛 Doesn't mean I want to just throw money away.
Anyways, was just curious 😄
As I said, people have done it, but some stuff is just going to be broken by design
How do you disable a device from being exposed to Google Assistant/Google Home? It looks like I would add the entity_id and then set expose as false but it's still showing up in Google Home.
https://www.home-assistant.io/integrations/google_assistant/#expose
I've restarted HA and also told Google Assistant to "sync devices"
#integrations-archived can help with integrations
ain't nobody got time to read more than two characters into the name
Hey guys - this might be the better channe than the general one to ask this... I have an unraid server and home assistant running as vm (.qcow2). Everything runs fine butwhen i tried to install security cams i ran into some trouble... it seems that there is no ffmpeg installed and also no apk-get. Since I am fairly inexperienced with linux, how can i get ffmpeg to run?
just did and no difference
I removed the usb stick as well and it still has power issues
@ruby grotto ffmpeg is included
No bother lol
My Home Assistant has been acting strange lately. I have it on a Raspberry Pi 3 B. Going trough an SSD.
It works fine in the evening and now at morning it wont work again. I was wondering if it had to do with overheating, but I dont know..
I did connect a monitor to the Pi and here is what it tells me:
https://ibb.co/3zj9TN2
Can you make anything out of it? systemd[1] failed.. I/O error etc..
Lack of power possibly, or other issues relating to the adapter for the SSD
Hm ok! I use the original adapter to the Raspberry Pi. How can I fix this? Try another power supply to my Raspberry? Its a USB C contact, so could I just try use the charger for me ipad instead? 😛
do you externally power the ssd?
Nope! Do I need to do that? All guides on the internet didnt bring that up
All I use it Sata to USB cable into my Raspberry Pi 3 B
I mean it do work fine! It seems to require med to reinstall Hasso each time the HA crash. And then all work fine for a while with a new fresh installation. I then just load an backup and all work fine. Until it eventually crash some hours later
But since its a Pi 3 B I only have USB 2.0 ports..
my bad, i was thinking about hard drives, so that probably shouldnt be a problem
have you tried the sata adapter with another computer and with another ssd (if you have another one)?
could either be the adapter or the ssd being defective
well I use it in my computer when I reload HASSO OS. And there it doesnt say anything! But that takes quite short time though. I do have another SSD so I could try that. The SATA-USB cable is fresh from the store, bought it like yeaterday
But the SSD I'm using is from my previous computer.. didnt have any problems with that computer before I bought my new one
Is the SSD a Kingston A400?
The only reason I ask is because I have had several of those die on me
Sorry I missed that, Yes its a Kingston SA400S37 240GB.
But if it dies... do it even run? or is this the way SSD "die" they start to act like they work and then just shit in your face like this? 😛
for me with those SSD's I just get random disconnects after a few hours of use, some googling seems to point out that they use a very cheap controller that just dies like this but I find if I unplug and plug the SSD back in it continues to work for a bit
thus your I/O error makes sense
oh ok.. well I do have another SSD like a 120GB one.. guess I go try that one. Its another brand
what brand?
hm cant remember, will check when I get home!
Alright well good luck, this is why backups are important
Yeha. All I want is for to work stable. Now it works again.. so strange.. comes and go!
Temperature peaks up to 80 ish degree and the memory use is steady around 80-90%
I entered the Observer URL and it said:
Home Assistant observer
Supervisor: Connected
Supported: Unsupported
Healthy: Unhealthy
What does unhealthy means?
Likely relates to you running a Supervised install
Hopefully you're not, but that's the most common cause
He's running HAOS
That's impressive then
probably added some containers
well his drive was dying
What do you mean supervised install? What do that mean? I just installed HAOS yeha on my SSD
then I recommend doing ha su repair from SSH
it's non-specific, but it's complaining about something, and that command might clear it up
still says unhealthy though 🙂
ha su logs say some reds:
(MainThread) [supervisor.api.middleware.security] Invalid token for access /supervisor/info
could it be something in my installation of HAOS that is messing up my experience? Because so far everything work fine. The SSD seems fine now 😛
hey im wondering if someone can help me im doing an intel nuc hassos install and getting stuck on the prepare screen, the logs show a 500 server error for http+docker://localhost/v1.41/images/create?tag=2022.3.8&fromImage=ghcr.io%2Fhome-assistant%2Fgeneric-x86-64-homeassistant&platform=linux%2Famd64
make sure you don't have any dns blocking in your network
no nothing is blocked
usually setting manual DNS servers does the trick
where can i set that
you have a screen and keyboard attached to it?
yep
you'll be at the ha cli (ha >). Type login which will take you to the underlying shell --> #
then nmcli con show should show you one entry in green
edit that connection using nmcli con edit "Home Assistant OS default" (that should be its name)
then set ipv4.dns 9.9.9.9 (or 1.1.1.1)
save
quit
and finally ha host reboot
alright i was able to ping ghcr.io now, watching logs now, hopefully that works 😄
sweet success
Hi guys! anyone here have time to help me restore a full backup from ssh?
im logged in and everything but cant figure out the string to start the restore
the backup is in there right?
yup
ha backup will listt all your backups and the slug for each
then once you have it ha backup restore <slug>
➜ ~ ha backups restore df4c383b
Processing... Done.
Command completed successfully.
what to do next?
was that a full backup?
yes i should be
seems quite fast that it finished
yes
check ha su logs
its password protected, do i need to type something in for that?
ah
by the way ha backups restore --help lists all possibilities. --help after any command will
there is apparently --password string
ha backups restore df4c383b --password MYPASS
like that?
processing... done insta after each try
seems very weird..
there should be something in the supervisor logs
can i paste them here?
if it's 10+ lines no
one or two will be OK thoguh
none of those seem to be relevant
I'd expect supervisor to have logs saying the restore has started
did manage to connect and do a restore in the frontend, thanks
i hope this works this time, this is what fucked all up from the beginning
what went so wrong that you lost frondend access?
did a restore and all my config files was gone
and another one and after that my ssl was gone so i could not connect
might be the backup thats corrupted, fingers crossed this time.
how long should a full restore take? im on pi 4 with 4 gig ram
depends on what you are restoring as well
e.g. I have 4GB backups so they take 30-45mins at least on that hardware
keep checking su logs
my backups is ~2gig
where do i type su logs now? :p
if you are in ha> you type su logs
if you are in # you type ha su logs
when in ha> the ha part is already there 😉
oh with putty throu ssh?
no you can't get to the same place when you are usiing ssh as you can when directly attached
if you are now using ssh then you need ha su logs
cant connect yet
docker logs hassio_supervisor --follow is also a possibility
then it will keep going live
ssh did just start working again
yay, seem like it working just fine atm
samba is already working and the ssl folder seems fine this time
cant connect to frontend yet thou
Thanks @high token for all the help! It works like a charm again ❤️
doing a backup directly now ^^
I think I bricked my nuc that home assistant had been successfully running on for a year. What are the minimum recommended specifications for a low-power barebone PC to run Home Assistant / Node-Red / InfluxDV / Graphana / piHole?
How many devices? I don't know about influx and graphana, but the rest should be simples on even a raspi4 with a bit of ram.
Would you be open to ARM or want x86 machine?
I don't run from SD card though... If you've got a lot of data going in/out of your influxdb then your need to look at the pi that can do the m2 SSD perhaps, or if you have a NAS or similar you can mount something over NFS or iSCSI and keep the data off the pi
What are the specs of your current nuc that is bricked?
can anyone advise on what to do if you run ha supervised install on rpi before adding the cgroup fix?
can you let me know the error you are receiving and confirm to me you are on stock debian not raspbian
I may be able to push a fix
file a bug report here: https://github.com/home-assistant/supervised-installer/issues/new/choose
sure i downloaded docker 1.2.2 and ran it, then downloaded the aarch64.deb and ran it and got this result
info] Switching to cgroup v1
cp: cannot stat '/etc/default/grub': No such file or directory
dpkg: error processing package homeassistant-supervised (--configure):
installed homeassistant-supervised package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
homeassistant-supervised
E: Sub-process /usr/bin/dpkg returned an error code (1)
and i confirmed im on deb 11
ok so its not raspbian
yes to the best of my knowledge. i just downloaded the 64 version today
what is the output of lsb_release -d
one sec i have to fire back up the pi
to be sure im on the right version, i dl'd the 1-28-22 raspios bullseye-arm64.img
when i did the version check via cat /etc/os-release it says debian gnu/linux version id 11
Raspberry Pi OS is not supported if that is what you are using
that command returns the same debian gnu/linux 11
do you have a file named /boot/cmdline.txt
yes
ok can you add this to the end of the line systemd.unified_cgroup_hierarchy=false
i did that before, and also added the same to the etc/default/grub
however i found this fix after already trying to install the ha sup
but etc/default/grub did not exist before correct?
correct
ok so now that you have both of those in place it should go through because the check would have suceeded
ok let me try again
this is a bug and I should be able to fix it tomorrow, its because I am only testing for the existence of the grub file I need to add an elseif somewhere in there
huh it worked 🤣
i guess it needed a nap
😛
i been messin with this for 4 hrs lol. i decided to call it a day and shutdown and unplug the device. I had to have rebooted it at least two or 3 times since loading those commands.
it knew you were watching 😛
no thats my fault, just gotta work on the logic. I didn't have a pi to test
should be an easy fix
nah no fault at all, i learned a lot over these few hrs 😉
im a noob to all this so it was a good learning exp.
fair enough I guess, nobody has submitted a proper bug report so I was not sure if this impacted everyone
thanks for cooperating with my questions lol
since im running this as an all in one system on a desktop rpi w 7in touchscreen all i need to do now is point the onboard browser to the as local and i should be good to go correct?
sure thing 🙂
👍
it should even tell you the local ip in the output at the end
yep it did
alright well I got to go but lmk if you run into any other issues
sure thing, thanks for the help 😄
Is it a headache to replace your router and "migrate" HA over to it? I'm assuming it would assign new IPs to all my wifi devices and break a lot of configurations
DHCP reservations will prevent that....
is there any instructions about how to migrate HA to another device? is it ok to just copy over the config yamls (and everything in the config directory, i think there's a db file in there as well..)
Elaborate
everything in the config directory, including all hidden files and directories
Failed to to call /supervisor/options - Invalid Add-on repository!
5:06:17 PM – (ERROR) Home Assistant Supervisor - message first occurred at 4:12:23 PM and shows up 3 times
Fresh install in rpi3 - app store not loading 😦
And app store is not working, any ideas ?🙏
explain like I'm 5 because you're not using complete sentences
Go into the router and under DHCP, reserve the addresses you need for specific devices. Anything that needs a specific IP should be done this way. You could set static IPs, but reservations are the correct method. Google and YouTube are your friends here.....
Docker filled my / partition (the overlay2 folder consumes 181GB) and I cannot clear up this space. Now, hassio_supervisor won't start anymore because of GitRepo.pull blocked from execution, not enough free space (0.3GB) left on the device. I'm running Debian 11.3 with a 240GB SSD (20GB Swap). I was thinking of doing a complete reinstall of docker because of this overlay2 problem, but I don't know if it's possible to just keep my local data in /usr/share/hassio because I can't do backups anymore without the Supervisor.
I have a question, i have an ssd on my raspberry pi 3 with usb to sata adapter. Raspbian runs fine from the SSD but home assistant wont boot
any suggestions?
How are you trying to run HA?
i flashed the image using etcher
on the SSD and than just plug je usb in a usb port on the raspberry pi
just like i did with raspbian
but raspbian boots and HA wont
which kinda suck because i specifacly bought the ssd and adapter for HA
you install HAOS as normal to your SD
plug in the SSD
go to Superivosr click to move the data to the SSD
restore your backup
and than only the boot file is on the sd card?
the OS itself will be the only thing on the SD card
so would only get written to essentially during OS updates
but all the logging etc will that be written to the sd card or ssd?
HA, addons and Supervisor all in the SSD
rasbian does u boot differently to HAOS
ah okay
although usually that is mostly a problem in Rpi4
but have seen here people having issues with certain SSD on Rpi3 too
oh....
on first boot can i let the ssd and sd card in?
or do i need to do the first boot with only sd carD?
No first SD only and get that up and running
okay
Ah then make an actual account 😄
ah okay
protection so not to accidentally override a HA
i understand
how long does it take for the first boot to start HA?
so i can access it in the browser?
hmm
oh yes
it works
great, now we wait 😄
in what format do i need to format the ssd?
it's not as important. it will do what it needs itself anyway
anything but HA on it is what's most important
could just flash RpiOS lol
you can monitor what it's doing if you click on the blue dot
making user provided files available at /var/run/s6/etc...exited 0.
dont know how far that is in the progress 😄
ok, so I want to migrate my settings from a docker install to a raspi running homeassistant os --- I managed to extract the chonfig dir already, but what is the best way to get it into homeassistant os? ssh doesn't seem to be on... how do I do that?
huh wtf
just setup an account
restarted the pi to connect the ssd
now it is setting it up for the first time again
I never said to restart
kinda weird that it is preparing home assistant again
yeah quitee
give it sometime lets see
You are shy of 4 days for a nice addition in 2022.4 to do that automatically 😅
gnnnnn ok I'll nuke it in 4 days then with the new version. just my luck
you'd have to install an addon either SAMBA or SSH whatever you are most comfortable with to move the files in the new /confifg
can always join beta today and test the future 😛
yep
you would just have to change the tag in your compose to pull the beta
oh a new version for the container? I thought for the hass-os
that's no biggie then. thanks
well you'd have to run the beta on the container first to use the future
but ideally, yes, in your docker-compose.yaml
you just get a backup feature that you can then upload in HAOS and restore
it's a secret though. Don't tell anyone else
okay we are in again
and just plugged in the ssd
but when i do move datadisk
i get no suitable attached devices found
@grand pivot yeah, will try it, thanks
@vernal lake do you see in the Supervisor logs that something was plugged in?
it could be you didn't actually format it properly and it's still seeing HAOS stuff on it
flash raspbian on it
will do
hmm
now i see select new datadisk
and it says /dev/sda
but when i press that the windows closes...
yes
what about su logs
so i cant press move...
yes
try on icognito or another browser
HmM I can't say I've seen that before
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.
not sure if it does videos though
Hello Everyone. Please i need help. trying to migrate my HA installation to a HP Elitedesk 800 G2 mini. its core i3 3.2ghz 240 SSD 16gb machine running proxmox. Every config on the VM seems right but i get stuck at preparing home assistant..... forever? i have deleted the VM over 5 times and get the same issue when reinstalling.
I checked the logs and here's what i see
Everything is green except for this - “Can’t execute restart while a task is in progress”
here's a screenshot of the logs - https://ibb.co/hyyzjyt
Hello, does anyone has an idea how i can use the aedes barebone matt broker on homeassistant os
could your config be invalid
I was having this issue as well.
This is basically a DNS issue. I solved by following this: https://community.home-assistant.io/t/solution-to-a-hanged-preparing-home-installation-screen-during-new-install-on-a-raspberry-pi-4-dns-fix/273803
.
Now I'm having issue updating "Home Assistant Operating System" from 7.5 to 7.6 and "Home Assistant Core" from 2022.3.5 to 2022.3.8.
Basically I press update, I can see the loading ring for a couple minutes (over 10+) and then nothing happens. After that I refresh the page and the update is still there =/
I tried logging into the SSH and do a ping, and it works great (for both domains and direct ip's). So it's not an internet issue.
still trying to get the boot from ssd working
i get this right now
anyone knows what the problem could be?
Trying to restore my back up! another issue! Why am i getting this error? - Restoring a backup is not possible right now because the system is in freeze state.
can someone help me with mounting a external hdd (at /dev/sda1) as a media location
(my config is hassos on an intel nuc)
i tried the udev rule way but i couldn't get it to work
and i also tried to ssh with the debug port, but i couldn't get the debug ssh to work
I tried to install home assistant os on an old laptop last night. It didn’t work, but I think I know why but want confirmation. Do I burn the os image on a usb or on the SSD itself? I did on a usb stick first (years of Linux and windows installs are ingrained in me) but now I’m thinking I should have just burned it straight to the drive.
You'd want to install it on the SSD, not the USB
Though, using the USB means you just have to leave that in, and wait for it to fail 😄
I've once also seen the opposite
Hi, I have just migrated from a server core install to a Hassio on a new Pi4 (2022.3.8) on my old system it picked up the built in bluetooth no issues and controlled my switchbot, on the new system it doesnt appear to be using the onboard bluetooth. How do I enable the onboard for Hassio installs on a Pi4?
Hmm, wonder what I am missing then.
Is there a bash command to see if Bluetooth is on?
Great thanks, I'll test tomorrow.
Because I am stupid and had the check in bed I, it looks good.(getting pairable yes) So must be the switchbot integration didn't migrate properly. I'll dig into logs tomorrow. Thanks again for the help!
well i found my issue @high token whenver i use a powered usb hub it works fine from to boot from the ssd itself...
Ahh it never had enough power
there's anyway a limit to how much the USB ports can provide
yeah that is true.
adding more amperage to the pi doesn't mean more will be delivered to the SSD
wow
i found an old disk reader that was powered with usb but had a seperate usb power brick. I plugged that it and it it starting now
pretty sweet 😄
how long does it normally take to restore from a backup?
because i uploaded a 7.5MB backup and want to restore it.. but it is already taking 10 minutes
I wouldn't think more than 20mins
he dead?
Hi! I would like to install HA on an RPi 3b (32bit). I followed the instruction guides. Now, http://homeassistant.local:8123/ says that it's preparing HA for almost 1 hour. Do you have any recommendations what to do? Is this expected?
Click the blue dot
This is the 1st error: Can't clone https://github.com/hassio-addons/repository repository: Cmd('git') failed due to: exit code(128)
The 2nd is [supervisor.utils] Can't execute check_trust while a task is in progress
The 3rd [supervisor.docker.interface] Can't install ghcr.io/home-assistant/raspberrypi3-homeassistant:2022.3.8: 500 Server Error for http+docker://localhost/v1.41/images/create?tag=2022.3.8&fromImage=ghcr.io%2Fhome-assistant%2Fraspberrypi3-homeassistant&platform=linux%2Farm%2Fv7: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: TLS handshake timeout")
Could this be a generic network error on my side?
It would be surprising as I can access homeassistant.local and I can chat here from another computer...
Hmm, the git error is about SSL error: RPC failed; curl 56 OpenSSL SSL_read: Connection reset by peer, errno 104 error: 2148 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output '.
Try disabling ipv6 on your router, or via the RPi console
@grand pivot How can I get to the RPi console if HA OS was burned to the SD card?
Plug in a keyboard and monitor when you boot the system
yes
There are instructions to disable ipv6 here under 'unable to reach the home assistant cloud': https://www.nabucasa.com/config/troubleshooting/. Ignore the cloud part
Everytime I try to save while using configuration.yaml in VScode on a RPi 4B it cause my Home Assistant to crash / not being able to reload, why and how can I resolve the issue? Thanks
How much ram does that Pi have?
That's not enough for that addon
I realised that I answered a question that was not meant to me. I am still setting up HA initially, not installing an add-on.
Ok. I got a step closer to the issue. At the CLI network info and docker info return a connection refused when they try to connect to 172.30.32.2:80 What component is expected to listen there?
From ha banner I learned that an IPv6 address was assigned too. Unfortunately, I can not disable it. Probably because of https://raspberrypi.stackexchange.com/questions/43560/raspberry-pi-3-eth0-wrongfully-named-enx
You can't follow the instructions I linked to above?
I just managed to disable it
@grand pivot Shall I restart now? Is there a nicer way than unplugging the RPi?
ha host reboot
Thank you all! After disabling IPv6 and rebooting, I managed to get to the UI.
The Home Assistant crash when I use VScode upon saving/interacting with it. I have to switch on/off the PI for it to get up running again.
Well.... Thanks to the stupidly high cost of electric in the UK at the moment, and the fact that the price will be even higher in Oct, I need to shut down my server rather than run it 24hrs a day as it's using 3kW per 24hrs (120 Watts) doing not very much.
This means that I need to move HA, Mosquito, Zigbee2MQTT and NodeRed over to a Raspberry Pi, which I believe uses about 15 Watts.
So my question is which PI would be best to run, 3B+ or 4, and is there an easy way to bring over all my config files to the PI install?
I think the pi you use is a preference thing. Me, I would get the newest one possible. Depending on your install, just do a backup. As of 2022.4, backups are available for docker and venv, and already available in HaOS.
The backup is just a compressed file of your config folder, so put it back in place and off and running. Or, you could just copy all the files in your config folder, including hidden files
if you haven't bought a pi already, I would consider a mini PC from ebay (e.g. lenovo tiny, dell optiplex micro), they are probably about the same price as pis with better specs and you can reuse some hardware
i have a backup of my whole old home assistant environment
can i find the automation yaml somewhere in the .tar file?
@vernal lake posted a code wall, it is moved here --> https://hastebin.com/kudozibija
boo
Message malformed: expected dictionary
this is the error im getting
@vernal lake Please use a code share site to share code or logs, for example:
- https://www.codepile.net/ (select YAML as the language)
- https://paste.debian.net/ (select YAML as the language)
- https://dpaste.org/ (you guessed it, select YAML)
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.
You could also just put the entire automations.yaml into your new automation.yaml
ah okay
well that is in my automations.yaml
in the backup
so thats why i copied it
that contains all your automations
The error wasn’t the id: line. You should leave that in. It was the single quote before the hyphen.
What's the process to install HA on a SSD and connect it to a RPI ?
Depending on the Rpi you might need to enable USB boot
otherwise flash the image on the SSD and see if it boots
Hmm on my previous HA installation i could go to HA via an external urk
Url
Now i installed duckdns again and the ip of the raspberry pi is the same
But i vant reach it
It instantly says unable to connect to home assistant
The webpage
Check:
- That the port forwarding on the router is correct
- Your DuckDNS hostname still resolves to your WAN IP
Sweet got it working again
hey guys 🙂
is there a way to deploy HA without an UEFI system that can self maintain / update and have all the features and options as the UEFI version on an X86-64bit machine ??
I have an older supermicro 1u half depth server that i could use... but my last attempt left me with a very limited install
you might be looking at supervised in that case
but you must be ok with managing a linux system
thats fine
@high token why is the db file still 5.5 gb?
been over 10 days
most devices don't have history anymore
Ok, this is interesting. intel nuc with internal ssd, want to install HAOS on it, but looking at the "guides" it appears that you have a disk image and we have the options to disassemble the nuc and pull the drive and write to that, or we have the option of booting from a live OS and then downloading the HAOS image, then using something like balena or dd to write that to the nuc internal drive. Is this how I'm reading it?
thanks, already started the install 👍
Debian first, then will load SSH onto it and start the docker install
did "users" become people? Got it installed on the nuc and am doing initial configuration, looking for the spot to add users. my HA install has it under configuration -> people and zones. this new install only has people and zones.
@high token well found the issue. The new Pi4 I got I also got a nice new heat sink to keep it running nice and cool. That has apparently made the range of the BT to around 2m max. So might have to look at getting an external BT dongle or remove the heat sink. Thanks for you help.
What heat sink is that that blocks BT that much 😅
Would also hope you're not also using WIFi
Alternatively there should be some esp based solution to control it. I don't think ESPHOME has support but someone out there would have put something together
I dont even have the bottom plate attached as I printed a housing to hold it lol
Aaaah surrounded by metal. Yeah definitely not that good for BT
I just have a bigger computer fan underneath blowing air up on a two tier printed base thing so cools two boards at once. Otherwise mine doesn't have any fan directly on the pi
Ill work out an external one I think, at least now I know whats happening. Reason I started on HA was to get switchbot working for my wife haha.
Thanks again for the help!
We all start some way or a other hehe
where can i set the backup types ?
always wanna do fullbackups instead of partcials
Same place you do partial backups.
But don't select options, just leave it on full.
i always do backups before updates
right next to the update button
these backups are always partial ?
hey folks, I'm trying to upgrade an install in a virtual environment and get the error: Requirement already satisfied, skipping upgrade
Lots of posts about that and some suggest upgrading python, but I'm current on 3.20.x
Python 3.20?
Idea how I could troubleshoot this?
HA OS 7.6
https://cdn.discordapp.com/attachments/755530244051566614/960628230778404884/unknown.png
aka enable or get to persistent journal
anyone have any tips about my upgrade issue ^
upgrade to 3.9
ok... ubuntu thinks 3.8.x is current but I'll see if I can force an upgrade
apt install python3.9
upgrading python didnt do it
actually...it did upgrade...but it looks like the virtual enviroment has a symlink to python3.8
when I remove that symlink and replace it with 3.9, everything fails
this is why I use docker... switching python versions can be hard on a bare metal linux install
scroll all the way down to Linux on this guide https://phoenixnap.com/kb/upgrade-python
the sudo update-alternatives commands worked for me
Hello everyone. New to Home Assistant. Trying to use it to control 2-3 AppleTVs. I've got the Devices installed correctly and responding. I want to just basically do 3 things: wake, power off, and open apps.
My issue is that I've got this set up but it's very unreliable. About 25% of the time, the scripts I'm running for these commands don't do anything. I have to restart the AppleTV units regularly to get them to work smoothly.
Tips? Something I'm doing wrong in the setup of these scripts? Help appreciated!
having real issue being able to get to single url for HA. I can get into HA remotely from phone. but on network I get unable to connect and a warning that the certificate isnt valid. From what I have found I don't think dnsmasq will work as my router doesnt allow changing dns addresses. Im pretty close to installing nabu casa, Any tips or ideas would be greatly appreciated.
At home doesn't your external URL work?
The certificate issue is because:
- You're doing SSL directly in HA
- You're not accessing HA using the external hostname
You either:
- Fix that (NAT Loopback, local DNS entry, whatever)
- Use a proxy server for SSL
You have to rebuild the venv using Python 3.9. That basically means you remove the old venv and create a new one (or move the old one out the way and create a new one).
You'll need to do that in December for Python 3.10, and next December for Python 3.11, and ...
Correct. I get unable to connect to HA if I try to access my url while on network. If I get device off of network it pulls up fine, although I keep getting a warning about it not being a safe site.
The warning is normal, so you need one of the two solutions
