#installation-archived

1 messages Β· Page 19 of 1

flint kettle
#

when making HA user i didn't put a password, what's the password?

grand pivot
#

How did you not provide a password?

placid sage
#

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?

brittle sail
#

so we're helping you help another guy?

humble mirage
odd marlin
#

I'm not following your question. What does virtualbox have to do with a Raspberry Pi?

placid sage
#

I have the problem

humble mirage
#

Well, this is the third time they've posted that, and they've never responded before

#

So, miracles can happen?

low notch
#

to answer the question: yes, NSURLErrorDomain is a failure in network communication

odd marlin
#

Third time is the charm (maybe)

placid sage
#

I will try the installation on another network

high token
#

how many networks does one have?

placid sage
#

yes i only have one network but i will try to install it at a friend's house

brittle sail
#

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

high token
#

you said Raspberry Pi and Virtual Box? Which one are you using?

placid sage
#

rasbarry pi 4

placid sage
odd marlin
#

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

low notch
#

nsurlerror smells alot like ios companion app

#

nextstep afterall

placid sage
#

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

gilded pewter
#

the latest is :2022.11.0

odd marlin
#

Is that a Supervised install?

gilded pewter
#

yes it is. Its my voip failover

odd marlin
#

That's what happens when you run Supervised, things just break

gilded pewter
#

bommer

odd marlin
#

Best bet is to install HAOS and restore a backup

viral marlin
#

Is it possible in any way to make HA run on a system wich only uses legacy and has no UEFi option?

humble mirage
#

HAOS no

#

Home Assistant, sure

odd marlin
#

HAOS requires UEFI. You can either do a Container install or put HAOS in a VM

viral marlin
#

I dont quite understand what 'supervised' is in the table of wich option brings what

humble mirage
#

Yeah... no Supervised, just .. no

odd marlin
#

Pretend it doesn't exist

humble mirage
#

The only two sensible options are HAOS or Container

#

Core is for *nix greybeards, and Supervised is for masochists

viral marlin
#

Why not supervised? It sounds like it has everything haos has

humble mirage
#

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

brazen herald
#

Most people who want to install Supervised want to do it to break the rules of Supervised: You cannot run extra software with HA

humble mirage
#

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

viral marlin
#

Ah ok supervised is freestyle im an engineer version xD

humble mirage
#

Like adding a landmine in place of your cars airbag, engineer version

brazen herald
#

And multiple safety issues in other places in the car, plus replacing the seat cover fabric with really horrible scratchy thorns

viral marlin
#

Ok, no supervised

brazen herald
#

That's it folks, we can pack up and go home for today ablobsunglasses

crude inlet
#

@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.

viral marlin
#

Then, about haos.... If it does not wanna install, or boot at all, how can you diagnose what does not work and why?

viral marlin
odd marlin
#

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

viral marlin
#

xD

brazen herald
#

Maybe not so eventually πŸ˜›

brazen herald
#

You're supposed to create a Live Linux USB and then install HAOS on the internal drive.

viral marlin
brazen herald
#

That probably should work, but it's not the recommended install path

viral marlin
#

Ah.... Then i missed the alternative path

#

What is the alternative?

brazen herald
#

Live linux USB as mentioned above πŸ˜‰

viral marlin
#

Well ... Live linux usb, balena etcher... Right?

brazen herald
#

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?

odd marlin
#

If you said earlier that the machine doesn't have UEFI, then HAOS is not going to work at all

viral marlin
viral marlin
#

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

brazen herald
#

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

viral marlin
#

so i should etch via a live linux usb in the same way i etch in windows?

viral marlin
#

@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

brazen herald
#

Sorry, I went back to work, I have meetings all afternoon πŸ˜‰

viral marlin
#

Oh sorry for bothering you!

humble mirage
#

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

brazen herald
#

Well, unless you turned it off through yoinking the power

viral marlin
brazen herald
#

Then it might be the process that's broken

humble scaffoldBOT
#

@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).

brazen herald
#

In general you don't shut HAOS down, you can, but it's designed to run 24/7

humble mirage
#

Many people have turned off/rebooted their HAOS without issues

viral marlin
odd marlin
#

How did you turn it off?

viral marlin
#

The reason i turn it off after a successfull start it that i will nees to turn it off and unplug it eventually

brazen herald
#

... that's now how you shut it down

viral marlin
#

Ah ....

brazen herald
#

That's a forced shut down reserved for "this machine is not responding to any input whatsoever"

odd marlin
#

If you just briefly pressed the button and it did a graceful ACPI shutdown then that should be fine

brazen herald
#

Settings > System > Hardware > dotsvertical > Shutdown

viral marlin
brazen herald
#

No, definitely not

odd marlin
#

No you never turn off a computer by holding the power button

viral marlin
brazen herald
#

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"

viral marlin
#

I have ha>

brazen herald
#

That's because you're in the console

viral marlin
lucid palm
#

I flashed the new drive and nothing changed. Maybe something left on the computer's hard drive? Can it be removed or something?

brazen herald
#

You need to read the part above it where it says to go to http://homeassistant.local:8123 in your browser (on another machine)

odd marlin
#

host shutdown from the ha> prompt should work

viral marlin
viral marlin
brazen herald
#

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

viral marlin
#

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

crude inlet
#

Kinda like turning on a machine running an email server whenever you want to check email.

viral marlin
#

I want to have it running 24/7

brazen herald
viral marlin
#

Cpu is working, ram is working, it has been checked

#

Kubuntu runs on it

brazen herald
#

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

viral marlin
#

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

brazen herald
#

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.

viral marlin
#

It does not reboot when shut down

brazen herald
#

Then why did you say it did?

viral marlin
#

I also have the case of the computer detecting the drive (as it is doing now), but staying on a black screen

viral marlin
viral marlin
#

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

brazen herald
#

Did you do host shutdown as the command on the command line?

viral marlin
#

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

brazen herald
#

The forum is not guaranteed to give correct advice

brazen herald
viral marlin
brazen herald
#

But if you type ha and press return you should get a help list printed out

odd marlin
#

If you ran that, the machine wouldn't have turned back on

brazen herald
#

If you type help on the command line, and press return, you also get... a help list πŸŽ‰

viral marlin
brazen herald
#

And everything can have --help added to it for more help

brazen herald
viral marlin
brazen herald
#

The words are in another order

brazen herald
viral marlin
#

then i must have missed it when searching for it in this way

brazen herald
#

host shutdown != shutdown host

viral marlin
#

....

#

you are right, its inversed

#

that would explain why it did not turn off

#

well that was stupid me not paying attention, my bad

brazen herald
#

Shutting down the host will shut down core and superviser automatically, you don't need to do those manually first

viral marlin
#

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

#

I take it i should give up at this point?

brazen herald
#

I think you have somehow corrupted your install, and should try to install HA again, and use the right commands

viral marlin
#

This install is fresh

#

But i will retry

brazen herald
#

You just flashed the SSD and booted the machine before this start?

viral marlin
#

No there was 1 restart in between

#

I will try to have it work in 1 go

odd marlin
#

How quickly after booting it are you trying to shut it down? It takes a while for the first boot to set everything up

viral marlin
#

At least after waiting 60 seconds

odd marlin
#

It takes up to like 20 minutes to complete first boot setup

viral marlin
#

That is... Interesting?

brittle sail
#

This assumes adequate hardware and internet speed too right?

#

Could be way longer on a potato and shoestrings

odd marlin
#

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

viral marlin
#

Even if it gives a 'blank' black screen?

brazen herald
#

It can take a while to set up

viral marlin
#

I have looked at multiple videos and such, the screen shows something going on when it installs

brazen herald
#

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

odd marlin
#

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

viral marlin
viral marlin
brazen herald
#

Does it have access to the internet through ethernet?

viral marlin
#

Cause i tried with when i had a screen showing nothing and after 15 minutes it still did nothing

viral marlin
brazen herald
#

And you see HA in your router? If so, let it do its thing

#

Depending on your hardware it may just take a while

viral marlin
#

Ubuntu can also browse and download from this connection.

viral marlin
brazen herald
#

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

viral marlin
#

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.

viral marlin
#

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

vernal patrol
#

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?

lime grove
#

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?
odd marlin
#

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

lime grove
odd marlin
#

You can't undo it. I believe restoring a backup is the only way

lime grove
brittle sail
#

Alternatively getting something a bit better than a pi3 is a good option. Still plenty of project’s pi3 is good for

lime grove
brittle sail
#

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

lime grove
#

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?

humble scaffoldBOT
#

@distant mirage I converted your message into a file since it's above 15 lines :+1:

lime grove
distant mirage
#

or in other words, how should i setup http: without breaking my duckdns access?

odd marlin
peak scroll
#

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

brittle sail
#

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

peak scroll
#

Very true, I can just suck it and see. The Chromebook isn't being used anyhoo, just gathering dust

brittle sail
#

i dont suggest sucking it, but that is up to you

lime grove
peak scroll
#

Well my gob is rather big, but not big enough to fit a laptop in lol

odd marlin
#

No harm in trying the Celeron, but the specs look really low. Dual core 1.6GHz base clock, 6W TDP

peak scroll
#

I'm running a 3b+ right now, and CPUwise it's fine. Figured that spec should be reasonably similar

odd marlin
#

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

peak scroll
#

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

lime grove
#

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)

odd marlin
#

Try zeroing out the partition table on the SSD

lime grove
#

yes that works πŸ™‚

#

ok 🀞

lime grove
#

Success! πŸ™‚
2% used - 429.1 GB free
Thanks a lot @odd marlin for your help!

odd marlin
#

A Lenovo M72e is not a NUC, it's a generic PC

peak scroll
odd marlin
#

Could be UEFI isn't enabled and/or secure boot is enabled

humble scaffoldBOT
#

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).

odd marlin
#

Well, since the drive is detected but isn't bootable and UEFI is enabled, it sounds like it wasn't flashed correctly

noble hill
#

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?

crude inlet
#

@noble hill connect keyboard and monitor and check logs

#

you'll have to reboot the pi to get the monitor recognized

noble hill
#

My Monitor keeps beeing black. But I will give it another try, one sec

odd marlin
#

2 short flashes isn't a normal Pi boot error code. There should be long flashes too

crude inlet
#

@noble hill if it's black then you have the wrong image for the wrong board probably

noble hill
#

There is only one Image for Raspi3 I guess?

odd marlin
#

yes

crude inlet
#

what file did you use?

crude inlet
#

and do you have a link to a picture of your pi?

brazen herald
#

And you're 100% sure it's a 3b+?

noble hill
#

omg

crude inlet
#

a) it's in a case and you've forgotten what it actually is inside

noble hill
#

I hate myself so bad

crude inlet
#

b) it's not in a case and you weren't paying attention?

noble hill
#

My 3B+ where in the PI 2 original packaging

#

rip life

crude inlet
#

heh

noble hill
#

Thanks for the help ahaha

brazen herald
#

Well at least that's an easy solve πŸ€ͺ

crude inlet
#

I haven't seen a "black screen" yet that wasn't a mismatch of image and hardware

noble hill
#

Doesnt need to be always hard to solve.. cx

#

Yeppp πŸ˜„

crude inlet
#

it's ok, some people insist for much longer before confirming

noble hill
#

Ehhhmm but well. It tool me 4 hours after all to recognize it.. xD

jagged sapphire
#

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

brazen herald
#

No

#

Supervised is not a good install method

brazen herald
#

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

grand pivot
#

there are no upsides

brazen herald
#

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 πŸ˜›

crude inlet
balmy stirrup
#

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

crude inlet
#

guessing virtualization is not enabled in your bios?

balmy stirrup
#

Looks like it. Is it the bios of the virtual machine? Or the computer itself. I’m assuming it’s the computer itself

crude inlet
#

bios of the machine windows is running on

balmy stirrup
#

Thanks

#

It is now running

#

Thank you so much

#

Had no idea what VT-y was

odd marlin
#

Never seen it called VT-y before. Intel calls virtualization VT-x and AMD calls it AMD-V

novel bolt
#

thanks

novel bolt
#

LifX. How do I set the color of a LifX bulb in a program ?

#

I mean in an automation

fallen lichen
#

It's an attribute of the light.turn_on service

manic bane
#

Would recommend debian

crude inlet
odd marlin
#

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

crude inlet
#

well no, it was twice, so 🀷

#

ubuntu's base is debian

#

debian is the base, so debian's base is also debian

#

debiandebiandebian

grand pivot
#

OS-ception

manic bane
#

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

crude inlet
#

no, containeredeted

dense needle
#

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

dense needle
#

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

hybrid knot
#

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

humble mirage
#

That's not the best chmod command to run

#

What's your install method? HAOS? Container? Supervised?

copper steppe
#

Need to -R

manic bane
#

Don't just do that for any random folder though

#

Better to just change the stuff you need

#

Like the config file only

humble mirage
#

Or ... better ... understand file ownership and permissions and do it right

manic bane
#

Better to figure out why it's broken first though

humble mirage
#

I doubt it's broken, I expect that they don't understand their install

low notch
#

root:docker is what I make use of

manic bane
#

Actually no clue if 000 means no rights

humble mirage
#

It would, yes

manic bane
#

Never tried nuking everything

humble mirage
#

Running that command would lock you out

manic bane
#

I've done a rm -rf /. Before, meant to do rm -rf ./ Lol

#

Caught it after it nuked most of my install

humble mirage
#

These days there's protection to limit your ability to do that, but it's still not hard to break an install

hybrid knot
humble mirage
#

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

hybrid knot
#

I'm not sure i have, probably haven't

humble mirage
#

id youruser will tell you

hybrid knot
#

and if I haven't I do sudo usermod -a -G docker <user> ?

manic bane
humble mirage
#

It should prove ... enlightening

toxic vale
#

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?

low notch
#

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

manic bane
#

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

toxic vale
#

@low notch thanks for your help.
So changing this with a change into the my-network using a linux filesystem reader might solve this?

low notch
#

if you don't have any other linux machines don't try to read that linux file system on windows

low notch
#

you just need to set a static 192.168.1.254 on any connected client to reach it again and adjust it

toxic vale
#

I already regret to not switch to a decent SSD instead of those horrible unstable SD cards

#

It's like a ticking bomb

crude inlet
#

It's all time bombs. SDs have a shorter countdown

hybrid knot
#

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

humble mirage
#
ls -al configuration.yaml
toxic vale
manic bane
hybrid knot
humble mirage
#

Then once your active account is in the docker group it'll be able to edit

hybrid knot
#

huh... it should be

#

yeah it definitely says I am

manic bane
#

Did you log out

hybrid knot
#

I did just log out and back in yes

humble mirage
#

And are you using nano, vi, or something else?

hybrid knot
#

text editor

humble mirage
#

Which one?

hybrid knot
#

the one that came with my ubuntu install

humble mirage
#

Visual things may also require that the directory is writeable

hybrid knot
#

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

hybrid knot
humble mirage
#

Now you know... also, as a server you shouldn't have a desktop wasting CPU and RAM πŸ˜›

hybrid knot
#

Oh I know, the only reason I do is because I am abysmal with CLIs (as you can tell from my troubles here)

manic bane
#

You only get better by practicing

hybrid knot
#

Definitely

mild prairie
#

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.

cinder marsh
#

@mild prairie are you running balena as root? or using sudo?

mild prairie
#

neither of them

cinder marsh
#

try it

#

either

mild prairie
#

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)

cinder marsh
#

might be worth trying the balena cli as root or sudo via ssh

mild prairie
#

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
cinder marsh
#

try prepending sudo to that command

mild prairie
#

tried and same isue 😦

cinder marsh
#

what's the output of lsblk ?

humble scaffoldBOT
#

@mild prairie I converted your message into a file since it's above 15 lines :+1:

cinder marsh
#

ok, any idea what those partitions are on /dev/sda ?

#

you could try specifying /dev/sda2

mild prairie
#

Tried with the 4 options, all are not found

#

I had a linux distribution on it

#

I can swap everything if required

cinder marsh
#

try this: xz -dc /path/to/image.xz | dd of=/path/to/your/ssd bs=4M conv=fsync

#

/path/to/your/ssd = /dev/sda

mild prairie
#

It's writing, 🀞🏽

cinder marsh
#

damn son.

mild prairie
#

Now time to reboot, right?

cinder marsh
#

if you haven't done so

mild prairie
#

I'll do

cinder marsh
#

if it's finished writing, yeah, reboot and make sure it's booting from the ssd

mild prairie
#

Yeah

#

I'll tell you in a couple of minutes

#

seems working

#

Thanks a lot

cinder marsh
#

no worries

mild prairie
#

At least, HAOS is starting

#

It's perfectly working

#

Thank you very very much

#

strugling with that for jours

cinder marsh
#

all good, glad it's working

mild prairie
#

i owe you a beer

#

(if you like beers :))

cinder marsh
#

I don't drink but you don't owe anything, I got my reward already

mild prairie
#

Thanks a lot again and have a very nice day

cedar nexus
#

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

humble mirage
#

Please, write more than four words per line πŸ˜‰ Those many lines could have been a single line πŸ˜‰

humble mirage
#

Supervised is very clear that it's only on Debian

#

Also... don't

#

Just ... don't

brazen herald
#

Hassio is also the old name for Home Assistant(OS), so two HAs as well πŸ€ͺ

humble mirage
#

Use Home Assistant OS if you want add-ons

cedar nexus
#

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.

humble mirage
#

Ok, so you're totally ignoring the requirements then...

#

That's not going to end well

cedar nexus
#

Since I made my last install requirements change

humble mirage
#

They've been that way for a long time

cedar nexus
#

What do you recommend me do

humble mirage
#

Install Proxmox on that host, run HAOS in a VM and Ubuntu in another

#

Or just use Debian and Docker

stone maple
#

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

cedar nexus
#

I cant use a 16core 32gb machine only for homeassistant

humble mirage
#

Sure, so ... Proxmox and a VM

#

(as I said)

cedar nexus
humble mirage
#

Backports

#

But... Ubuntu + Docker then if that floats your boat

cedar nexus
#

Don't like proxmox

humble mirage
#

Then it sounds like you've got Docker in your future

cedar nexus
#

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

humble mirage
#

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

cedar nexus
#

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

humble mirage
#

Portainer has been used to break many installs, so it's unsupported

cedar nexus
#

And watchtower to

#

I know I can get some conflicts

humble mirage
#

Also no surprise

cedar nexus
#

I don't use watchtower

#

To hassio

humble mirage
#

If you want to use Ubuntu then either run HAOS in a VM, or use Container and no add-ons

cedar nexus
#

I use it do. Plex and other stuff

#

What you guys recommend

low notch
#

its not going to change, you already were given a answer πŸ˜„

humble mirage
#

If you want to use Ubuntu then either run HAOS in a VM, or use Container and no add-ons

cedar nexus
#

I'm just asking for opinion

#

In performance wise

#

And maintainace

low notch
#

these are the sane options ^^

cedar nexus
#

Proxmox is able to pass amd apu graphics to container

#

?

low notch
#

that might be up to your experience with doing so

humble mirage
cedar nexus
#

Thank you for you help

#

Guys

mild prairie
#

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'

humble scaffoldBOT
lapis cove
#

Sorry the question was left πŸ˜„ What should I configure to continue without the usb drive?

humble mirage
#

Is it configured to boot from the eMMC?

#

Did you write a boot loader to the eMMC?

lapis cove
#

Yes, it starts without the usb drive

humble mirage
#

then i've cloned all of the partitions and their data
that suggests no bootloader

lapis cove
#

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?

humble mirage
#

Why not write the HAOS image to the eMMC?

#

That's what the docs tell you to do πŸ˜‰

lapis cove
#

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

humble mirage
#

"install" meaning write the image to the eMMC

lapis cove
#

Yeah, sorry about it, writing the image, yes

lapis cove
vague glacier
#

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

humble mirage
#

What are you running Home Assistant on? A Pi, PC, virtual machine?

vague glacier
#

The Home Assistant is running on a pi4

humble mirage
#

I take it you used Home Assistant OS?

vague glacier
#

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

humble mirage
#

Can you connect a keyboard and monitor?

#

Did you previously set up (and configure) either of the SSH add-ons?

vague glacier
#

keyboard possible, monitor unfortunately not.. I haven't done this previously

#

(the SSH addons)

humble mirage
#

Did you change anything since you could last access HA? Alter configuration.yaml?

vague glacier
#

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

vague glacier
#

Would you advise me to reinstall the whole show and begin all over?

fallen lichen
#

Is that the Android companion log? Sure doesn't look like the HA log

vague glacier
#

yes that;s right

fallen lichen
#

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?

vague glacier
#

I can't show:

#

I'm sorry

#

I will show:

fallen lichen
#

Post to an image sharing site and share the link

#

and why can't you attach a monitor to the pi?

vague glacier
#

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.

fallen lichen
#

"Can't open"?

vague glacier
#

I haven't got an extra monitor

fallen lichen
#

Were you possibly IP banned

vague glacier
#

can't open home assistant via the local ip

fallen lichen
#

Yes... but what does can't open mean

vague glacier
#

I get an 403 error instantly

fallen lichen
#

Alright... probably IP banned

vague glacier
#

It might be possible that I was banned

#

I don't know how haha

#

lol I meant

fallen lichen
#

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

vague glacier
#

I understand that I can attach my laptop to the box and I will do this later tonight

#

instead of a monitor

fallen lichen
#

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

vague glacier
#

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?

fallen lichen
#

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

crude inlet
#

@vague glacier connect locally using the IP address?

vague glacier
#

Unfortunately I'm not able to do so. But if you have a suggestion what I should try. I'd love to hear

crude inlet
#

You get a 403 when doing that?

vague glacier
#

http:ipadress:8123 in the browser you mean?

crude inlet
#

Yes

#

From some other device if you have one

vague glacier
#

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?

crude inlet
#

That's me. Weird to post it here.

vague glacier
#

You mailed me this message?

crude inlet
#

Yep

vague glacier
#

ok

crude inlet
#

What are you running HA on?

vague glacier
#

it is running on a raspberry pi4

crude inlet
#

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

vague glacier
#

alright

#

I must get a cable to connect

#

Thanks for your advice

#

I will get back on this once I'm ready to proceed

crude inlet
#

the path of the directory where you want your files to be.

maiden mesa
#

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

crude inlet
#

@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

maiden mesa
#

ahhh, yes. didn't even notice you're using the docker command without compose.

humble scaffoldBOT
crude inlet
#

oops, wasn't paying attention and just going from yesterday

maiden mesa
#

hrmmm. why are you doing that?

maiden mesa
winter rune
#

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

maiden mesa
#

hrmm. I do not believe you.

#

Maybe I am misunderstanding which has been happening a lot lately. πŸ™‚

humble mirage
#

Nah, there is no "compose" service

#

Compose is a plugin for Docker, Docker is the service

maiden mesa
#

Ahhh, Tinkerer is able to see the confusion happening.

humble mirage
#

You're ... banging the rocks together

#

Stop doing that

maiden mesa
#

just take a breath and read what the error is telling you. πŸ™‚

humble mirage
#

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

maiden mesa
#

Docker has restart policies you define on the service. As long as you do the post-installation steps, things will restart.

humble mirage
#

Compose is just a smart way of defining containers, it's basically a file version of the docker command line

humble mirage
#

Yes

maiden mesa
#

Add-ons are only available if you've used the Home Assistant Operating System or Home Assistant Supervised installation method.

humble mirage
#

Correct

brazen herald
#

Indeed

humble mirage
#

If you wanted add-ons you wanted HAOS

#

No, they said software is available with Container

#

add-ons are just software in a container

maiden mesa
#

Add-ons are just docker containers with some magic ontop, I believe. you'll just run your own docker containers.

brazen herald
#

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

maiden mesa
#

If you look at the docker-compose example I posted above you can see how simple it is to manage a docker-compose file

brazen herald
#

Or curse yourself running Supervised, and don't ask for help πŸ˜‰

maiden mesa
#

you're already 70% there

brazen herald
#

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

maiden mesa
#

dehell

humble mirage
#

Well, it won't work on the Lenovo

brazen herald
#

The Raspberry Pi uses an ARM based chip

humble mirage
#

Because the Pi image is for a ... wait for it

Fecking Pi

#

The hardware is "a little" different

brazen herald
#

It's like trying to put diesel in a petrol tank

maiden mesa
#

I was doing those, Rosemary!

#

I was thinking of something real good

humble mirage
#

More like trying to put diesel in your whisky

brazen herald
#

The nozzle won't fit for the diesel, and if you force it in you'll screw the engine

brazen herald
#

It's like the tablet guy... last week?

maiden mesa
#

not boot natively but there is a Virtual Machine section on the installation guide.

brazen herald
#

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
humble mirage
#

That'd be "vm stuff"

brazen herald
#

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"

brazen herald
#

And then keep it running perfectly πŸ˜‰

hollow folio
#

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

manic bane
#

Sounds like you weren't writing to the ssd correctly or selecting a correct boot device. It should boot from the internal SSD

manic bane
#

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

fallen lichen
placid sage
#

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?

fallen lichen
#

Well the container install doesn't have add-ons

#

So you'd install Frigate independently with that type

#

(Supervised is highly unrecommended)

unique edge
#

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? πŸ™‚

odd marlin
#

Download a backup then reinstall onto the SSD and restore the backup

unique edge
#

Ah damn OK thank you πŸ™‚

swift quiver
#

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 ?

brazen herald
#

Via a keyboard and monitor πŸ™‚

thorny sage
#

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

manic bane
thorny sage
manic bane
#

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

thorny sage
manic bane
#

You may have to. I don't know. I don't use a RBPi nor have no fixed internet connection

manic bane
#

You also don't need to ping me for every reply πŸ™‚

thorny sage
#

Alright see ya

ruby wolf
#

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!

ornate gate
#

"how long need to be back from backup. 3,5gb. no DB there, on proxmox 2cpu 4gb ram"

#

50min and nothing hapens

crude inlet
#

@ornate gate su logs

frank perch
#

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?

odd marlin
#

You shouldn't need to do anything with efibootmgr. How were you trying to flash the image to the SSD?

frank perch
#

I boot from live Ubuntu USB, flash the SSD that's internal to it using balena etcher

frank perch
odd marlin
#

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?

frank perch
#

yeah secure boot is off

crude inlet
#

you also don't need etcher and can use the disk utility to restore to the target disk instead

frank perch
#

and yes I can boot UEFI

odd marlin
#

Or even dd

frank perch
#

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 😦

frank perch
crude inlet
#

the guide can be changed to not include etcher too πŸ™‚

#

yeah "disks"

odd marlin
#

Just to confirm, you're using the Generic x86-64 image right?

frank perch
#

haos_generic-x86-64-9.4.img.xz to be exact

frank perch
#

this reminds me of first installing HA on my Pi

#

uncharted territory lol

manic rivet
#

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

frank perch
#

what type of install?

#

a dying/dead CMOS battery could cause that on a PC

manic rivet
#

oh HAOS in a vm running on an old apple AIO machine

frank perch
#

does the host keep time and just not the VM?

manic rivet
#

the host time seems to be accurate but let me run a stopwatch and cross reference it

brazen herald
#

Open time.is in your browser. It should show you your drift.

manic rivet
#

oh let me try that

#

the difference it +0.014 seconds it says

frank perch
#

well prolly not your CMOS if that's from the host

manic rivet
#

yeah that's in the host

frank perch
#

how far off is the time on the VM?

#

and does it slow down and lose sync or does it catch back up

manic rivet
#

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

frank perch
#

something is taxing your CPU?

manic rivet
#

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

frank perch
#

virtualbox I assume?

manic rivet
#

yeah virtualbox

#

I set it up before I heard all the people saying it's bad

frank perch
#

it's not "bad" it's just not great

#

of the hypervisors, it's the one that needs a cork on it's fork

manic rivet
#

oh, could that have something to do with it?

frank perch
#

virtualbox usually doesn't have much issues if you're only running a light load

#

but that's mho

manic rivet
#

it's a pretty small setup, no cameras or anything really heavy

#

should "hardware clock in UTC time" be on or off?

frank perch
#

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"

manic rivet
#

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?

frank perch
#

how much memory and CPU do you have in total and how much do you have allocated to the VM?

manic rivet
#

total memory is 5gb and 2gb is for the VM

frank perch
#

I'd try increasing that

manic rivet
#

3gb then?

frank perch
#

at least

#

it sounds like your VM is running outta CPU resources tho

#

but could be RAM maybe

manic rivet
#

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

frank perch
#

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

manic rivet
#

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?

odd marlin
#

HAOS runs systemd-timesyncd to keep the clock in sync. Is it possible it's not able to reach the NTP servers?

manic rivet
#

how would you test if that's the case?

odd marlin
#

If you log into the console you can check timedatectl timesync-status

frank perch
#

cmos battery and NTP usually suspects for time drift

#

but virtualbox can be a can of worms sometimes

odd marlin
#

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

brazen herald
#

*Unless you followed the guide on the developer website

manic rivet
odd marlin
#

offset of 44 seconds, so definitely drifting

manic rivet
#

oh geeze yeah that isn't ms

#

just redid it and offset is now over 1min so smths borked

odd marlin
#

timedatectl status will show the time, RTC time, and whether it's synced

balmy stirrup
#

Hey. Would it work if you install two instances of home assistant both as a virtual box VM?

#

Sorry if I’m interrupting

frank perch
#

define "work"

manic rivet
#

offset of 44 seconds so definitely

#

let's go to the thread to not take up the whole channel here?

balmy stirrup
balmy stirrup
#

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

balmy stirrup
frank perch
#

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

balmy stirrup
#

Didn’t think about it from that angle

#

Thanks

#

I have another full machine to host it if I need to

frank perch
#

well you could also just pop a second NIC in the host

#

and have a VM on each network

#

just a thought

balmy stirrup
#

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

frank perch
#

from the sounds of it, yes I would use another machine

balmy stirrup
#

Yeah

#

Thanks

#

Also do you think port forwarded rtsp would work?

low notch
#

What are you trying to achieve?

robust sandal
#

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

red juniper
#

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!

hexed lagoon
#

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.

humble scaffoldBOT
#

Please use a code share site to share code or logs, for example:

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.

hexed lagoon
distant jungle
#

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.

humble scaffoldBOT
ashen lance
#

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

grand pivot
#

Settings->System->Logs or /config/home-assistant.log

blissful mango
#

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?

brittle sail
#

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?

blissful mango
#

I get past that stage, to the login screen. Submitting the form is the last thing that happens.

brittle sail
#

Ah

blissful mango
#

Its a Pi3 A+. I now realise this was a poor hardware choice as I had to add a usb Ethernet.

woven turtle
#

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
wicked plank
#

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.

odd marlin
humble mirage
brazen herald
#

But I would not recommend the Pi 3A at all

blissful mango
#

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?

odd marlin
#

A pi 4 will work fine, but at the current prices and availability, it's not really worth trying to buy a pi

#

Or if you have an old PC or laptop lying around, that works too

blissful mango
brittle sail
#

Depends what you want to run on it but 4gb minimum is a decent start

odd marlin
#

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

wicked plank
#

Ok. So a youtube guide shows how to install ubuntu on a nuc. Should i go with ubuntu or debian for docker and ha?

odd marlin
#

If you're Docker, the Linux distro doesn't really matter. It's more a personal preference thing

wicked plank
pallid lake
#

haos is prob best

wicked plank
humble mirage
#

Yes, but you want a Coral board/stick

wicked plank
#

Is there any good guide to altering nuc bios to be bootable via usb, installing haos without taking out the ssd?

shy oasis
#

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

maiden mesa
#

You can give the other containers host access too.

shy oasis
proper mortar
#

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

quasi wedge
#

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?

rocky copper
#

docker is much better supported

manic bane
#

Docker is hell on windows though

#

And highly unsupported

quasi wedge
#

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 πŸ˜›

manic bane
#

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

brisk willow
manic bane
#

But honestly servers running linux is great

quasi wedge
#

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

manic bane
#

Most issues with running in a VM is setting it up

#

So if you can do that then you’re fine

manic bane
quasi wedge
#

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 πŸ˜›

manic bane
#

If you back everything up the most there will be is just an outage

quasi wedge
#

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

brisk willow
#

Got a spare hard drive or SSD?

quasi wedge
#

nup

#

how come though? might be able to get something small and cheap?

brisk willow
#

Because you could just swap the hard drive/SSD instead of waiting to get another machine

quasi wedge
#

i'm not very technical when it comes to that sort of stuff

shy oasis
manic bane
#

It really isn't good

shy oasis
#

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

humble mirage
#

If you ignore that it doesn't support host networking, sure

shy oasis
#

i got it setup that way

humble mirage
#

ORLY?

shy oasis
#

yeah

humble mirage
#

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.

shy oasis
#

yep#

#

i don't use docker for windows

#

i use docker directly on linux

#

2 different things

humble mirage
#

Right ... so... Docker on Windows is what people are talking about

shy oasis
#

oh i thought we were talking about wsl2

#

my bad

#

i haven't even bothered with Docker on Windows tbh

humble mirage
#

I'm guessing they fixed it eventually in WSL2 since it never used to work there either

shy oasis
#

just went directly with wsl2 and it works perfectly

shy oasis
humble scaffoldBOT
#

@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).

shy oasis
#

host network on docker has no visibility on the containers running on bridge network

humble mirage
#

Use the host IP and port?

shy oasis
humble mirage
#

@shy oasis please stop

#

@shy oasis tagging me

shy oasis
humble mirage
#

@shy oasis on replies

shy oasis
#

using the container name instead of the host ip

humble mirage
#

You ... even managed to thumbs up the fecking bot message

shy oasis
#

yeah old habit

humble mirage
#

Shift+Reply works wonders

humble mirage
#

(I don't run HA in Docker)

shy oasis
#

(did this work ?)

#

tried the shift thingy

humble mirage
#

It's dead easy to check, look on the right πŸ˜‰

shy oasis
#

oh yeah

manic bane
olive tinsel
#

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
novel valve
#

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

humble mirage
#

Core has nothing to do with connecting to your network, that's why

manic bane
shy oasis
#

oh an IAM fellow

humble mirage
#

No idea

#

I don't use HAOS

novel valve
#

it works last week its strange

visual axle
manic bane
visual axle
#

cause i already have a user, this is a new installation

#

oh wait, are the nabu casa account and user different?

manic bane
#

Yes, nabu casa is a cloud username/password
This is a purely local account

visual axle
#

oh ok, than i will just do it

manic bane
#

Yes. You need an account on home assistant

visual axle
#

i also have a usb zigbee module, is it as easy as just plugging it in and then i have zigbee on HA?

manic bane
wicked plank
#

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.

placid sage
#

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.

left agate
#

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..

low notch
#

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?

left agate
#

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

left agate
low notch
#

No, i use apple ARM

#

Vmware fusion and parallels is for intel macs

left agate
#

I think UTM works on both Apple silicon and Intel

#

Could you share your config for getting HAOS up and running?

low notch
#

Wtf no i dont run ha on mac in utm

#

Use vmware fusion or parallels

#

The docs tell you about these

left agate
left agate
low notch
#

I have no idea why it lists that image

humble mirage
#

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

left agate
#

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)

low notch
#

Ey apparently Iβ€˜m not the only one with ha on a 10 year old tablet

dense needle
# dense needle Hi Installation! I posted an issue in the yellow channel, but it sounds like it ...

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!
wicked plank
#

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?

queen bronze
placid sage
#

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?

violet python
#
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
humble mirage
#

Start by upgrading to Python 3.10

rocky copper
#

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.

humble mirage
#

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

rocky copper
#

So perhaps I could run the HA OS version inside virtualbox?

humble mirage
#

Sure

#

That's even covered in the docs

rocky copper
#

right on. thanks πŸ‘

violet python
humble mirage
#

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

odd marlin
#

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

brazen herald
#

Yeah, a virtual machine is going to be easier

wicked plank
#

Help. Intel nuc just booted homeasstant 1st time and i just get that waiting for assistant cli to be ready? And ha_

brazen herald
#

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

wicked plank
#

Nice. πŸ₯³ thx

wicked plank
#

Just installed haos on my nuc. Everything is great, but my nucs internal bt aint working. Any ideas

humble scaffoldBOT
#

@placid sage I converted your message into a file since it's above 15 lines :+1:

hybrid knot
#

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

placid sage
#

i was about to send
devices:

  • /dev/ttyUSB0:/dev/ttyUSB0
#

hahahahaha

#

glad you fixed it

hybrid knot
#

Yep, just did that. Thank you πŸ˜ƒ I should read/google more before I start asking questions

brazen herald
#
  - /dev/ttyUSB0:/dev/ttyUSB0

Please replace the first /dev/ttyUSB0 with a /dev/serial/by-id/... to save yourself a headache later

hybrid knot
#

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