#installation-archived
1 messages Β· Page 19 of 1
the problem he gives me via the app is the following, does anyone know how to fix it?
Request timed out.
Error code:
NSURLErrorDomain -1001
.e. I'm trying to install home assistant on rasbarry pi 4 I can't understand after inserting the image on the sd via rasbarry os searching on the net it can't find it via the app it finds it but it still gives an error trying to make a virtual box from a pc could it be a network problem?
so we're helping you help another guy?
You've said that a few times, and it's not making any more sense the third time around
I'm not following your question. What does virtualbox have to do with a Raspberry Pi?
I have the problem
Well, this is the third time they've posted that, and they've never responded before
So, miracles can happen?
to answer the question: yes, NSURLErrorDomain is a failure in network communication
Third time is the charm (maybe)
I will try the installation on another network
how many networks does one have?
yes i only have one network but i will try to install it at a friend's house
i think you might need to watch a tutorial or follow a recent guide for installation and setup if you're having issues like this man
you said Raspberry Pi and Virtual Box? Which one are you using?
rasbarry pi 4
I used the one from the official site of ha
Where are you getting the NSURL error? Is that the phone app? If so what are you entering for the hostname?
I'm getting the impression it might be a case of mDNS not working
Hi, not sure in which channel to ask this... but I'm having trouble setting up the correct path to my generated SSH key. I'm running HAOS, and the keys are in /config/.ssh. This does not seem to work - how should I specify the path? git config core.sshCommand "ssh -i ~\config\.ssh"
For Github that is
/usr/sbin/hassio-supervisor is faling.
ghcr.io/home-assistant/aarch64-hassio-supervisor:2022.12.1
Error response from daemon: layer does not exist
the latest is :2022.11.0
Is that a Supervised install?
yes it is. Its my voip failover
That's what happens when you run Supervised, things just break
bommer
Best bet is to install HAOS and restore a backup
Is it possible in any way to make HA run on a system wich only uses legacy and has no UEFi option?
HAOS requires UEFI. You can either do a Container install or put HAOS in a VM
I dont quite understand what 'supervised' is in the table of wich option brings what
Yeah... no Supervised, just .. no
Pretend it doesn't exist
The only two sensible options are HAOS or Container
Core is for *nix greybeards, and Supervised is for masochists
Why not supervised? It sounds like it has everything haos has
Because it's a huge great big trap
Sure, it has all that, but you have to manage Debian to the exact requirements published
Those requirements change, and you have to stay on top of that, or you'll wake up to a dead install
Most people who want to install Supervised want to do it to break the rules of Supervised: You cannot run extra software with HA
If you don't have the skills to run Container, you certainly don't have anything close to the skills to run Supervised
I have the experience to do so, and I wouldn't touch it as I don't hate myself that much
Ah ok supervised is freestyle im an engineer version xD
Like adding a landmine in place of your cars airbag, engineer version
And multiple safety issues in other places in the car, plus replacing the seat cover fabric with really horrible scratchy thorns
Ok, no supervised
That's it folks, we can pack up and go home for today 
@viral marlin as you no longer have the os which is expected, it is now on you to keep up with the project and make sure all the parts fall in line, are kept at the right versions, etc. You have to pay more attention to the project itself and all the moving parts and decisions. It's a trap because 99% of the people who chose it are not interested in any of that.
Then, about haos.... If it does not wanna install, or boot at all, how can you diagnose what does not work and why?
Yes it must be awesome if you want to program bits and pieces to it and such
Nope you can't do that either with Supervised
If you make changes to the underlying system or deviate from the requirements, everything breaks eventually
xD
Maybe not so eventually π
We can definitely try. How did you try to install it?
You're supposed to create a Live Linux USB and then install HAOS on the internal drive.
I have an ssd. Plugged to a sata to usb 3. I balena etch HA os on it, plug it in, set the bios to no safe mode, active CSM and set all of it to accept UEFi, then i restart and select the ssd
That probably should work, but it's not the recommended install path
Live linux USB as mentioned above π
Well ... Live linux usb, balena etcher... Right?
Yes, it uses Balena Etcher.
But you made it sound like you were taking the SSD out of the machine and doing it somewhere else?
If you said earlier that the machine doesn't have UEFI, then HAOS is not going to work at all
Not thats another machine i tried, but it just doesnt work withour UEFI, this is is more modern and has uefi
Yes, via windows with balena
The same.way i etch linux onto a live usb
this :
To install the HAOS internally on your x86-64 hardware, there are 2 methods:
Copying the HAOS disk image from your Desktop computer onto your boot medium (e.g. by using a USB to S-ATA adapter). This is not an option for a non-removable eMMC on your x86-64 hardware, of course. To use this method, follow the steps described in the procedure below: Write the image to your boot media.
they both lead back to etching HAos onto an ssd tho
I have to say, I've never done it that way and have always booted through a live USB. While the results ought to be the same, it's possible they would not be
so i should etch via a live linux usb in the same way i etch in windows?
@brazen herald i have news
And.... I dont get what is going on
If i etch HA via an url, it does not work, the computer wont boot HAos. If i do it via a downloaded extracted file, it works.
However, if i turn the computer on wich HA is running off, and then turn it on again, it does not work
Sorry, I went back to work, I have meetings all afternoon π
Oh sorry for bothering you!
However, if i turn the computer on wich HA is running off, and then turn it on again, it does not work
That points to a problem with your hardware. If it managed to boot once but won't boot again, something is ... to use a technical term ... fucked
Well, unless you turned it off through yoinking the power
I cannot figure out what, thats the thing. Its not the ssd, since it runs well. I think thad HAos does not like me turning the computer off(?)
Then it might be the process that's broken
@viral marlin 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).
In general you don't shut HAOS down, you can, but it's designed to run 24/7
Many people have turned off/rebooted their HAOS without issues
Thank you
How did you turn it off?
I was about to write so.
I turn off the computer, you press the power button and it stops
The reason i turn it off after a successfull start it that i will nees to turn it off and unplug it eventually
... that's now how you shut it down
Ah ....
That's a forced shut down reserved for "this machine is not responding to any input whatsoever"
If you just briefly pressed the button and it did a graceful ACPI shutdown then that should be fine
Settings > System > Hardware >
> Shutdown
I thought that holding down the power button was the action wich fullfilled this role
No, definitely not
No you never turn off a computer by holding the power button
I dont have that in my HA os screen
Holding the power button is the hardware way to tell the machine "everything is screwed up, I need you to just kill power to everything now"
I have ha>
That's because you're in the console
I am aware of this, thats not how i turn it off :)
I flashed the new drive and nothing changed. Maybe something left on the computer's hard drive? Can it be removed or something?
You need to read the part above it where it says to go to http://homeassistant.local:8123 in your browser (on another machine)
host shutdown from the ha> prompt should work
Can i not turn it off in another way?
I tried it, it restarts itself
You can turn it off from the console, but you also need to read what I wrote before: HA is designed to run 24/7
You shouldn't be shutting the machine down regularly
I dont want to, the thing i am running it on is.... Lets say as a skelleton cause its been two days of me trying to get it to work
Well me and a programming friend of mine
Kinda like turning on a machine running an email server whenever you want to check email.
I want to have it running 24/7
Something is broken in your machine
At a guess, I'd say a hardware flaw is causing it to boot back up again. It could be a BIOS issue, but something is wrong
My machine will boot on power restore, because that's what I configured it to do
Mine will not because i told it not to
The bios was checked, it is working fine
There is something wrong with what i plug into it
But i cannot check what
I know the ssd itself is fine, i checked it
Me and my friend are clueless so thats why i'm here as a last resort xD
It genuinely sounds like a hardware issue if it's rebooting when it's shutdown. I have the latest HAOS on a machine right here, ran the shutdown command, and it powered off.
It could be some bad wiring somewhere leading it to think the power button was touched, or anything, but without seeing it in person there's no way to diagnose the issue.
It does not reboot when shut down
Then why did you say it did?
I also have the case of the computer detecting the drive (as it is doing now), but staying on a black screen
I do not believe i did, i will read back, but if i did sorry, i must have miswritten
I said it here yes, it turns off the HA os programm, not the computer
On the screen with all the lines, it then shuts off and goes back to 1 line at the top, and then goes back to show HA os
Did you do host shutdown as the command on the command line?
I believe i did, there was a command to shut off HA and one for the machine itself, let me see if i can find where i got them from
I found it. I did shutdown core, followed by shutdown host
comment by obiwankenobi
The forum is not guaranteed to give correct advice
Jumbers said right here how to shut it down
it is the thing i found and used, but its indeed not the best.
But if you type ha and press return you should get a help list printed out
If you ran that, the machine wouldn't have turned back on
If you type help on the command line, and press return, you also get... a help list π
well... it did not turn off....
And everything can have --help added to it for more help
What you say you typed is not the same
the commands i used were not in this help list, i tried before searching on google
The words are in another order
if you type host --help, you'll find that the command you need is actually there
then i must have missed it when searching for it in this way
host shutdown != shutdown host
....
you are right, its inversed
that would explain why it did not turn off
well that was stupid me not paying attention, my bad
Shutting down the host will shut down core and superviser automatically, you don't need to do those manually first
then i will use this. after a random ammount of restarts for the last 10 minutes home assitant os booted.
i love timing
i will now type
host studown
into its command prompt
It gave me a connection refused and does not turn off or do anything else
Post "http://supervisor/host/shutdown": dial tcp 172.30.32.2:80: connect: connection refused
I take it i should give up at this point?
I think you have somehow corrupted your install, and should try to install HA again, and use the right commands
You just flashed the SSD and booted the machine before this start?
How quickly after booting it are you trying to shut it down? It takes a while for the first boot to set everything up
At least after waiting 60 seconds
It takes up to like 20 minutes to complete first boot setup
That is... Interesting?
This assumes adequate hardware and internet speed too right?
Could be way longer on a potato and shoestrings
Flash the SSD, let it boot, and don't shut anything down until you at least get through the first time setup wizard in the web interface
Even if it gives a 'blank' black screen?
It can take a while to set up
I have looked at multiple videos and such, the screen shows something going on when it installs
Just let it do its thing, connect to it in the browser on another device, go through the setup, and once that's done you can try shutting it down
In the browser, yes
I have a feeling you're interrupting its initial setup which is corrupting the install. Just boot it up, leave it alone for a while, and then do the setup in your web browser
No i meant as output of the machine its installed on not in the web browser you connect with
Is the initial setup normally with a screen showing nothing ?
Does it have access to the internet through ethernet?
Cause i tried with when i had a screen showing nothing and after 15 minutes it still did nothing
Yes, cabled, 1Gig internet, the cable has been checked amd it gives full internet
And you see HA in your router? If so, let it do its thing
Depending on your hardware it may just take a while
Ubuntu can also browse and download from this connection.
Even if it shows no sign of life?
https://www.youtube.com/watch?v=nKvIYKCg8I4&ab_channel=BinaryTechLabs
At 9:38 a bunch of things appear on the screen. with me it does not half of the time
I would seriously just give it some time, you've been having a bunch of weird issues which seem like they're a corrupted install. Patience is one of the most critical factors when doing anything with computers
I will put a fresh install on the ssd, put it in, wait for the computer to do anything, and then see. I will wait at least 15 minutes if the screen if fully black with nothing on it.
It does not work, nothing works at all with it anymore, however its not dead. I give up
Thank you all for your help and time
I'm transferring my install from a pi4 to HA-Yellow. Yellow setup has gone fine, but my backup restore has been going over an hour now, HA-Yellow just returns a blank page currently. Backup is about 700MB (zipped), which includes a 1.0GB database. How long would be a reasonable length of time for this to take?
Hi All. I'm running HA OS 9.4 on a RPi3 with a High Endurance SDCard. Now I bought a Samsung T7 SSD to run HA from the SSD. For some reason HA fails to boot from the SSD (it drops me into a u-boot shell). When I install regular Raspbian on the SSD the RPi3 boots just fine from the SSD (without an sdcard).
But I just noticed that HA has a 'move datadisk' option. It wouldn't be a problem to keep using the sdcard just for booting and the OS, but I wonder:
- is doing that enough to limit the risk of trashing the sdcard with too many writes?
- if the sdcard crashes, and I flash a new sdcard. How does HA know to use the SSD as the datadisk? Does it recognize the SSD as containing a datadisk somehow?
Booting from USB on the Raspberry Pi isn't recommended as outlined here
https://www.home-assistant.io/faq/usb_boot/
Using the built-in move datadisk option is the preferred way to use an SSD. The SD card becomes mostly read-only
Firstly, make sure you're using the SSD with a powered hub because the rpi3 doesn't supply enough power to power all SSDs. Also download a full backup before you try to initiate the move in case something fails
Oh I didn't realize that. Thank you for the links!
Is there a way to undo the 'move datadisk' in case of problems? Or is the best way to undo, to re-flash the sdcard and restore the backup?
You can't undo it. I believe restoring a backup is the only way
ok, that's no big deal
Alternatively getting something a bit better than a pi3 is a good option. Still plenty of projectβs pi3 is good for
I agree, but have been keeping an eye on rpilocator for about two months now... We still had some RPi3's at the office so that's what I'm using now to get started
Join the no pi hass club
Used laptop, nuc, thin client, mini pc
All great options even cheaper than a pi when you factor in charger ssd adapter etc
last question (for now): if you flash a new sdcard (after moving the datadisk), does HA immediately recognize the SSD as the datadisk? Or do you then also have to restore a backup and move datadisk again?
@distant mirage I converted your message into a file since it's above 15 lines :+1:
My main reason for now to prefer a RPi is power usage. Although I considered purchasing a Lenovo ThinkCentre, because indeed, that is certainly not more expensive these days
or in other words, how should i setup http: without breaking my duckdns access?
Thin clients will idle around 10W or so. Definitely more than a pi, but it's not enough to be very significant
I'm having some minor issues with HA on my Pi 3b+ with SSD and USB Zigbee. So am considering using a spare HP Chromebook 11 G5 I have - which uses the Celeron N3060, with a USB 3.0 NIC. Would this be a comparable spec for HA? CPU TDP is only 6W. Bonus is it being a laptop it has it's own built in UPS
you can compare passmark or w/e or just restore from backup and try it
it wont hurt zigbee stick to jump back and forth
Very true, I can just suck it and see. The Chromebook isn't being used anyhoo, just gathering dust
i dont suggest sucking it, but that is up to you
that is indeed a minor difference
Well my gob is rather big, but not big enough to fit a laptop in lol
No harm in trying the Celeron, but the specs look really low. Dual core 1.6GHz base clock, 6W TDP
I'm running a 3b+ right now, and CPUwise it's fine. Figured that spec should be reasonably similar
It has a higher base and boost clock than the pi with 2 fewer cores. If you're not doing a lot of concurrent things it might be around the same
Well as suggested, it wont do any harm giving it a try - just backup the Pi, restore to the Chromebook, change the hwid to the zigbee stick and run it for a week, keeping an eye on CPU usage
Might get rid of my power issues running the Pi + SSD + zigbee stick
Does the SSD need to be formatted in a specific way? (currently GPT with 1 ext4 partition). But it gives me "There is no suitable external device found. The storage capacity of the external data disk must be larger than the storage capacity of the existing disk"
(sdcard is 64Gb, SSD 500Gb)
Try zeroing out the partition table on the SSD
Success! π
2% used - 429.1 GB free
Thanks a lot @odd marlin for your help!
https://www.amazon.co.uk/AmazonBasics-1000-Gigabit-Ethernet-Adapter/dp/B00M77HMU0?th=1 Any reason this wouldn't work on HAOS gen x86? Comments say it works on linux
Could be UEFI isn't enabled and/or secure boot is enabled
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).
Well, since the drive is detected but isn't bootable and UEFI is enabled, it sounds like it wasn't flashed correctly
Hey there, I sadly have trouble with installing Hass.io on my Raspberry Pi 3 Model B+ (https://www.home-assistant.io/installation/raspberrypi)
I tried different SD Cards and various flash tools.
The PI tries to boot:
red LED always on, green one: two really short flashes, then keeps off
The SD Card seems to be formatted as "FAT" is that really correct?
I can run other Operating Systems on it without problems. Can someone help me?
@noble hill connect keyboard and monitor and check logs
you'll have to reboot the pi to get the monitor recognized
My Monitor keeps beeing black. But I will give it another try, one sec
@noble hill if it's black then you have the wrong image for the wrong board probably
There is only one Image for Raspi3 I guess?
yes
what file did you use?
and do you have a link to a picture of your pi?
And you're 100% sure it's a 3b+?
omg
a) it's in a case and you've forgotten what it actually is inside
I hate myself so bad
b) it's not in a case and you weren't paying attention?
heh
Thanks for the help ahaha
Well at least that's an easy solve π€ͺ
I haven't seen a "black screen" yet that wasn't a mismatch of image and hardware
it's ok, some people insist for much longer before confirming
Ehhhmm but well. It tool me 4 hours after all to recognize it.. xD
hitting this error when trying to upgrade, any ideas? home assistant operating system update failed with installation error failed updating slot boot.0 failed to run slot hook child process exited with 1
No. If you want add-ons you have two choices:
- HAOS
- Container, and each add-on is a container.
Container is running HA in a docker container
there are no upsides
You get to manage the OS and every single dependency to make sure it's within the very precise specifications required, and you can't install anything else. It's such a fun install method!
You can make anything sound like an upside if you try hard enough π
You would start by choosing what you have from https://www.home-assistant.io/installation/
You should choose Linux, then scroll down on the next page to Install Home Assistant Container
Hello I am quite new the Home Assistant and I am trying to run it as a vm on windows using VirtualBox but it keeps getting aborted. I followed everything listed to set up the VM for virtual box on the website but it issue still persists. Any ideas?
Not in a hypervisor partition
(HVP=0)
(VERR_NEM_NOT_AVAILABLE
VT-y. is disabled in the BIOS for all CPU modes
(VERR_VMX_MSR_ALL_VMX_DI
SABLED),
Result Code: B FAIL
(0X80004005)
Component ConsoleWrap
Interface:
1Console
(68c83089-6ee7-4Π΅33-8ae6-525762e81be8)
I am sorry if this is a basic issue but I am considering new
guessing virtualization is not enabled in your bios?
Looks like it. Is it the bios of the virtual machine? Or the computer itself. Iβm assuming itβs the computer itself
bios of the machine windows is running on
Never seen it called VT-y before. Intel calls virtualization VT-x and AMD calls it AMD-V
thanks
It's an attribute of the light.turn_on service
Would recommend debian
I thought it was a typo π¬
oh I guess it could have been a typo, I didn't look too closely and assumed it was copy/paste
Seemed like a lot to type out manually
well no, it was twice, so π€·
ubuntu's base is debian
debian is the base, so debian's base is also debian
debiandebiandebian
OS-ception
Well latest stable debian
And make sure it's headless (command line only) to prevent wasting resources on a GUI
Yes
I thought you were trying to install HAOS
no, containeredeted
Hi Installation! I posted an issue in the yellow channel, but it sounds like it might be a DNS issue. Would anyone from this channel know what might be going on in the linked issue: #yellow-archived message
my router dns settings are set to cloudflare dns (1.1.1.1) and I haven't had issues with any other devices on my network
Porbably did something dumb but all the files in my ha folder are owned by root and read only so I can't cahnge my configuration.yaml
sudo chmod a+rwx /<foldername>/ doesn't seem to do anything
That's not the best chmod command to run
What's your install method? HAOS? Container? Supervised?
Need to -R
Don't just do that for any random folder though
Better to just change the stuff you need
Like the config file only
Or ... better ... understand file ownership and permissions and do it right
Better to figure out why it's broken first though
I doubt it's broken, I expect that they don't understand their install
root:docker is what I make use of
chmod -R 000 /
Right
Actually no clue if 000 means no rights
It would, yes
Never tried nuking everything
Running that command would lock you out
I've done a rm -rf /. Before, meant to do rm -rf ./ Lol
Caught it after it nuked most of my install
These days there's protection to limit your ability to do that, but it's still not hard to break an install
docker container install in ubuntu
Ok, your container runs as root, so the files it creates are owned by root
This is expected and normal
If your user needs access then the correct method is to change the group of the files (and folders) and give group write
Blindly setting 777 is ... not wise
sudo chgrp -R docker /path/to/config
sudo chmod -R g+w /path/to/config
``` (this will still leave you unable to access some files, and that is normal and a _Good Thing_)
The above assumes that you've added your user to the docker group
I'm not sure i have, probably haven't
id youruser will tell you
and if I haven't I do sudo usermod -a -G docker <user> ?
You mean we shouldn't go fiddle with files that are r only root? π
It should prove ... enlightening
Hi there,
Question here.. I moved and I am using a different router at the moment with a different subnet mask.
Where before it was 192.168.1.XX, it's now 192.168.2.XX (Correct me if i am wrong)
So before created a file into my-network to set the IP to a certain local IP (I don't know why i did not do that in the router back than) but now when I plug the Pi into the router it will not start/show up on the router.
Could that setting in the my-network cause this problem? Is my way of thinking right or should I look elsewhere?
yes, setting a static ip on your ha machine will result in it not being reachable on a network change
you can set any hardwired pc to the same subnet and reach it again to change it
assuming you have a flat network
If you have any other devices configured on HA then recommend changing the router back to 1.x so you can set those devices to the static IPs you want using DHCP, otherwise you're going to have to set it up again
@low notch thanks for your help.
So changing this with a change into the my-network using a linux filesystem reader might solve this?
That's a really good idea!
if you don't have any other linux machines don't try to read that linux file system on windows
Playing with fire?
you just need to set a static 192.168.1.254 on any connected client to reach it again and adjust it
I already regret to not switch to a decent SSD instead of those horrible unstable SD cards
It's like a ticking bomb
It's all time bombs. SDs have a shorter countdown
Okay, I did all the commands but I don't seem to be able to write to configuration.yaml still
id youruser says I'm in the docker group
ls -al configuration.yaml
Thanks for your help @low notch
Did you only just add yourself to the docker group? If so will need to log out/ log back in
ahh okay
-rw-rw-r-- 1 root docker 319 jan 21 15:28 configuration.yaml
Then once your active account is in the docker group it'll be able to edit
Did you log out
I did just log out and back in yes
And are you using nano, vi, or something else?
text editor
Which one?
the one that came with my ubuntu install
Visual things may also require that the directory is writeable
my user account is the folder owner and the docker group has create/delete access also
let me see if it will work in nano
yes works fine in nano
think it's gedit
Now you know... also, as a server you shouldn't have a desktop wasting CPU and RAM π
Oh I know, the only reason I do is because I am abysmal with CLIs (as you can tell from my troubles here)
You only get better by practicing
Definitely
Hi, I'm running HA on an Ubuntu machine since years besides other softwares, which makes the HA system unhealthy (according to supervisor). Now, I'd like to have a dedicated NUC for HA.
I'd like to install then HAOS on the NUC HD. So I burned an Ubuntu Live on a USB stick from which I boot. Now, I'd like to burn HA image on NUC's HD using Balena Etcher.
I'm stuck each time I start flashing the image, Balena complains about Error occurred in handler for enable-screenserver: no handler for 'enable-screenserver'
Any idea how I can burn HAOS on the NUC internal harddrive ?
I also tried the balena cli, but it does not find my /dev/sda which is the internal drive.
Thanks.
@mild prairie are you running balena as root? or using sudo?
neither of them
When I run it with admin privileges, I have this
Authorization required, but no authorization protocol specified
The futex facility returned an unexpected error code.
/tmp/.mount_balena5Rbpoi/balena-etcher : ligne 10 : 40670 Abandon (core dumped) "${script_dir}"/balena-etcher.bin "$@" --no-sandbox
Note that I'm running it through VNC because I don't have any mouse that allows to select hidden targets (non accessible with keyboard)
might be worth trying the balena cli as root or sudo via ssh
Tried but it complains about drive not found
/dev/sda appears in the list of my drives but I'm not able to use it with balena
ubuntu@ubuntu:~/balena-cli$ ./balena local flash haos_generic-x86-64-9.4.img.xz -d /dev/sda
Drive not found: /dev/sda
try prepending sudo to that command
tried and same isue π¦
what's the output of lsblk ?
@mild prairie I converted your message into a file since it's above 15 lines :+1:
ok, any idea what those partitions are on /dev/sda ?
you could try specifying /dev/sda2
Tried with the 4 options, all are not found
I had a linux distribution on it
I can swap everything if required
try this: xz -dc /path/to/image.xz | dd of=/path/to/your/ssd bs=4M conv=fsync
/path/to/your/ssd = /dev/sda
It's writing, π€π½
damn son.
Now time to reboot, right?
I highly recommend updating uefi or any updates for the nuc: https://downloadcenter.intel.com/
if you haven't done so
I'll do
if it's finished writing, yeah, reboot and make sure it's booting from the ssd
no worries
At least, HAOS is starting
It's perfectly working
Thank you very very much
strugling with that for jours
all good, glad it's working
I don't drink but you don't owe anything, I got my reward already
Thanks a lot again and have a very nice day
Hello
How are you guys
I have homeassistant at 4 years
I has homeassistant
And hassio
I buy new mini PC
Amd 8825u
I install Ubuntu server
Please, write more than four words per line π Those many lines could have been a single line π
And somebody else who didn't read the requirements...
Supervised is very clear that it's only on Debian
Also... don't
Just ... don't
Hassio is also the old name for Home Assistant(OS), so two HAs as well π€ͺ
Use Home Assistant OS if you want add-ons
I used to use this instalation to use hassio one Ubuntu server now stopped supporting Ubuntu server. Is there any way of installing hassio in Ubuntu server? I use Ubuntu server with portainer dockers a lot of services.
Ok, so you're totally ignoring the requirements then...
That's not going to end well
Since I made my last install requirements change
They've been that way for a long time
What do you recommend me do
Install Proxmox on that host, run HAOS in a VM and Ubuntu in another
Or just use Debian and Docker
Hello, sorry, newbie here and this was the last straw to trouble you all. I have installed a Dell Wyse Thin client and i have made to the home assistant preparing page, but im stuck at this log: 23-01-24 22:13:53 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
im at such a desperate level and any help is greatly appreciated !
much thanks in advance !!!!
btw it has been in this log for over 40 mins now, so starting to get worried haha
I cant use a 16core 32gb machine only for homeassistant
I have a newer cpu Debian kernel not supporting
Don't like proxmox
Then it sounds like you've got Docker in your future
I used on last year and I can't pass my graphic card
To container
Because is integrated graphics card
My only option is to use homeassistant docker and no add-ons
Then it sounds like you've got Docker in your future
There are other options, but that includes Debian, which you've said doesn't support your CPU
I have in my old mini PC Ubuntu and docker with this script with a lot of warnings
But working like a charm
Also it doesn't like the portainer
No shit? Really... that's a shock ... not
Portainer has been used to break many installs, so it's unsupported
Also no surprise
If you want to use Ubuntu then either run HAOS in a VM, or use Container and no add-ons
its not going to change, you already were given a answer π
If you want to use Ubuntu then either run HAOS in a VM, or use Container and no add-ons
these are the sane options ^^
that might be up to your experience with doing so
https://forum.proxmox.com/ would know more about Proxmox
Hi,
Tried to restore a backup but I'm stuck with errors.
Log is available here: https://pastebin.com/GALsxrL0
I think the issue is this one: PermissionError: [Errno 13] Permission denied: '/data/tmp/tmpykqlo79h/data/scripts/vs_switch_chauffages.yaml' -> '/data/tmp/tmpykqlo79h/data/scripts.yaml'
@lapis cove I converted your message into a file since it's above 15 lines :+1:
Sorry the question was left π What should I configure to continue without the usb drive?
Yes, it starts without the usb drive
then i've cloned all of the partitions and their data
that suggests no bootloader
Youre probably right, ive created it with GNU partition manager, it possibly does not write bootloader
What do you suggest, how should i proceed with?
Reclone the drive again with a proper tool?
Or is there anything what i can modify on the eMMC?
Why not write the HAOS image to the eMMC?
That's what the docs tell you to do π
I think i've followed properly the installation documentation, but point me out if not. This device has a non-removeable eMMC, so i had to write a USB drive with etcher.
ahh i got it
I have to make a ubuntu live drive, then install the files with ubuntu on the eMMC
"install" meaning write the image to the eMMC
Yeah, sorry about it, writing the image, yes
Thanks Tinkerer 
Good day everybody. I have a question/issue. My home assistant stuff works however I am not able to login. not via the app, not via the browser, not via my router and not via the nabucasa link. Could any of you advise? Greetings
What are you running Home Assistant on? A Pi, PC, virtual machine?
The Home Assistant is running on a pi4
I take it you used Home Assistant OS?
Until now I have been searching for a possible cure and cause... it lead to nothing so I found this server
Yes that's right
Can you connect a keyboard and monitor?
Did you previously set up (and configure) either of the SSH add-ons?
keyboard possible, monitor unfortunately not.. I haven't done this previously
(the SSH addons)
Did you change anything since you could last access HA? Alter configuration.yaml?
I haven't changed a thing
this is in the last log:
01-23 21:41:34.078 4254 4254 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
01-23 21:41:34.115 4254 4254 V AutofillManager: notifyValueChanged(1073741834): ignoring on state UNKNOWN
01-23 21:41:34.116 4254 4254 V TextView: notifyAutoFillManagerAfterTextChanged
01-23 21:41:34.116 4254 4254 V AutofillManager: notifyValueChanged(1073741834): ignoring on state UNKNOWN
01-23 21:41:34.130 4254 7981 D LogcatReader: Read logcat for pid 4254
__
01-24 18:06:37.179 8604 8604 V AutofillManager: notifyValueChanged(1073741864): ignoring on state UNKNOWN
01-24 18:06:37.180 8604 8604 V TextView: notifyAutoFillManagerAfterTextChanged
01-24 18:06:37.180 8604 8604 V AutofillManager: notifyValueChanged(1073741864): ignoring on state UNKNOWN
01-24 18:06:37.192 8604 8679 D LogcatReader: Read logcat for pid 8604
Would you advise me to reinstall the whole show and begin all over?
Is that the Android companion log? Sure doesn't look like the HA log
yes that;s right
What flavor of not being able to login are you having? Does the webpage load and your credentials don't work? Does the page not load? Something else?
Post to an image sharing site and share the link
and why can't you attach a monitor to the pi?
I get an 403 error when opening the Remote UI link from nabucasa. And also I can't open the HA via the ipaddress:8123 thing.
"Can't open"?
I haven't got an extra monitor
Were you possibly IP banned
can't open home assistant via the local ip
Yes... but what does can't open mean
I get an 403 error instantly
Alright... probably IP banned
And if you don't have SSH/Samba access, you'll probably want a monitor to term into the box locally
or, update your local IP and see if that works
I understand that I can attach my laptop to the box and I will do this later tonight
instead of a monitor
That I'm not sure, not familiar with Pis, but I wonder if that requires Raspbian, which HA OS is not
easiest method I can think of though is to change the IP of the client you're connecting as to see if that works around it
or depending on the storage.... you could probably attach that elsewhere, edit the files and reattach
Probably hard to safely shut it down though in its current state
Sorry for my late reply. What do you mean with "change the IP of the client"? I will look into this
and maybe it will be quicker and easier to wipe the whole sd card and start over again?
I mean... easier and quicker in that it will let you in? Yes. If you've got a decently sized HA install though, it'll be an effort to put it back together. Hopefully you have a backup, that you could use to restore prior to this.
If you're local to your HA instance, I believe just the single offending local IP would be banned (ex. 192.168.0.2). So, if you switch clients all together or you re-assign the IP of the client you've been using to something other than that.... you shouldn't be banned anymore
If you're willing to wipe it though, I think a first effort (if you're unwilling to get a monitor) would be to just put the SD card in another system and manually turn off IP banning
@vague glacier connect locally using the IP address?
Unfortunately I'm not able to do so. But if you have a suggestion what I should try. I'd love to hear
You get a 403 when doing that?
http:ipadress:8123 in the browser you mean?
unfortunately this won't do the trick
I just received a message from Nabucasa:
Hi Lorenzo,
"403 Forbidden" indicates that ip_banning_enabled: has been configured under http: in your configuration, and that the ban has been triggered.
This is not a default configuration but something which you would have added to your configuration.yaml yourself.
The cloud service does not require any http: configuration. This is not a configuration that is added by using the service.
You should see an ip_bans.yaml file in your main config directory if this is the case, and deleting it would reset the ban.
So how can I get to the ip_bans file?
That's me. Weird to post it here.
You mailed me this message?
Yep
What are you running HA on?
it is running on a raspberry pi4
I'd connect keyboard and monitor and dig in that way
Do you those to connect? You'll have to reboot the pi to get the monitor recognized
alright
I must get a cable to connect
Thanks for your advice
I will get back on this once I'm ready to proceed
the path of the directory where you want your files to be.
wherever you want. here is an example of how I have mine set up.
I keep all of my HA stuff together in a folder and then I have directories in there for individual services
you either need to use sudo or add your user to the right group
look at post-installation on the docker docs
@north rock you also might skip down to the method which uses docker compose. Most end up managing their containers this way. You're basically creating the same instructions but using compose
ahhh, yes. didn't even notice you're using the docker command without compose.
@north rock I converted your message into a file since it's above 15 lines :+1:
oops, wasn't paying attention and just going from yesterday
hrmmm. why are you doing that?
Did you do this?
I have a problem when I run the command ````"bash -c "$(wget -qLO - https://github.com/whiskerz007/proxmox_hassio_lxc/raw/master/create_container.sh)" ``` then I get the error message
root@pve:~# bash -c "$(wget -qLO - https://github.com/whiskerz007/proxmox_hassio_lxc/raw/master/create_container.sh)"
[INFO] Using 'local' for template storage.
[INFO] Using 'local-lvm' for container storage.
Updating LXC template list...
Creating LXC container...
[INFO] LXC container '102' was successfully created.
Starting LXC container...
run_buffer: 321 Script exited with status 1
lxc_init: 847 Failed to run lxc.hook.pre-start for container "102"
__lxc_start: 2008 Failed to initialize container "102"
startup for container '102' failed
[ERROR] 255@100 Unknown failure occured.
Logical volume "vm-102-disk-0" successfully removed
hrmm. I do not believe you.
Maybe I am misunderstanding which has been happening a lot lately. π
Nah, there is no "compose" service
Compose is a plugin for Docker, Docker is the service
Ahhh, Tinkerer is able to see the confusion happening.
just take a breath and read what the error is telling you. π
Whatever the fuck you're doing with docker-compose-app.service is wrong, very very wrong

No...
If that was needed the docs would tell you about it
You're taking one, adding one, and getting 42
Docker is the service that runs
Compose is a plugin to Docker
There is no compose service
Docker has restart policies you define on the service. As long as you do the post-installation steps, things will restart.
Compose is just a smart way of defining containers, it's basically a file version of the docker command line
Yes
Add-ons are only available if you've used the Home Assistant Operating System or Home Assistant Supervised installation method.
Correct
Indeed
If you wanted add-ons you wanted HAOS
No, they said software is available with Container
add-ons are just software in a container
Add-ons are just docker containers with some magic ontop, I believe. you'll just run your own docker containers.
You have to run whatever #add-ons-archived you would have wanted as another docker container
It's not rocket surgery, they all have lovely little docker-compose files
Then buy something that supports HAOS
If you look at the docker-compose example I posted above you can see how simple it is to manage a docker-compose file
Or curse yourself running Supervised, and don't ask for help π
you're already 70% there
Supervised means you're a Debian AND Docker guru. So obviously you can solve all your own problems π
But if you have HA running as a container, the next one should be easy
dehell
Well, it won't work on the Lenovo
The Raspberry Pi uses an ARM based chip
Because the Pi image is for a ... wait for it
Fecking Pi
The hardware is "a little" different
It's like trying to put diesel in a petrol tank
More like trying to put diesel in your whisky
The nozzle won't fit for the diesel, and if you force it in you'll screw the engine
Car analogies are pretty usefully universal
It's like the tablet guy... last week?
not boot natively but there is a Virtual Machine section on the installation guide.
I would not go for a VM personally, it seems like a lot of overhead for no gain
So we are back to:
- Get a new machine to run HAOS
- Run everything in containers
That'd be "vm stuff"
There is also path 3 of "figure out Supervised and cause yourself weird problems and random issues for zero good reason, assuming you get it running"
And then keep it running perfectly π
Hi guys, a few days ago I had issues connecting to my server. The solution was to dig out my old router and use it as an acces point, my new router does IP separation no matter what. Thanks for everyone who helped
Sounds like you weren't writing to the ssd correctly or selecting a correct boot device. It should boot from the internal SSD
I don't know whether that exists for non pi installs of HAOS lol
And obviously not done correctly if it didn't boot
What's the error if you try to boot the SSD then
Doesn't seem great to have a USB drive always there... but, did you see this? https://www.youtube.com/watch?v=a7MkgoxzcSw
Try executing the steps in the note here https://www.home-assistant.io/installation/generic-x86-64/#start-up-your-generic-x86-64 but with a label of Windows Boot Manager
If I want to install the nvidia driver and use it with ffmpeg for frigate, do I need the Supervised install, or would this work from the Container option?
Well the container install doesn't have add-ons
So you'd install Frigate independently with that type
(Supervised is highly unrecommended)
Seems like I have accidentally been running HA OS of the USB stick on my NUC instead of the built in drive. What would be the best way to migrate to the built in SSD? π
Download a backup then reinstall onto the SSD and restore the backup
Ah damn OK thank you π
Hi i am trying to install HA on odroid N2, but my date is wrong which is causing cascade of errors is there any way to get access to linux console with root privilages so i can run ntpdate ?
Via a keyboard and monitor π
Hello total noob here. Any help will be appreciated. I am trying to install home assistant on my rpi3b, but I have no access to wifi except for my iphoneβs hotspot. I can also connect the rpi to my laptop that is connected to my phoneβs hotspot, so i tried to do this but it wont connect to the homeassistant:8123 are there any other work arounds i can do to finish the installation? Thanks
Do you not have access to ethernet
I do not have access to ethernet unfortunately
HA requires a stable internet connection to set itself up, mobile hotspot will work if you can configure wifi first (theres something that needs to be done) but its really really not ideal
How come you don't have anything except a phone hotspot
Will i need to access the card and change some settings so the rpi3 connects to my hotspot instead of the ethernet? Unfortunately the place where I am doesnβt use a router. Everybody is using cell phones
You may have to. I don't know. I don't use a RBPi nor have no fixed internet connection
I see thanks anyway
You also don't need to ping me for every reply π
Alright see ya
i've been trying to set home assistant up for several weeks and seem to be making steady progress... One huge sticking point is that I can't seem to get my usb dongles to be recognized by HA... my install is a laptop with an ethernet connection, virtualbox, and home assistant... wifi works in home assistant... I'm connected to the cloud and my remote app... most of my wiz bulbs are working... I did install a proton vpn and the confused some api connections... but discovery and specifically my zigbee and zwave dongles, while recognized in windows, HA doesn't seem to know they exist... Thanks in advance... I've had a fairly elaborate smartthings and alexa setup for years, but this home assistant experience is kind of intense.... lol... Thanks in advance... I have many questions!
"how long need to be back from backup. 3,5gb. no DB there, on proxmox 2cpu 4gb ram"
50min and nothing hapens
@ornate gate su logs
im trying to install HAOS on a x64 machine (Asus EEE PC EB1033), I boot from live Ubuntu USB, flash the SSD that's internal to it, and it complains over and over "missing boot device" so I tried efibootmgr --create --disk /dev/<drivename> --part 1 --label "HAOS" \ --loader '\EFI\BOOT\bootx64.efi' and I get a HAOS labeled boot option in BIOS, but still it fails to boot (no message, just cycles back to BIOS) anyone have any ideas what I could be missing?
You shouldn't need to do anything with efibootmgr. How were you trying to flash the image to the SSD?
I boot from live Ubuntu USB, flash the SSD that's internal to it using balena etcher
but it just loops over and over "missing boot device" without doing efibootmgr trick from the install page
Since you seem to have UEFI enabled, it sounds like the image might not have been written properly. You also turned secure boot off right?
yeah secure boot is off
you also don't need etcher and can use the disk utility to restore to the target disk instead
and yes I can boot UEFI
Or even dd
sup cogneato, long time no see
well I was trying to follow the guide as close as possible, I tried running etcher as both root and ubuntu user also to see if it made a difference
the behavior seems slightly different when flashing as root but neither boots π¦
which disk utility? in Ubuntu?
Just to confirm, you're using the Generic x86-64 image right?
yes
haos_generic-x86-64-9.4.img.xz to be exact
I will give it a whirl
this reminds me of first installing HA on my Pi
uncharted territory lol
is there a known issue that would cause time to run slow? it seems that time is running slow in my HA instance and causing issues, Z2M occupancy timeout working wrong and sunset not triggering for one
oh HAOS in a vm running on an old apple AIO machine
does the host keep time and just not the VM?
the host time seems to be accurate but let me run a stopwatch and cross reference it
well prolly not your CMOS if that's from the host
yeah that's in the host
how far off is the time on the VM?
and does it slow down and lose sync or does it catch back up
it's not.. only anything timer based seems to be way slow, like the 4 mins countdown in z2m when you hit permit join seems to run much longer, and my 90 second timeout on my motion sensors runs for 7 mins
a 15 second timeout is about 3-4 mins
something is taxing your CPU?
no it's nearly idle
I did just drop the vm from 2 cores to one (it's a dual core machine) and I'm testing if it's working right now
seems to be still slow
virtualbox I assume?
it's not "bad" it's just not great
of the hypervisors, it's the one that needs a cork on it's fork
oh, could that have something to do with it?
virtualbox usually doesn't have much issues if you're only running a light load
but that's mho
it's a pretty small setup, no cameras or anything really heavy
should "hardware clock in UTC time" be on or off?
well that could depend on your TZ etc but doesn't really matter
it's just asking if it should set system time to UTC (aka GMT)
that will only make a difference to "what time it is" not "15 seconds are 3 minutes"
yeah that's what I was thinking too
I can't even think of anything that would cause that.. unless there's some bug in z2m or ha maybe?
how much memory and CPU do you have in total and how much do you have allocated to the VM?
total memory is 5gb and 2gb is for the VM
I'd try increasing that
3gb then?
at least
it sounds like your VM is running outta CPU resources tho
but could be RAM maybe
okay let me reboot it and increase the ram
the memory and cpu usage in the panel shows 0.7 GB and 9% so it doesn't seem to be hitting the limit?
also could a headless VM affect that?
adding more ram doesn't seem to have changed anything
well if that's the case I'd set it all back to how it was next time you reboot
yeah it doesn't seem to hit any limits with usage that low
very very weird but then again, vm's can be very tricksy precious
that's why "guest additions" exist for so many OSes
but I doubt there's such a thing in HAOS that you can install
like I guess I could try creating a second VM to see if that one works right? or is there a way to do like an SFC style test on linux?
HAOS runs systemd-timesyncd to keep the clock in sync. Is it possible it's not able to reach the NTP servers?
how would you test if that's the case?
If you log into the console you can check timedatectl timesync-status
well yeah this would be my next line of attack
cmos battery and NTP usually suspects for time drift
but virtualbox can be a can of worms sometimes
At the ha> prompt, you can type login to get to a real shell. Don't use SSH, that won't work since it just goes to a container
*Unless you followed the guide on the developer website
it shows a server, poll interval 32s
leap: normal
version:4
stratum: 3
reference A1d0871
precision: 1us (-25)
root distance: 14.762ms (max 5s)
offset +44.717039s
delay: 31.998ms
jitter: 19.527994s
packet count: 7
frequency: +0.0ppm
offset of 44 seconds, so definitely drifting
oh geeze yeah that isn't ms
just redid it and offset is now over 1min so smths borked
timedatectl status will show the time, RTC time, and whether it's synced
Hey. Would it work if you install two instances of home assistant both as a virtual box VM?
Sorry if Iβm interrupting
define "work"
offset of 44 seconds so definitely
let's go to the thread to not take up the whole channel here?
Could they properly work independently of each other throughout the network?
I mean short answer yeah
One machine would be for someone else to use and it would only connect to port forwarded devices
And the rest is like a normal machine all on local devices
Side note: I havenβt even tried port forwarded devices yet
if you're doing two installs, is it for two networks?
because if you're port forwarding or considering it, must be more than one network I'd imagine
Didnβt think about it from that angle
Thanks
I have another full machine to host it if I need to
well you could also just pop a second NIC in the host
and have a VM on each network
just a thought
Yeah. But they would be on the same network
This would be for a public place but I donβt want to ask for funding bc itβs a charity type place. So I figured just install it all remotely
I will see how it goes. Likely gonna need the second machine
from the sounds of it, yes I would use another machine
What are you trying to achieve?
I had problems accessing the ha webinterface at first and then followed example 12 here: https://people.freedesktop.org/~lkundrak/nm-docs/nmcli-examples.html .
I typed in "host reboot" in the cli and now I can view it in browser. Now the installation is in a error bootloop. Here is the log, does someone know how to fix that:
22-06-02 18:49:46 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
I noticed that the date is still wrong even though it is connected to the internet
hey gents! is there any possibilities to get the entitys from Alexa to Home Assistant? my thermostats running over innogy and i cant connect them straight to HA, need the walk around with Alexa. thanks in advance!
Something went wrong with the update to 2023.1.4 a few weeks ago. Since then my system is unhealty which makes it impossible to update the system.
Restoring to a previous working state from a backup worked when i had this problem a few months ago, but when i try to restore the pop-up disappears after clicking on restore, but nothing happens. (Also nothing about the problem with restoring can be found in the logs)
The logs do show an error when i try to update, but it's to long to paste here.
Anyone that can point me in a direction to solve this issue?
Im running HAOS on a Raspberry pi 4.
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.
can anyone tell me why my CPU usage under a fresh install is 70%? i have it under a VM on my NAS. for comparison, i am also running another instance on a weaker raspberry pi where its using 8-10% CPU.
Hello,
my home assistant crashes a lot and I cannot find a reason why. Now I tried looking for crash logs, but I dont know where to find them. Could somebody link me to a tutorial for finding the crash logs? Thanks in advance
Settings->System->Logs or /config/home-assistant.log
Hello π Iβm new to HA. Iβve got a brand new Raspberry Pi, and done a fresh install of HA. I can locate the device on my network and get as far as the page where I create a login, then the web interface stops responding. I can still ping, but nothing else. Doing a fresh install, restarts etc donβt seem to solve the issue. Any ideas?
Give it time
First start can take 15-20min on a pi even with a solid internet connection with decent bandwidth
Pi4 ssd boot or?
I get past that stage, to the login screen. Submitting the form is the last thing that happens.
Ah
Its a Pi3 A+. I now realise this was a poor hardware choice as I had to add a usb Ethernet.
hi, need some help.
everything worked fine for me on Proxmox VM but 2 months now after setting everything up I get this error on the console
/usr/bin/xauth: unable to write authority file /home/administrator/.Xauthority-n
Ok. Got a nuc i7, windows11, how do i go about installing debian docker docker composed and ha? Any relevant updated guide? Never touched linux before. Or sketcher. Thytinkerer.
Docker and Compose: https://docs.docker.com/engine/install/debian/
HA with Compose: https://www.home-assistant.io/installation/linux#docker-compose
Debian install docs: https://www.debian.org/releases/stable/installmanual
Thx.
I don't think the Pi 3 A+ will work at all. It only has 512MB RAM
Don't forget to set up backups π
maybe and that's a very slim chance, in a docker container
But I would not recommend the Pi 3A at all
Thanks. I pulled the trigger when I saw a pi in stock without checking any details. Is the pi 4 ok for HA? Anything else I need to consider?
A pi 4 will work fine, but at the current prices and availability, it's not really worth trying to buy a pi
I'd suggest getting a used mini PC
https://www.servethehome.com/introducing-project-tinyminimicro-home-lab-revolution/
Or if you have an old PC or laptop lying around, that works too
Any suggestions on min ram requirements? Sorry for all the questions!
Depends what you want to run on it but 4gb minimum is a decent start
If you think you want to try with 4GB and maybe upgrade later, I'd suggest finding out how many sticks it has. Most mini PCs will only have 2 SODIMM slots, so if it has 2x 2GB sticks and you want to upgrade to 8GB, you'd have to buy 2x 4GB sticks and toss the other two that were in it
Ok. So a youtube guide shows how to install ubuntu on a nuc. Should i go with ubuntu or debian for docker and ha?
If you're Docker, the Linux distro doesn't really matter. It's more a personal preference thing
For anyone with low skills and never seen linux before? Same same or is ubunu easier?
haos is prob best
Will frigate work with any kind of ai double take or deepstack within haos? (Main reason for going i7 nuc)
Yes, but you want a Coral board/stick
Is there any good guide to altering nuc bios to be bootable via usb, installing haos without taking out the ssd?
Hey guys !
Iβm running HA using docker compose and it detects everything on my network perfectly and have 0 issues.
One thing thought is that integrations such as Sonarr that run on containersΨ they canβt get detected from HA.
My guess is that HA runs in host network while other containers run on bridge network.
Do you guys have any idea how to make those containers visible by HA ? Iβve searched for an answer but couldnβt find any anywhere
You can give the other containers host access too.
It is easier for me to run the other containers on bridge so that her ports/forwarding are easier
hey everyone, having some strange recorder issues after moving from HA OS to Docker
I restored my setup by moving the files from /config which worked great for the most part
on HA OS I was using MariaDB
in Docker I was just trying to get the stock recorder running, but it still seems like it's trying to set up MariaDB for some reason
I've removed the recorder: section from my configuration.yaml and deleted home-assistant_v2.db but it's still having issues
this is what I'm seeing in the logs: https://pastebin.com/MgArz0bp
hey guys, not sure if this is the right channel but i have a weird question
atm i'm running HA through virtualbox off my windows laptop, but want to move it to a dedicated PC that i'm using for plex etc atm that's also running windows
i have some things running on docker on that pc (not many - not plex or anything like that, but side applications like organizr/monitorr etc) and absolutely hate docker
how bad of an idea is it to just run a virtualbox off the plex machine for HA and move everything over? or is it better to run it through docker if i can?
docker is much better supported
yeah, i originally didn't do plex or anything on docker, and wanted to get a dashboard for my plex set up, but some components only worked with docker
i only have windows and it was the absolute worst thing ever to the point where if a solution can be solved without docker, i don't even want to talk about docker π
Docker on windows is not docker lol
Well it is
But barely
Docker on linux works so well
So if you donβt want to do that, recommend just using a VM then

But honestly servers running linux is great
yeah, i think i might do that - especially since i know it works
i do want to eventually have a server running linux, but there's other things that we could be spending money on that isn't that, and i don't even know where to start or what's possible or how to get it done yet, so it's more of a long term goal
Most issues with running in a VM is setting it up
So if you can do that then youβre fine
You donβt need to spend money. Whatever device is running windows as a server now, just change it to linux, reinstall what you need, and with docker everything should start up fine (presuming you transfer the data)
while true in theory, i'm scared to change my plex server to linux in case i do something wrong and lose my user's watch data/plex data etc
knowing my luck, i'll do something wrong anyway and fry my computer somehow π
If you back everything up the most there will be is just an outage
i think i'd still prefer to wait until i have a dedicated linux server and can make sure it goes from one to the other properly
Got a spare hard drive or SSD?
Because you could just swap the hard drive/SSD instead of waiting to get another machine
i'm not very technical when it comes to that sort of stuff
Iβm on windows and got no complaint
It really isn't good
it works very well for me
so i see 0 downside tbh
allows me to run everything i need on windows that needs windows + have all my linux environment correctly setup
If you ignore that it doesn't support host networking, sure
it does
i got it setup that way
ORLY?
yeah
The host networking driver only works on Linux hosts, and is not supported on Docker Desktop for Mac, Docker Desktop for Windows, or Docker EE for Windows Server.
yep#
i don't use docker for windows
i use docker directly on linux
2 different things
Right ... so... Docker on Windows is what people are talking about
oh i thought we were talking about wsl2
my bad
i haven't even bothered with Docker on Windows tbh
I'm guessing they fixed it eventually in WSL2 since it never used to work there either
just went directly with wsl2 and it works perfectly
yeah they added host a few months ago
@shy oasis 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).
any idea how to make this work ?
host network on docker has no visibility on the containers running on bridge network
Use the host IP and port?
that is the only way ?
no way to use for example : http://sonarr:8989
@shy oasis on replies
using the container name instead of the host ip
You ... even managed to thumbs up the fecking bot message
yeah old habit
Shift+Reply works wonders
I haven't looked TBH, the only thing I use host networking for is ... well, nothing actually 
(I don't run HA in Docker)
oh ok
(did this work ?)
tried the shift thingy
oh yeah
Eww stinky π
Since a few days some parts of my system do not function any more. Some addons aren't working anymore. I cannot open the addons page at all. Only a reboot of the whole system fixes that. But a few minutes later the problems reappear. Can't see anything meaningful in the logs. Even though i am an IT professional i have no idea how to start getting it back to work. I installed the Home Assistant Operation System on a Fujitsu thin client. All version should be up to date.
Going to those addons via the supervisor they open up but all entites are unavailible.
OS Version: Home Assistant OS 9.4
Home Assistant Core: 2023.1.7
Hi, on my Pi4 HAOS 9.4 core 2023.1.7 I am unable to connect wirelessly. through CLI nmcli device wifi rescan + nmcli device wifi there are 0 AP in range.... with another OS which is running in my Pi its working
any idea?
I tried to downgrade core, but still the same
Core has nothing to do with connecting to your network, that's why
What install method are you running?
oh an IAM fellow
so what to check?
it works last week its strange
are there any ways to log on instead of creating a user? https://i.imgur.com/XBnTQXl.png
No because there are no users created... Why would you want to log on before creating user
cause i already have a user, this is a new installation
oh wait, are the nabu casa account and user different?
Yes, nabu casa is a cloud username/password
This is a purely local account
oh ok, than i will just do it
Yes. You need an account on home assistant
i also have a usb zigbee module, is it as easy as just plugging it in and then i have zigbee on HA?
And setting up either ZHA or zigbee2mqtt #zigbee-archived can help
Ok so i thought id put my intel nuc ssd to etch it with haos on my pc via ssd to sata adapter. But after opening the nuc up i see theres a nand. M2 i think. Can i put that in my laptop and flash it that way instead? Or is the live os install way better then? Any pointers.
(Im guessing a nand m2 wont work with a regular ssd enclosure usb to sata?) I want haos on my nuc.
First tim on this chat - during instalation on PI4 my HA instalation get no IP adress. Checking all cable, sd card, different images - On screen I see flashing instruction an some times ethernet slot is blinking.
Is anyone here using HAOS on a Mac computer with kvm (not virtual box) ? How do you get kvm working on macos > Big Sur? I've had bad experiences with virtual box..
kvm needs a linux kernel afaik
I use UTM (qemu) on aarch64 but no idea if you run apple silicon
whats the problem with virtualbox?
It's java based, so can get slow and clunky
I asked about kvm since that's one of the options given on the home assistant website install instructions for mac
You mean you use an Intel Mac, right? Could you share your config for utm ?
I think UTM works on both Apple silicon and Intel
Could you share your config for getting HAOS up and running?
Wtf no i dont run ha on mac in utm
Use vmware fusion or parallels
The docs tell you about these
Sorry I misunderstood when you said you used UTM on aarch64 to mean you used it to run ha.
Am I missing something here? This only talks about virtualbox or kvm https://www.home-assistant.io/installation/macos/
I have no idea why it lists that image
It's the way the pages are built, there's just one for VMs and it's used everywhere
The same happens with pip install, giving useless guides for those on the Mac
That makes sense, I guess.
And I've spent so many hours trying to figure it out, thinking I must be doing something wrong. Heck I had a working install of ha on my Nexus 7 tablet in less time. (I know using it on a tablet is not recommended, and that's how I ended up trying to use my old Mac laptop)
Ey apparently Iβm not the only one with ha on a 10 year old tablet
I was able to solve my DNS issues eventually, and wanted to update here in case anyone else isn't able to solve the issue using ha dns commands. This pst on the forum provided me with the additional commands that I needed to run to clear out the bad DNS entries: 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
Specifically, I needed to run the following commands in the nmcli:
nmcli con edit β<name of connection>β # mine was named "Supervisor eth0"
set ipv4.dns 1.1.1.1
set ipv4.ignore-auto-dns yes # this removed the bad DNS entry in the ha dns info
save
quit```
After entering those commands, I needed to restart, and then I was able to complete installation. Once install was completed, I needed to go into Settings > System > Network and configure the IPv4 network interface and change to either DHCP or add DNS servers under the static config (both worked, but I ended up switching back to DHCP as I have my IP reservations on my router).
Hopefully this helps anyone else who runs into a similar issue!
Will my ip on my nuc and my macadress be the same after installing haos on it? Should i prior to installing haos assign and dedicate an ip for it in my router?
I'm trying to follow the guide for memory profiling: https://www.home-assistant.io/integrations/profiler/#service-profilermemory
I have the .hpy file, but when I run the script at the bottom of that doc section I get this:
_tkinter.TclError: unknown color name "rgba:0000/0000/0000/d5d5"
Hello! I am new to Home Assistant and try to set up my first raspberry. I'm not a IT person and follow blindly the instructions. I have been able to install home assistant by flashing a memorycard with sketcher as instructed, and my raspberry pi 3 has started up successfully - all LAN parameters OK , IP address avaiable and device data accessible, device pingable.........but........all ports except 5355 of the device are closed when scanning for open ports - i.e. I can not access any UI on port 8123, there is no answer when I try to open the page. I have not port restrictions in place across the LAN. What to do? Anybody who could help?
2023-01-27 20:11:20.057 WARNING (MainThread) [homeassistant.bootstrap] Support for the running Python version 3.9.2 is deprecated and will be removed in Home Assistant 2023.2; Please upgrade Python to 3.10
2023-01-27 20:11:21.961 WARNING (SyncWorker_4) [pyroute2.netlink.rtnl.tcmsg.common] tcmsg: [Errno 2] No such file or directory: '/proc/net/psched'
2023-01-27 20:11:22.007 WARNING (SyncWorker_4) [pyroute2.netlink.rtnl.tcmsg.common] the tc subsystem functionality is limited```
I am installing home assistant on windows with wsl
I'm on the hass command and so when I run this command, as shown on the logs nothing has changed for 10 minutes
Start by upgrading to Python 3.10
Hey folks. Is there a reason the add on store is not available in the docker version? And is there a way to manually install it in the docker version? Thanks.
No, you can't
They're not available because add-ons are tied to the Supervisor
They are however not magic, just containers with Supervisor sprinkles
So perhaps I could run the HA OS version inside virtualbox?
right on. thanks π
how to update python to version 3.10
Install Python 3.10, create a new venv
Support for the running Python version 3.9.2 is deprecated and will be removed in Home Assistant 2023.2; Please upgrade Python to 3.10
https://github.com/pyenv/pyenv is a really simple way of doing that, though you may need to install extra OS packages
If you don't know how you update Python, you probably should consider a different install method because a Core install expects that you're an expert
Yeah, a virtual machine is going to be easier
okay
Help. Intel nuc just booted homeasstant 1st time and i just get that waiting for assistant cli to be ready? And ha_
If the last thing on the screen is ha > then it's done
You need to use another computer to go to homeassistant.local:8123
Nice. π₯³ thx
Just installed haos on my nuc. Everything is great, but my nucs internal bt aint working. Any ideas
@placid sage I converted your message into a file since it's above 15 lines :+1:
So I'm running my HA container in privileged mode but I seem to be unable to detect usb devices (zigbee dongle). What am I doing wrong/is there a way for me to check what the issue is?
or rather I am unable to connect to it when all information is entered
Nevermind, solved. Added the device to my docker-compose as indicated in the documentation https://www.home-assistant.io/integrations/zha/#cant-connect-to-usb-device-and-using-docker
i was about to send
devices:
- /dev/ttyUSB0:/dev/ttyUSB0
hahahahaha
glad you fixed it
Yep, just did that. Thank you π I should read/google more before I start asking questions
- /dev/ttyUSB0:/dev/ttyUSB0
Please replace the first /dev/ttyUSB0 with a /dev/serial/by-id/... to save yourself a headache later
Okay done that. Documentation should be updated since it does say that at the top of the article but not in the troublehsooting section tbf
