#installation-archived

1 messages · Page 25 of 1

turbid grail
#

Now the question is: how can I get HA to understand, that when e.g. ESPHome is refering to "devicename", it should search it by "devicename.mylocal" instead of "devicename.local"?

low notch
#

.local works on its own

#

also known as "zeroconf" or "bonjour"

turbid grail
#

In this case, it does not work. How can I get it working?

low notch
#

use whatever domain you want for your internal net but do not configure .local in your router

#

all the (bonjour) devices announce their .local address to your network on their own, they do not need a router

low notch
spiral prism
#

Yes that is what I am asking. Anybody here knows how to set nginx proxy manager to work with home assistant in host mode

turbid grail
low notch
low notch
spiral prism
low notch
spiral prism
#

Have you done anything like that?

wicked hull
#

I'm outside of my realm of expertise; can gparted be installed on the live Ubuntu usb?

raven forge
#

Sure but it should already exist

wicked hull
#

Oh it's part of ubuntu?

raven forge
#

Just type it into the Application search box. It's included in the desktop live image

wicked hull
#

Thanks. I appreciate the help.

low notch
fickle olive
#

Hi all, not sure if this is the right channel. I run Home Assistant in a container. I have recorder running in an mysql which runs in a separate container. Furthermore I have an influx databas running in a 3rd container.

Now I want to move my installation to a new server. If I use Home assistant Backup, is it correct to assume that this will backup the Home Assistant Dashboard and the MYSQL database ?

The backup file is around 500mb I would assume that's the case, but I am not sure and the documentation doen't give me more details.

low notch
#

no, the backup only backs up the ha config in a container install

#

snapshot, to be exact

fickle olive
#

So the MySql is not saved?

low notch
#

no, only internal pgsql(?) is saved

fickle olive
#

Is the internal sqlite even used when I use a mysql ? Thought mysql would replace internal

#

Anyway I will backup everything...

low notch
#

its not in use, you can delete the .db file

wicked magnet
#

i need help with shelly relay not having supported firmware version in HA

narrow pagoda
#

I think I know what may have been happening. Others have confirmed that the supervisor was adjusting partitions. What I'm thinking may have happened is since I have 1TB of videos on a HA partition and that partition could have been expanded the amount of power to expand that partition was too much and thus the raspberry pi reset. My raspberry pi is run without a monitor and the image starts with ssh enabled, so I could have unplugged it in the middle of the partitions expanding when I wanted to see what was happening during boot. I have battery backups and a fan on it 24/7, including 20W of power, so I'm unsure why that would be the case. Either way I'm going to make an NTFS partition to put the movies on outside of the HA partition, give HA 100GB (way too much, but time will determine if that will be true). I'll add an empty space between the 100GB and the NTFS partition just incase it will need to expand and will not interfere with the last partition. Going to keep the ssd off the power supply for now as I want to see if this partition setup will fix the issue.

grave talon
#

I'm just in the process of switching from a bare metal install on a i3 Dell Optiplex (tiny form factor) to an i5 version. Driver behind it is finally getting my Coral M2 TPU last week, this CPU on the i3 is much higher now so I thought I'd just throw £50 towards a new box. I have two questions relating to this if I may.

#
  1. Can I just move hardware (SSD) into new box. My guess is no, as the MAC address will be different on the network adapter. I can change the static IP address easy enough to match the current hardware.
#
  1. Can I have more than one storage device? If not would a SATA SSD be better, or use a NVME drive (use is HA and Frigate)
narrow pagoda
#
  1. I would boot up the install and check the ip address, HA will post it when finished, the new hardware will be detected, unless you have a static setup in some way.
#
  1. With HA you CAN have more than one storage device, but be warned if you expect the storage devices to be mapped to the same path you need to keep all interfaces in the same order.
grave talon
#

I just want a Media to be on a seperate drive

#

the /media folder i meant

raven forge
#

NVMe drives are usually cheaper than SATA at the moment. If you have a slot I'd use it. I don't think you really need it though

narrow pagoda
#

There are some ways around this but the most simple way is to keep each storage device in the same interface. Stratplayer, I am actually moving that direction as well because the last supervisor update corrupted my partitions, so that will be good. Luckily I was able to recover over 90% of my data and configurations!

grave talon
#

when you say same interface, what do you mean

narrow pagoda
#

USB, you could be going through the usb headers as well, but make sure the devices is in the same configuration when you configure it the first time.

grave talon
#

ideally i'd want to end up with SATA SSD boot with bare metal HA, then the nvme drive for /media folder only

#

to store all the frigate/doubletake images

narrow pagoda
#

for example, SSD 1 maps to /hdd1 and then SSD 1 is unplugged into a different USB header, and a new third drive is plugged in to that header named SSD 2, now SSD 2 maps to /hdd1 and the SSD 1 maps /hdd2

#

I'm just saying this as a word of caution, is their a third question on how to have the second drive be the /media folder?

raven forge
#

HA/HAOS should be smart enough to mount disks by id/serial/whatever
Apparently it's not the case

narrow pagoda
#

should, yes, maybe now it is, that wasn't the case for me 6 months ago 🙂

#

if that is the case I'd map using id/serial/whatever so if you do change the configuration all will work still! Thank you Impact.

grave talon
#

not my strongest skill (Linux command line)

#

I guess there was a Q3 🙂

#

how do you go about pointing to different folders, assume its command line

narrow pagoda
#

🙂 I understand, so for that you would use the link command LN (all lower cased), you'd determine where your drive is registered and link it to the media location. I find it best to remove the folder first, then use the ln command.

grave talon
#

i will have a google on it

vital jackal
#

I’m an expert; currently running HA on a Pi just fine but for some reason can’t get it on the VM. 🤷‍♂️

grave talon
#

i cant be the first who wanted to do it

vital jackal
#

My VM is running Raspbian as it is the only 64bit version of Debian I could get, and is going to also be used on the Raspberry Pi.

raven forge
vital jackal
narrow pagoda
vital jackal
raven forge
#

That's recent enough. What I find strange is that according to your docker output your arch is i386. That's not 64 bit.
You can test this yourself with dpkg --print-architecture. It's where docker gets its info for deb [arch=... from.

They don't provide packages for that.

To install Docker Engine, you need the 64-bit version of one of these Debian or Raspbian versions
https://docs.docker.com/engine/install/debian/

I recommend installing debian with the ISO I linked or run HAOS if you want addons. You seem to have some frankenstein OS.

vital jackal
placid sage
narrow pagoda
#

I would use the display and run this command directly on the device. Looks like you are trying to change a display feature through ssh which may not be given the right permissions.

placid sage
#

Thanks i will try it.

cursive pecan
#

Hey guys, I'm new to HA. I got a Dell Wyse mini PC and I was wondering if there's any specific benefit of installing HA OS directly using Generic x86-64 method over running it as VM on windows?

narrow pagoda
#

as always running as a VM you can easily image, manage, and restore many instances, etc just as all VM benefits come. The downfall would be it could run a bit slower, normally VMs in windows have a bit of overhead, such as 3GB RAM just for video. With HA you would reclaim that rAM.

fallen lichen
cursive pecan
placid sage
vital jackal
#

Might have gotten the wrong OS; but HA should have still worked on the 32 bit no? 🤔

#

Not sure why I can’t find an iso image for Raspbian 64 bit. 🤔

narrow pagoda
narrow pagoda
#

I can currently run both HA and Plex fairly decently together on a Raspberry Pi 4 8GB

vital jackal
manic bane
vital jackal
low notch
#

raspbian is ancient, you should really get off supervised.

vital jackal
low notch
#

raspberry os is what you mean

manic bane
#

It will work. Until it breaks
Which is not uncommon

brittle sail
pseudo shard
#

Hello i am getting this error

2023-03-21 00:00:09.743 ERROR (MainThread) [homeassistant.auth.providers] Invalid configuration for auth provider trusted_networks: Invalid Version4 UUID @ data['trusted_users']['192.168.2.8'][0]. Got 'G'
2023-03-21 00:00:09.745 ERROR (MainThread) [homeassistant.config] Invalid config for [homeassistant]: Invalid Version4 UUID @ data['trusted_users']['192.168.2.8'][0]. Got None. (See /config/configuration.yaml, line 2).

#

Home assistant has restarted in save mode

vital jackal
#

But can’t find me an ISO file to put into the VM. How do I convert it so VM recognizes it and boots from it?

fallen lichen
pseudo shard
#

configuration.yaml, line 2

`homeassistant:
packages: !include_dir_named packages
auth_providers:

  • type: trusted_networks
    trusted_networks:
    • 192.168.2.8
      trusted_users:
      192.168.2.8: Gang
      allow_bypass_login: true`
#

the code is to bypass the login screen on that ip

fallen lichen
#

You need to use the user ID

#

not a user or display name

pseudo shard
#

where can i find it?

fallen lichen
#

Settings -> People -> Users tab at the top

#

Click the user and in the modal, there's an ID w/ a UUID after it

pseudo shard
#

this code? c4e28b83aebd423cb400f83399e9f7a7

fallen lichen
#

yup

#

Replace gang w/ that

pseudo shard
#

thanks

raven forge
vital jackal
# raven forge Why are you so hell bent on using a OS made for rpi on your VM which is very muc...

Well, I wanted to do a reinstall of my HA but I wanted to do it within a VM before I do it on the Pi to see if I can get it to work without any problems. Like a test run before I do it on my Pi. That way I won’t lose my current setup and can see what I forgot to copy over from it; rather then doing a full backup and restore of HA that might bring problems from previous version over to the new install.

#

But I found out that there is no 64 bit version of the Raspberry OS for PC and I can’t use the Pi 64 bit into the VM unless I use some kinda emulator.

#

So what was the reason that the HA install wasn’t working in the 32 bit version that I have in my VM?

raven forge
#

Is there a reason you're not running HA on the VM and skip the pi?

vital jackal
#

For example I am currently unable to install HA because it can not detect that I have Docker-ce setup in my 32 bit system.

raven forge
#

Like I said before, docker provides no packages for i386: <#installation-archived message>
Just install debian in your VM. Raspberry's OS is based on it. What I meant is why not use your VM instead of the pi

manic bane
vital jackal
vital jackal
low notch
#

It all sounds very strange 😆

vital jackal
raven forge
#

You have to research that yourself

vital jackal
humble mirage
#

http://ppa.launchpad.net/utappia/stable/ubuntu ablobconfused

#

Pretty sure Ubuntu will have docs for adding the keys

vital jackal
humble mirage
#

Google for

ubuntu ppa key
vital jackal
humble mirage
#

That PPA is for Ubuntu, yes

humble mirage
#

The script you ran isn't, but the error is unrelated to the script

humble mirage
vital jackal
raven forge
humble mirage
#

The problem is that you've added some random Ubuntu PPA incorrectly

vital jackal
#

I never added anything, I only added the command I showed.

humble mirage
#

You did

#

You may not remember, but nobody else did it

vital jackal
#

What about this has anything to do with Ubuntu? “curl -fsSL get.docker.com | sh”

humble mirage
#

Nothing... not a damn thing... because you added the PPA some time in the past

vital jackal
humble mirage
#

FFS

#

Don't

vital jackal
#

How do I un-add whatever you say I added?

humble mirage
#

Really, you don't have the skills to use that method

#

If you want add-ons then use HAOS

#

Questions like this means that Supervised is just going to blow up in your face

vital jackal
#

I’m currently using Supervised and got everything setup so want to bring everything over to the new setup. Can’t do that if the whole thing is different.

humble mirage
#

Use HAOS

vital jackal
#

How do I un-add whatever you mentioned?
It didn’t work in the VM and it’s not working on the Pi… and it is the same docker-ce that is giving the issue.

humble mirage
#

Remove the entry from your APT list... but that's just going to be the tip of the iceberg

#

You're clearly running that system in a way that's against the requirements, which means it's going to go horribly wrong for you

#

HA will be marked as unhealthy and unsupported, and the odds are you won't get working install - or if you do it'll fail soon

#

I don't know why you so badly want to use Supervised, but it's (another) mistake

vital jackal
#

Which entry am I trying to remove from the list?

#

We learn from mistakes, and I am resilient; so let’s do this. 🙃

humble mirage
#

You already have all the information you need - if you can't work it out then there's not a lot more I am willing to do to help you chew off your own foot

raven forge
#

grep -nRI ppa /etc/apt/ should show you the file(s) containing ppa

vital jackal
#

I’m looking at the list and don’t see ubuntu anywhere; so which one is it?

humble mirage
#

Why don't you wipe it and start with a fresh Debian install... ||or even HAOS||

#

The 64 bit of Raspberry OS
This ensures you're going to have problems 😉

#

But then you read the requirements, you know that... right?

vital jackal
#

I think I removed it

vital jackal
#

I think I got HA installed but I see this in it
[warn] Could not find /etc/default/grub or /boot/firmware/cmdline.txt failed to switch to cgroup v1

What does that mean?

manic bane
#

@vital jackal you do realise HAOS is identical to supervised, except you don't have to manage the underlying OS

#

They both have the same restrictions

royal shuttle
#

o/ y’all Question. I have two machines. one running Ubuntu and another is running HA OS. Now. i want to combine them.

I think the most reliable solution is running HA OS on a VM running off of my Ubuntu server. How would y’all suggest i go ab this?

humble mirage
#

The only solution is HAOS in a VM

royal shuttle
#

right right. but

humble mirage
#

But?

royal shuttle
#

I know 0 about linux VM software

humble mirage
royal shuttle
#

oooh

humble mirage
royal shuttle
#

Stoopid question but can i use KVM on ubuntu do you think?

#

Wait what am i saying

humble mirage
#

Yes

royal shuttle
#

Ubuntu IS Debian

#

sorry. 3 am.

humble mirage
#

Well, it's not, but it's close

royal shuttle
#

ty tinkerer

#

appreciate you <3

manic bane
royal shuttle
#

i bet haha.

#

A lil off topic but spent like an hour and a half with my PCs RAM being on the wrong speed and me not realizing for a YEAR

#

So brain is alr fried for the night haha

vagrant folio
#

Trying to install HAOS on a 640Gb SATA HDD using a Windows 11 PC. The HDD is connected via a SATA/USB adapter, and will be put in an old PC to be a Home Assistant - exclusive machine. I'm using Balena Etcher and the current X86 image from HA's installation guide, but the flash fails with a long log/error which I can't understand, or copy.
Before I try the 'method 2 (Ubuntu) / 2 usb drives', here's my question: Does the destination drive (HDD) have to be specifically formatted, and if so, how?
Thanks, Andy

humble mirage
#

It doesn't, no

vagrant folio
humble mirage
#

It's irrelevant

#

When you run Etcher it writes over everything that's there

vagrant folio
humble scaffoldBOT
#

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

humble mirage
#

Using Reply when it's only the two of us seems... rather pointless

#

If the Windows PC needed something done specifically it'd be in the install docs...

#

Are you using the URL, or downloading the image?

vagrant folio
#

I'm sorry, I just started using Discord to ask questions - I'm not 'up to speed with it yet, so apologies

#

I can't for the life of me find that 'click to disable pinging' switch!

#

But I understand your point about not using the 'reply' - thanks

#

I'm using the URL

humble mirage
#

Then try downloading it, uncompressing it, and see if that helps

vagrant folio
#

On the right side of the window I see 'Add reaction', 'Reply', 'Create Thread' and 'More'.

humble mirage
#

And when you hit reply then it appears

vagrant folio
#

'More doesn't have anything helpful'

#

Got it now - thanks!

#

I'll try 'downloading it, uncompressing it, and see if that helps' - many thanks

vital jackal
#

Ok, I got HA up and running but it has a few little bugs such as this one …
[warn] Could not find /etc/default/grub or /boot/firmware/cmdline.txt failed to switch to cgroup v1

What does that mean?

humble mirage
#

That means you shouldn't be running Supervised

vital jackal
#

Ya yaa, now how do I fix it? 😅

humble mirage
#

Flash HAOS

low notch
#

lol

humble mirage
vital jackal
#

I found out that my grub files are missing for some reason. 🤷‍♂️

manic bane
vital jackal
#

What does one have to do with the other..? I’m getting a cgroup error due to grub files not being found.

manic bane
#

Systemd and grub are bootloaders
If you're using systemd then grub won't exist

If you don't understand the difference then for the love of god don't use supervised

humble mirage
#

They don't want to hear that sadly... they know better ablobwink

vapid locust
#

Hi I just checked the installation instructions using docker, but it has privileged: true and network_mode: host from a security standpoint this seems like a bad idea. What breaks if I don't have those 2?

humble mirage
#

Well, the first is needed for automatic device passthrough - you can work around that

#

The second... that's required for anything that uses uPNP/mDNS/etc... if you don't have that many integrations just won't work

vapid locust
humble mirage
#

Many people don't use it, you should be fine

#

Not using host mode will put you in a position where it's hard to help you if you have problems

tawdry parrot
#

Hello and good day folks. I am just getting started with HA, and have a small setup running on my Raspberry Pi. At the moment, there is nothing fancy but I just followed the onboarding and have some devices showed up on the HA dashboard, and somehow some devices are also showed on my apple home app. All good and fine, but I would rather like to start over and focus on one device at a time. I am looking for a way to use configuration as code for Home Assistant. Is there any way I can have all the device and dashboard configuration in some yaml file and have it installed in the correct location in rpi using something like Ansible or Terraform? Any guides that I can use?

humble mirage
#

The answer is ... you can't

#

Many things are UI only these days

tawdry parrot
#

Okay got it. Perfect answer.

humble mirage
#

It does suck a bit, but it means that many things can be done without restarting

tawdry parrot
#

next question would be the best way to clean up the devices, should I just delete the docker container and all the data and start the container again from scratch? I am a bit overwhelmed with the devices showing up in my apple home app. I hope they will go away too.

lime oasis
#

Hey all, Im new to HA but when the install finishes I get the login page and not the onboarding (create and account) page. Can anyone tell me what Im doing wrong?

languid isle
#

Hi, I am migrating my HA from a Raspberry Pi4 to a Windows 11 Virtualbox platform. However after I restored the backup to my virtualbox install, non of the add-ons are able to start.

#

What am I doing wrong here?

humble mirage
#

next question would be the best way to

blissful lagoon
#

whats the location of the backup files in the Console mode.. i rebooted my home assistant and it didnt come up i checked the console and said it failed to start due to no disk space... so i typed in login to get in but i cant find the location for backups or a database i could delete to restart ha... how do i go about doing it? even the smb share isnt working so i gotta do it through console

vital jackal
# manic bane Systemd and grub are bootloaders If you're using systemd then grub won't exist ...

Again, my current version that I have installed is the Supervised version, that I have been using all this time. And I have some add-ons, and integrations, and all kinds of things already setup in it. So I don’t want to change versions because some of the stuff might not work as it is now. For example; I was unable to reintegrate my Nest system into it for whatever reason, unless I did a restore of my old system. The same goes for my local Tuya setup as it gives me an error when I try to put in a new one.

humble mirage
#

Take a backup, install HAOS, restore the backup

vital jackal
#

Sure, but all the stuff I got from the Supervisor would be lost right..?

humble mirage
#

No, only the software you installed on the host would be lost

#

As mentioned before, Supervised is just HAOS where you manage the OS

vital jackal
humble mirage
fresh atlas
#

Hi, I would like to kindly ask someone for help I do have homeassistant installed on odroid-n2 essentialy HA Blue with 128GB MMC from storage tab it seems I have really more than 90GB free but unfortunately I can execute any addon even ssh one as it's complaining no free space left. I removed majority of backups, my DB has ~300MB. Any way how to expand that internal docker storage to rest of that MMC?

crude inlet
fresh atlas
dry fern
#

I'm trying to boot my Home Assistant from usb 3 on RP4 but it only works on usb 2, i've googled and tried:
usb-storage.quirks=152d:0562:u but it does not work, any ideas?

humble mirage
#

What is that you're using? Pi4? Something else?

vital jackal
#

Ya, I’m going to put it as a docker container.

vital jackal
#

What’s dockerized vs haos?
Is there some youtube that explains all this?

vital jackal
#

All it shows is checkmarks; no explanation as to how they differ and the pros and cons of each.

blissful spindle
#

Hi brilliant peeps, is there an fairly simple way to stop the browser from the Dangerous warning Deceptive site ahead due to duckdns ?

manic bane
# vital jackal All it shows is checkmarks; no explanation as to how they differ and the pros an...

HAOS is an operating system, where you have the supervisor and add ons, you can take a supervised backup and restore in HAOS with no issues - including add ons (it's basically supervised but far far easier to manage as they both have the same requirements)

Containerised install is just home assistant container itself, you don't get add ons, etc. However it gives you the flexibility to run whatever you want on the system, as add ons are just glorified docker containers

vital jackal
manic bane
vital jackal
#

But installing it within Docker makes it a container right..?

manic bane
#

If you want add ons and are stuck wanting that, go HAOS

If you want to have flexibility learn docker and learn to manage/ spin up containers yourself

manic bane
#

Docker is a container for a single program usually

Its very different to a virtual machine which will run an entire OS

maiden bone
#

Hello! I need help with installing Home Assistant on a Raspberry Pi 3

maiden bone
#

no

maiden bone
sudden quarry
#

Please post errors

#

If too long use a paste bin

maiden bone
vital jackal
manic bane
storm talon
#

what is the advantage to running HA supervised over just a regular old docker image? Can I do anything else with the system? I just have installed debian on a new machine (was previously running HA on gentoo) and want to get it right, but not if that means I can't run my own other services (wireguard, webserver, another docker image or two)

brittle sail
storm talon
#

so what is?

brittle sail
#

either docker or haos bare metal / in a vm

#

haos if you want to install addons and have the supervisor (backup/restore functionality)

#

docker if you want to manage all your own containers (instead of addons doing it for you inside haos)

storm talon
#

I'd rather manage my own docker containers. Is backup/restore impossible when I install via docker?

brittle sail
#

backup exists just not restore (in docker ha)

#

you can just copy over /config tho

#

manage backups yourself

storm talon
#

that is pretty easy

brittle sail
#

yep

storm talon
#

does HA use any database?

brittle sail
#

sqlite but it's common to use mariadb instead

#

and if you want to store long term data influx as well

#

it's all in the docs

storm talon
#

thanks

brittle sail
vital jackal
#

Why does the supervisor version exist iv the non supervisor version also has Supervisor in it? 🤷‍♂️

manic bane
#

Supervised was going to be killed off, replaced by HAOS
But people complained so it didn't
Supervised is only useful if you're wanting to run it on a non uefi device, which are incredibly old nowadays

crude inlet
#

Well, before it was HA OS the project used ResinOS. Same ecosystem.

#

What is called "supervised" was when someone ran a copy of that ecosystem on some other OS

#

@vital jackal You run this copy if you follow every detail of the original project. Few have time for that. So run a plain docker installation where you manage everything and there are few limitations, or run HAOS where it is managed for you

vital jackal
#

So Supervisor has no specific advantage for someone running it on a Pi?

#

The Devs really needed to name these thing better.

crude inlet
#

Ignore supervised. It's not for you. Run a docker installation or the HAOS installation

vital jackal
#

Wait, when I get the docker installation is that not HAOS on it..?

crude inlet
#

@vital jackal OS stands for operating system. Do you know what Windows, MacOS, Linux, Ubuntu, etc are?

#

Do you understand you need an operating system before you install docker on that operating system?

vital jackal
#

Ya, but when you put HA in a docker its like your putting an OS within an OS like a VM right?

storm talon
#

@vital jackal you can either select your own os (some flavor of linux, or even windows with WSL) and run HA in docker, or install HAOS bare metal or in a hypervisor

#

it isn't a VM

#

it is a container

vital jackal
#

I know, you miss understood me

crude inlet
#

When you run home assistant in a container, you're only running home assistant.

#

You would already need an operating system to accomplish that

vital jackal
#

By the way is there a ClubHouse room based on HA? I think having a voice chat would be way easier to explain things vs typing all this out.

crude inlet
#

Home assistant operating system is a operating system which comes with docker and manages that for you. Home Assistant and Home Assistant OS are not the same thing.

storm talon
#

all you do to install via docker is install docker, docker-compose, setup dockerfile, docker-compose up -d, profit

#

rather docker-compose pull first

#

it is rather simple

vital jackal
#

When I get the version that has Supervisor in it and is in a docker; what is that version called?

storm talon
#

you don't want that version

#

supervisor is ill supported, as I just learned

vital jackal
#

🤦‍♂️

storm talon
#

either you want HAOS, or you want to install an OS and run HA via docker

vital jackal
#

I want to have HA in a docker; but with supervisor on it so I can bring all my addons and integrations back into the new system.

storm talon
#

well you are asking for trouble

vital jackal
#

I use some of the stuff that I got from Supervisor.

storm talon
#

in general, you can set those things up yourself

vital jackal
#

In the chat above; someone said I can have Supervisor without having Ha Supervised. 🤷‍♂️

storm talon
#

it seems if you want to use your machine for multiple things, the easiest way may be to use qemu or esxi or something like that

#

I don't know

vital jackal
#

Its better for Supervisor to set those up so it can include it within its backups.

storm talon
#

apparently one can simply copy the files, as I plan on doing

#

and now that I have rsnapshot, that is what I will do

vital jackal
vital jackal
uneven merlin
#

i don't see anything there that says that. you likely misunderstood

storm talon
#

just run HAOS

uneven merlin
#

if you are asking these questions, the "supervised" install method is not for you

vital jackal
storm talon
#

I'd rather manage files and be able to use my machine as I'd like

vital jackal
#

I want ease over specific management of everything. One click backup and download in whatever computer…

uneven merlin
#

then run HAOS

storm talon
#

then run it in qemu or vmware

#

then you can use your system for multiple things

vital jackal
#

I actually got Supervisor version installed but it gave me this

[warn] Could not find /etc/default/grub or /boot/firmware/cmdline.txt failed to switch to cgroup v1

What does that mean?

crude inlet
#

HAOS is the intended project. "Supervised" is a copy of that project which is installed on another OS because it is impossible to prevent anyone from doing that. Any OS. But it should be Debian. You can DO whatever you want but it won't be supported, because that "copy" is going to go off the rails. Especially for anyone who refers to running "in a docker"

storm talon
#

seriously just run it in a VM if you want easy backup/restore

vital jackal
#

It is on a Debian on a Pi

storm talon
#

not in docker

#

you can still use qemu on ARM

vital jackal
#

I need it on my Pi

uneven merlin
#

lol you're trying to split up stuff on a pi?

storm talon
#

you could just buy another rpi

#

(if you could ever find stock)

vital jackal
#

I want to use my Pi for 2 things, HA and another software.

storm talon
#

easy solution is buy another

#

hard solution is run QEMU to run HAOS in a VM

vital jackal
#

Why can’t we just fix my issue and run it as it is now?

storm talon
#

they ain't gonna fix it

vital jackal
#

It’s been working fine all this time, not sure why it gave me that issue notification

uneven merlin
#

buy a used SFF PC, install linux flavor of your choice. Install HAOS in VM on that box

#

then you have linux box to do whatever else you want

crude inlet
#

I don't even know what your issue is, but it starts with not understanding what you're running, and that's almost always the case with anyone who has chosen a "supervised" install

vital jackal
#

Stop telling me to buy stuff. lol

uneven merlin
#

piling on a PI is only going to end in pain

storm talon
#

stop telling people to write code for you

uneven merlin
#

stick with HAOS

vital jackal
#

[warn] Could not find /etc/default/grub or /boot/firmware/cmdline.txt failed to switch to cgroup v1

What does that mean?

manic bane
manic bane
#

Which I already told you. If your install is using systemd then that will cause it (or any other boot loader)

#

Supervised = you manage everything
HAOS = you get the features of supervised except it's a managed OS for you
Container = you run a docker container containing HA only. You run any other add ons or software you want as other containers

vital jackal
#

So I need to change the OS’s systemd to work with grub?

manic bane
#

No. If you dont understand how bootloaders work then supervised is not for you

vital jackal
#

But I’m sure others know how it works; so what do I do?

storm talon
#

does HAOS not use systemd?

#

hates systemd

uneven merlin
#

lol that's a fight that is long since lost

brittle sail
#

This has been the weirdest most non productive convo I’ve seen in a while

storm talon
#

phnx: I still run gentoo most everywhere, except on my machine where I will be using my google coral...

brittle sail
#

It’s like in billy Madison “I award you no points and may god have mercy on your soul”

storm talon
#

systemd is just so heavyweight

vital jackal
#

So how do I hack me a solution? 😋

crude inlet
#

That's how you ended up here

uneven merlin
#

mount the sd card in another system if you can. Pull off the config files. Reinstall HAOS

storm talon
#

qemu! qemu! I hope it isn't a pi 2 or something

#

and I hope you didn't skimp on the ram

crude inlet
#

there are no backups?

uneven merlin
#

copy/paste config files back in

vital jackal
#

What about using Devuan for Ha?
Someone told me it doesn’t use systemd.

uneven merlin
#

wrong part to focus on

vital jackal
#

And it is based on Debian

#

Maybe I won’t get the issue in that?

uneven merlin
#

the only way that you won't have issues is if you use HAOS

vital jackal
#

Can’t use that, I need it in a docker to use other software that are not included in HA.

storm talon
#

buy another pi

#

or buy an NUC

#

they cost like $50

vital jackal
#

Need to make it all work in a single all in one device.

storm talon
#

make it work in an NUC

crude inlet
#

@vital jackal the pi and SD card don't handle this general computing concept very well. " I want to run other things" is better for an actual desktop computer.

uneven merlin
#

s/need/want

storm talon
#

that's what I do

uneven merlin
#

i run all the things in docker. No supervised needed

storm talon
#

I run all of my services on a single NUC

#

and if I cared about the backup, I'd run qemu or something

vital jackal
#

I am trying to build an all in one solution to home automation. Like a hub that controls all the houses needs that I can make and take to another house if needed.

storm talon
#

then use an NUC with enough ram for you to run a VM

#

that is all in one

uneven merlin
#

or run flat docker with no supervisor

storm talon
#

and not expensive at all

vital jackal
#

Like if someone comes and sees it I cam make another for them; rather then telling them to buy 5 Pis…

storm talon
#

rpis are more expensive than NUCs these days

#

and less capable

#

and NUCs are 'all in one'

vital jackal
#

Don’t have any experience with those, but chances are I get more issues with that as well considering how hard HA is being so far.

storm talon
#

and have the horsepower to run HAOS alongside whatever else you want

uneven merlin
#

HA isn't hard. you just picked the hardest possible install method without the experience needed to run it

vital jackal
#

Any ways, I got the Pi for now; so let’s find a solution rather then advises. 🤷‍♂️

storm talon
#

it is like saying you have a motorcycle and you want to take your family of 6 to the movies

vital jackal
#

Ive been using it fine all this time; and it even works fine even with the error notifications on it.

uneven merlin
#

the solution is to re-install. Either HAOS or some flavor of linux with docker (no supervisor)

#

your OS is FUBAR through your own meddling

#

step 0 is getting a running OS

vital jackal
#

So what issues can that issue cause me; what’s it for exactly?

manic bane
vital jackal
#

I got a running OS now; it is working fine

manic bane
#

*sane

crude inlet
#

lol

brittle sail
#

You really don’t want help do you lol

uneven merlin
#

lol

vital jackal
#

I got issue notification on it but the things I use don’t cause any issues with it. 🤷‍♂️

manic bane
crude inlet
#

I'm confused as to what the problem is if everything is fine, and what you are running if "stick with HAOS" is being said

vital jackal
#

What if it swims in the water but you still get a notification about it? 😅

#

Again…
[warn] Could not find /etc/default/grub or /boot/firmware/cmdline.txt failed to switch to cgroup v1

What does that mean?

manic bane
#

If you want to run other programs on the pi then a plain Linux OS install with everything on docker and no supervisor is the way to go

vital jackal
#

Regarding the functionality of the HA

manic bane
vital jackal
#

It has grub in it…

#

I did a check and it told me it has grub

#

I did a
ls -l /etc/default/grub

#

So what kinda actual issues would not having grub give me?

manic bane
#

Well what you're having right now

vital jackal
#

I also have a AppArmor and Network Manager issue notification; yet everything is running fine.

#

So the worst is that I will get those notifications..? 🤷‍♂️

manic bane
#

The worst is it might just stop working

vital jackal
#

Well, if it does; I’ll think of using all the other versions then. 😅

#

I make backups to not lose my stuff

manic bane
#

Or save yourself a headache and fix it now

vital jackal
#

Fix what..? Getting a notification?

#

What kinda issues would not having grub give me? (Other then being notified of potencial issue).

uneven merlin
#

worst case? it doesn't come back after reboot

vital jackal
#

And the sane question for AppArmor and Network Manager.

#

It reboots just fine; so if a future update fucks it up I’ll just restore to old version and stop doing updates.

crude inlet
#

ignore it. Make sure you are downloading your backups. Choose between a plain docker installation and HAOS when it completely breaks. In that time, find another device to run other things on.

vital jackal
#

So; no ClubHouse for HA? 😅

crude inlet
#

Is the exasperation through text not enough? You want to actually hear it?

vital jackal
#

Well ya, we can discuss automation ideas and a lot of other stuff with voice.

#

What does this mean?

Manually configured MQTT sensor(s) found under platform key sensor.
Please move the configuration to the mqtt integration key and restart Home Assistant to fix this issue.

crude inlet
#

Your sensors need to be defined under mqtt:

vital jackal
#

What does this mean?

Failed to start add-on
Image homeassistant/aarch64-addon-configurator: 5.5.0 does not exist for addon_core_configurator

#

I tried to open my editor after restoring my HA from the backup; so it should have worked fine.

viscid sigil
#

I'm assuming your new system is restored from a backup? Try reinstalling the addon.

vital jackal
#

It worked

storm talon
#

@vital jackal try to not be so hard to help

humble scaffoldBOT
#

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

vital jackal
storm talon
#

when people who have more experience than you advise against doing something, either listen to them or stop asking for help

#

if you are going to go against the general recommendation, figure it out on your own

vital jackal
#

Well, people like to advice in things that have nothing to do with the question I asked. I ask for help and get advices instead. 🤷‍♂️

#

Anyways; my question wasn’t about the OS; but rather the mqtt setup…

uneven merlin
#

then move the question to the proper channel

torn fulcrum
#

Update Weirdness. Anybody else experiencing weirdness after updating to Core 2023.3.5 from .4? In Settings, I still see 1 update and Home Assistant Core Update with a spinner going. Just two lines, not the usual several showing current and new. Have never seen this before. HA is clearly up and running. This is just left over stuff. I suspect restart will help, but wanted to report.

#

Also found today that my HA had locked me out of remote access (while away from home, OK on WiFi). Check with Nabu Casa and they suggested I reboot host. Did that when I got home and was able to access again. Not sure if it was the IP Flood issue again, or something else. This was 2023.3.4 OS 9.5. Odd behaviors - or Gremlins. Just FYI in case anybody else is seeing it.

#

Yeah, something's up. Even the Settings > ... > Restart Home Assistant doesn't even work. Argh.

#

And following reboot, Settings shows that I'm still on .4 ?

vital jackal
#

Is HA a 64 bit? Or is it both 32 and 64?

low notch
#

HA (python3) does not care about the architecture, HAOS should be available for both afaik and docker images are also available for both

#

Are you still struggling with your raspberry-in-vm-supervised-installation? Just checking

vital jackal
placid sage
#

I have question: I would like to install Homeassistant to a Rasperry . I follow the instructios on the Homepage to install it. everything looks well til I come to this line :

#

pip3 install homeassistant==2023.3.5

#

then I got this error message :

#

Error : Could not find a Version that satisfies the requirment homeassistant ==2023.3.5

#

Does anybody know what I should do ?

#

Can anybody here help me ?

humble mirage
#

You skipped the part in the docs about Python 3.10 being required

#

If you're not already comfortable with troubleshooting Python builds I'd strongly recommend you switch to Docker

#

(and particularly compose files)

empty bloom
#

Keep in mind, HAOS will replace your OS on the raspberry pi.

placid sage
#

Sorry I am a beginner in this case

#

but now i got in the line python3 -m veny . this error Error: Command '['/srv/homeassistant/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

empty bloom
#

is there a module veny?

#

brings me back to my initial comment: if you don't know python this route is not a good choice for you

placid sage
#

I would not like to change my OS . It runs meanwhile very OK sine 1 week with note Red and grafana and all the other things

empty bloom
#

then you should run docker

#

otherwise I recommend you read up on the commands you're running

placid sage
#

ok then I will try it in docker

#

Thank you very much for your support

humble scaffoldBOT
#

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

cloud flint
#

Hi. For the last couple of months, every time I hard reboot (which is not often), I get the following errors in the logs and the side panel is missing most links to the add-ons. I am running the latest HA OS on an Odroid N2+. Restarting HA fixes whatever the problem is that the errors are not there.

humble scaffoldBOT
#

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

lime oasis
#

Im new to this but can anyone give me any insight as to why Im not getting to the onboarding (creating an account) part after installing onto a pi4?

crude inlet
#

@lime oasis Is the installation page open in your browser?

lime oasis
#

@crude inlet yes. I followed the first steps with the only variation being that I had to download the image becuase the link wouldnt work in blancaetcher

crude inlet
#

I mean the home assistant install/preparing page

#

What are you looking at right now? A console?

lime oasis
#

@crude inlet yes.

crude inlet
#

Click the blue dot and check the logs

lime oasis
#

@crude inlet sorry I thought you meant the guide.

#

@crude inlet I have the CLI up

crude inlet
#

What do you see there?

lime oasis
#

just the IP address info, OS version, and url

crude inlet
#

Okay, so in a browser from another device you enter that IP address in the address bar with :8123 at the end

#

The ipv4 address

lime oasis
#

for some reason I cant access it via the IP but when I go to the URL i can access the login page

crude inlet
#

Hmm, a login page implies that you've already created a user account and password for it

lime oasis
#

yeah but I havent. I only flashed the sd and booted up the pi

crude inlet
#

Have you installed HA anywhere else

#

In the past

lime oasis
#

I have in a docker container in my NAS in the past

#

But its offline. I removed it because it was pulling too many resources

crude inlet
#

You might double check that

lime oasis
#

yeap. I had a backup online

#

so I shut it down but the new pi still isnt accessible

#

I can ping the IP from my PC but still cant access the login/onboarding page

crude inlet
#

@lime oasis I would power it off and then on again, then try the IP address:8123

lime oasis
#

@crude inlet yeah I tried that and even assigned a new ip to it. Still no luck

crude inlet
#

Then going back to the console directly and checking logs is all you can do

hollow swift
#

I’m getting this error message Config flow could not be loaded: {"message":"Invalid handler specified"} when I try to install integration for frigate any help would be appreciated

humble mirage
#

When you go back over there, do mention what version of HA and what version of the frigate integration

spare owl
#

Hi, im having troubles installing Home ASsistant OS on my fujitsu s920, i got it "booting", but now it just shows a terminal cursor, not even flashing

humble mirage
#

Does it support UEFI?

raven forge
#

According to its datasheet it does

deep marsh
#

Hey guys, I have a RaspberryPi 1 B+ and want to use it for home assistant. I know, that this model is very slow for home assistant, but i want to use it anyways, just to try how it works. Ive tried several images, but i doesnt work. Which image should i use for my rpi?

low notch
#

I suspect even a container install will not be useable on that pi1. Last time I tried was 2 years ago or something and HA built in a lot of additional stuff since then

#

so your 700mb memory will not suffice by a lot

raven forge
deep marsh
#

Thank you, ill give it a try

low notch
#

rip sd card

spare owl
deep marsh
raven forge
low notch
#

because it is going to swap. a lot

spare owl
#

Is it normal, that when i put boot option filter to uefi only, the boot option via drive disappears? I only can boot into diagnostic tools then?

#

Ah I probably need to do: efibootmgr --create --disk /dev/<drivename> --part 1 --label "HAOS"
--loader '\EFI\BOOT\bootx64.efi'

placid sage
maiden bone
maiden bone
opaque dock
#

Greetings,

I am trying to run Home Assistant Supervisor from the GitHub repository (https://github.com/home-assistant/supervisor), but I am facing some issues. Here are the steps I followed :

  • I cloned the repository to my local machine using git clone https://github.com/home-assistant/supervisor.git
  • I created a virtual environment using (python3 -m venv venv) and activated it using (source venv/bin/activate)
  • I installed the requirements using (pip3 install -r requirements.txt)
  • I tried to run the supervisor using python3 -m supervisor, and failed
  • I tried to run the supervisor using the debuging mode in vs code, and failed

Also I tried to build and run the Dockerfile using (docker build -t test-homeassistant . ) but I got this error : ERROR: failed to solve: base name (${BUILD_FROM}) should not be blank.

Note : I could run the core with no problems

hushed socket
#

I also have the same problem as @opaque dock

humble mirage
#

Why? Why are you doing that?

#

If you're trying to run HA then that's the wrong approach

opaque dock
#

I'm trying to run the source code so that I can develop/contribute

humble mirage
#

Then #developers can help you with setting up a development environment

past brook
#

Core already updating to .6 for 4 hours now. F*cked or just pull the plug and restart.

raven forge
#

I'd check the logs to see what it's doing

past brook
#

Same but the log doesn't show much about installation progress and/or errors.

#

Good thing fresh install with restore is easy.

raven forge
#

You might not be looking at the correct log

naive pond
#

Hello friends! Please tell me how can I install HomeAssistant on the x64 platform so that I can connect external drives? Do I need HA OS?

humble mirage
#

Why do you want to connect external drives?

#

Home Assistant OS isn't a general purpose/NAS platform, so using HAOS (directly) is unlikely to be a good idea

naive pond
#

I use the main disk for HA is msata 32gb

And on an additional disk I want to keep my videos from zoneminder and photo files that I will use from homeassistant

naive pond
humble mirage
#

A single disk is fine, and HAOS supports that

#

But it's an all or nothing, you don't pick what it does

#

I'd also say that if you find Ubuntu + HA unstable then you've probably done something wrong (other than using Ubuntu, which isn't that bad)

#

If you want full flexibility then use Debian + HAOS in a KVM VM

#

Or just go Debian + Docker

naive pond
earnest kindle
#

Im trying to install home assistant on esxi 6.7 and it gets hung up on the extracting ova this could take some time. is there any other way to install the os on a vm or speed the extracting process up??

raven forge
#

Are you talking about the Preparing Home Assistant screen?

naive pond
#

Hi again! i installed docker and HA. ON started, but I do not have the option to restore the system from a backup, but only create an account

humble mirage
#

That's normal - only HAOS has support for restoring built in

#

You can extract homeassistant.tar.gz from the backup and extract that wherever you need

naive pond
#

wow, is this serious? Interestingly, I got it, I thought this experience would be easier) But in any case, it's easier than Openhab)

humble mirage
#

Restores are part of the Supervisor, as are add-ons

#

You only get the Supervisor when you use HAOS, otherwise it's assumed you're capable of handling your own backups and software installs

naive pond
#

That is, I then create an account, physically put the file in the right directory, and then go in and restore the right file, right?

humble mirage
#

No need to create an account

#

Stop HA, extract the backup of the config folder over your new config folder, start HA

raven forge
#

It might make sense to extract the file on the server itself to keep permissions and such in tact. Just in case you were planning to extract on your PC and then upload

naive pond
humble mirage
#

Extract it to wherever you mapped /config from

#
/PATH_TO_YOUR_CONFIG:/config
``` where in the docs you replaced `/PATH_TO_YOUR_CONFIG` with .. the path to your config
#

Keep in mind that none of the other things there can be restored

#

If that matters to you then you'd want to run HAOS in a KVM VM

naive pond
#

and in the case of a KVM VM I won't be Accessible to the available hard drives?

#

Vicious circle)

raven forge
#

You might be able to pass the disk(s) through but what does that have to do with each other?

humble mirage
#

You'll be able to run whatever other software you want on the host, fully accessing the hard drives

naive pond
#

I need addons in home assistant such as MOTION EYE and ZONE MINDER to have access to external drives in order to put files there

raven forge
#

Can they not work with virtual disks? Oh, you're talking about USB disks? These can be passed through rather easily depending on the hypervisor.
I still don't know why you'd need to do that instead of using a virtual disk that's stored on that USB disk

humble mirage
#

You can run those things not as add-ons, avoiding that problem

#

Though I'd recommend Frigate over either of them

candid cloak
#

Small question re: install (or not small, I dunno). First attempt with this, watched a video, read the install webpage. I have an old MSI laptop that I was going to use to run HAOS. I went into the BIOS and ensured UEFI was enabled, and secure boot disabled (but perhaps THIS is where I messed up?) I grabbed ubuntu, belena etcher, and an HA x86 image. Loaded up ubuntu, cleaned up the partition on my laptops SSD, and flashed HAOS using etcher. Restart - removed media, buuut... I only boot into the BIOS. I can see that the SSD is in the boot options, but it won't kick off. Curious if anyone can point me to the stupid mistake I made?

naive pond
#

For example: I have 2 disks 32 gigabytes ssd sata and 256 gigabytes hdd - sata. HAOS installed on SSD. I want to save my video files on my hard drive. HAOS does not allow this, that's the problem.

humble mirage
#

You don't have to run MotionEye etc in HAOS

#

You can run that - or anything else - in Docker on the host, while running HAOS in a VM

naive pond
#

This is inconvenient, I want to manage everything from Homeassistant and not from individual addresses in the address bar of the browser. All in one place)

candid cloak
#

Well shit, fiddled with some booting options and now I am even a little further set back - but will get back into ubuntu and see if I can make this work or just go buy something.

candid cloak
#

Got it! Woohoo.

brittle sail
candid cloak
#

But now I've got it up and runninng, and have a z-wave dongle arriving tomorrow so I can start to play and figure things out!

brittle sail
#

you have a usb extender for it right

candid cloak
#

Yep, also ordered that as well as I saw there could be some interference issues

#

I used the older of the two laptops I had mentioned yesterday when we chatted: MSI GT72 2QE.

manic bane
brittle sail
fallen lichen
#

<@&330946878646517761> ^

storm talon
#

does one need HAOS to do z-wave?

#

I had read something to that effect

#

maybe better suited to another room

manic bane
storm talon
#

thanks, just confirming

#

I'll figure it out

candid cloak
brittle sail
naive pond
#

Hello! Accept my apologies. But the question remains open. If I install HA-OS on x64 then I won't have access to additional SATA drives and I won't be able to store files (multimedia, etc.) on them, is this correct?
And if I install HA in docker ON x64, then I won't be able to restore my full backup from HAOS (from my previous RaspberryPI4)

humble mirage
#

Correct, and correct

#

Hence why I recommended that you use a KVM VM for HAOS if you want to use add-ons and restore that backup, and the other software in Docker on the host to access the additional drives

naive pond
#

Is there an instruction on how to make additional drives visible to HAOS with this installation method?

brittle sail
#

It kinda sounds like you’re trying to use haos as an all purpose NAS which is a terrible idea dude

crude inlet
#

It is not only the OS which needs to see the drive. Each container also needs to recognize it

#

It's not a good choice for an NVR or Media Server

whole lintel
humble mirage
#

No

#

That's already been discussed, you'll find details if you search, but there's no impact to HA

heady anvil
#

hello im trying to install homeassistant core on my raspberry pi and im getting this error does anyone know how to fix it

#

i cant send a picture

#

ERROR: Could not find a version that satisfies the requirement homeassistant==2023.3.6
ERROR: No matching distribution found for homeassistant==2023.3.6

brisk willow
#

any reason you're not going the HA Container route @heady anvil

heady anvil
#

i want to use core version because i dont really want to use docker

grand pivot
#

I guess that's a reason

raven forge
#

What's your python version?

heady anvil
humble mirage
#

It will on a Pi

#

Good news, next December you get to do it again for 3.11

green sierra
#

hi all!
i'm stuck on "preparing home assistant" screen due this error:

 x509: certificate has expired or is not yet valid

I found the problem occurs due to raspberry date is incorrect.

 ha > host info
 dt_utc: 2022-07-13...

I've tried many reboots but no success.
how can I update this date information?

is it possible to enter Raspberry SSH?

raven forge
#

Are you connected with a monitor or where's that prompt from?

green sierra
#

yes

raven forge
#

You can type login there but note that this is not recommended

humble mirage
#

login there is fine

#

SSH debug access isn't

raven forge
#

My line of thinking was that since you can break the system with both I'll add a disclaimer

green sierra
#

i'm now trying via raspbian OS + HA docker

#

later will try the HA OS

#

thanks!

green sierra
#

installed via container and it worked like a charm.
after first reboot Raspberry corrected the date

so, after the setup I figured out that Container installation method doesn't support Addons. oh sad. lets get back to HA OS and hope it works

green sierra
#

back to the same date sync problem

ha > login

date

wed jul 13 2022

after reboot the nothing changed

during boot process I found a message:

[ FAILED ] Failed to start Wait Until Kernel Time Synchronized
See systemctl status systemd-time-wait-sync.service for details

#

any idea?

raven forge
#

Is the pi connected to LAN?

green sierra
#

yes, the same way when I tried via container and it worked fine

#

is there any way to test internet connection from cli?

#

or maybe manually set raspberry date via cli?

raven forge
#

I'm having connection issues myself right now so I can't really research/test well but here's a few useful commands: timedatectl --help, ping domain, nslookup domain, curl domain/website

green sierra
#

curl, ping and nslookup commands worked fine on google.com

trying timedatectl set-timezone UTC says Failed: read-only file system

queen valve
manic bane
#

They are just other pieces of software

green sierra
manic bane
green sierra
#

didn't know about this. any guide on how to install addons within docker installation?

raven forge
green sierra
#

thanks!

candid cloak
green sierra
#

wow, finally got it fully working!
date problem was correct by:

ha > dns options —servers dns://8.8.8.8 —servers dns://8.8.4.4 —servers dns://1.1.1.1 —servers dns://192.168.xxx (local router ip)
ha > dns restart

At the ha cli type login
Then type vi /etc/systemd/timesyncd.conf
Press i
add the line NTP=time1.google.com time2.google.com time3.google.com
and change the FallbackNTP to FallbackNTP=0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org
Press ESC and type :wq
Type reboot

shell grail
#

Hello i have a problem installation ' block from superviser '

raven forge
#

You should share your logs

flint wraith
#

Hi all.

#

I just reinstalled a HA docker on my unRAID server.

#

It is asking for a username and password instead of the initial config screen.

#

I assume it is grabbing credentials from somewhere. So I uninstalled the docker and ssh into the server, then deleting the entire HA folder from my cache share.

#

Tried installing again and got the same result as before.

humble mirage
#

Did you also delete all the hidden files and folders?

flint wraith
#

I deleted the entire HA folder from the cache.

humble mirage
#

Did you go into the folder and delete the contents, or delete the config folder itself

flint wraith
#

I ssh'd into unRAID, went o /mnt/cache/appdata

#

Then deleted the folder Home Automation Container or whatever it was.

#

The entire thing.

humble mirage
#

Was the HA container stopped at the time?

flint wraith
#

Yes.

humble mirage
#

I can only assume you didn't delete the right folder

flint wraith
#

Right. I was wondering if there is some other location where data gets stored.

humble mirage
#

It's the folder with configuration.yaml

#

That folder has .storage/ and other hidden files/folders

flint wraith
#

I'll see if I can find something.

#

Thanks.

flint wraith
#

Found it!

#

Seems there was a second folder in unRAID under mnt/user

#

After I deleted that, I was able to restart the config.

#

Does HA not play nice with Xiaomi devices?

#

I am trying to add some using the xiaomi miio rout and most devices it just says "The device model is not known, not able to set up the device using config flow".

#

Can't seem to add my webcams, humidity and temp sensors.

humble mirage
#

The answer is that HA is at the mercy of the libraries written, and those are usually done without any manufacturer support

#

If you want things that are more likely to work, don't buy WiFi devices without careful research

#

Zigbee (other than Tuya, and Sonoff's end devices) or Z-Wave are safe bets

flint wraith
#

That would mean changing all my existing devices.

#

I have quite a few already, just they are strewn across several brands, makes and models.

humble mirage
flint wraith
#

I was hoping HA would "bring them all together".

humble mirage
#

Keep in mind that most manufacturers design their kit for their own hubs, and don't have a documented API

#

Making things work is not a trivial task, unless they're based on actual standards like Zigbee or Z-Wave

hexed granite
#

Hi! Can someone confirm, that Homeassistant will run on a Asus Tinker Board R2.0? On the R2.0 boards are not mentioned.

humble mirage
#

I assume you mean Home Assistant OS?

hexed granite
#

yes

humble mirage
#

If you already have it, then it probably will work, worth trying

#

If you don't then there's better hardware to run HA on

hexed granite
#

can you recommend something, wich i can get for as cheap as a Asus Tinker Board R2.0 and is available?

humble mirage
#

#hardware-archived has a long history of recommendations, mostly revolving around mini PCs or laptops - including second hand ones

hexed granite
#

thanks

red stag
#

hi im trying to install ha onto my raspbeery pi but as a docker container

#

to wipe my sd card to install the raspberry pi os can i just format it as fat32?

humble mirage
#

No need to format it

#

When you flash the OS it wipes the card

red stag
#

alright

#

is there anything i need to change in the advaced options before downloading the OS? @humble mirage

humble mirage
#

No

#

Just flash the OS

red stag
#

i dont need to enable SSH?

#

to download docker later

humble mirage
#

If you don't have a keyboard and monitor to set it up, then yes

red stag
humble scaffoldBOT
#

Please use imgur or other image sharing web sites, and share the link here.

Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.

red stag
#

alright mb

#

can you see it now

humble mirage
#

Flash it, boot it, use the Docker install script, configure a compose file, start HA, profit

red stag
#

so nothing needs to be changed in the advanced settings?

humble mirage
#

You look good, you've enabled SSH and configured a user

red stag
#

ok ty

red stag
#

it wont let me continue without a password

humble mirage
#

Or a key

red stag
#

wait was i supposed to configure a wireless LAN as well? @humble mirage

#

or it doenst matter

#

cuz i have ethernet

humble mirage
#

You don't need to tag me to demand my attention

brittle sail
#

what if he puts a dollar in your waste band

humble mirage
#

Well... then I'd have to work out how to convert that to real money ablobwink

brittle sail
#

ah you're in king sausage fingers land arent you

humble mirage
#

Also, which dollar... there's a few dozens of them around the world

brittle sail
#

the ones stained with blood and oil duh

humble mirage
#

Ah, so that eliminates at least half

red stag
humble mirage
#

If you've set up a user ... you add a key or you set a password

red stag
#

yea but i mean how can i get into the raspberry pi terminal via SSH

humble mirage
#

Without a password you can't use sudo though...

red stag
#

i setup a password earlier

humble mirage
#

With ... an SSH client?

red stag
#

yea sorry

brittle sail
#

kinda seems like he's more of an haos guy?

humble mirage
#

Wink?

red stag
humble mirage
#

Windows has a built in SSH client

red stag
#

im using wsl

humble mirage
#

Or there's any number of other options

brittle sail
#

well based on your questions it sounds like you are still pretty new to stuff and you're gonna have pain going forward

humble mirage
#

ssh user@remote_host

red stag
brittle sail
#

why not get a vps or another pi or build out a homelab and learn then move your smart home shit over after you already know what you're doing tho?

humble mirage
#

Eh... if they're willing to Google and use backups, this is the best way to learn

brittle sail
#

stumbling forward is fine on their own googling things but he's not learning much with you spoon feeding him imo

#

at least i wouldnt in his shoes

#

still, yolo

red stag
#

so i got docker now, should i also get portainer?

humble mirage
#

If you badly want a UI to manage your containers, rather than learning, sure

humble mirage
#

Blurry images of text...

red stag
#

i think imgur compressed it

#

but i was just trying to install portainer

#

and received this error:

#

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

humble mirage
#

Text ... you can copy and paste text and use code markup

#

Well, is Docker running?

red stag
#

how can i check if it is

#

i ran the docker command

humble mirage
#

Did you install it?

red stag
#

yes

humble mirage
#

Did you also install the compose plugin?

red stag
#

i isntalled it via:
curl -sSL https://get.docker.com | sh

humble mirage
#

Great, so why are you using Portainer?

#

Don't you want to learn?

red stag
#

because its more convenient

humble mirage
#

Mmmmmmm

#

Try rebooting

red stag
#

whats the commadn for that

humble mirage
red stag
#

docker restart my_container

#

reboot what exactly lol

#

docker right

humble mirage
#

Reboot ... that means restart the computer

red stag
#

alright

humble mirage
#

You really want to go and read up on Linux basics

red stag
#

i established a SSH connection to the rapsberry pi from my windows pc

red stag
#

ty

humble mirage
#

There's lots of good guides out there, but if you want convenient you're not going to learn

#

You could save yourself a lot of time and just switch to HAOS now

red stag
#

i was using HAOS before

#

but it was limiting

humble mirage
#

Right, but you picked a method that means you need to learn, and you're going out of your way to avoid learning...

gray hawk
#

Hi - trying to install via docker on linux.... getting a timeout "docker: Error response from daemon: Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)."

#

has the URL changed?

#

oh weirdly working now on 5th attempt

little swift
#

anyone else seeing these errors after the latest supervisor update to 2023.03.2:```
Logger: homeassistant.components.hassio
Source: components/hassio/websocket_api.py:125
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 00:19:13 (3 occurrences)
Last logged: 00:19:13

Failed to to call /ingress/validate_session -```

frail cobalt
#

When updating is is better to update the add ons or external connectors first or HA? I’m at 2022.5.5 and worried everything will break going to 2023.3 😅

languid isle
#

Hi, I have my Home Assistant installed on a VM (Virtualbox) and I want to do reverse proxy to point to my Home Assistant Box using Caddy. Is there somewhere I can get some reference for this setup?

#

The Caddy works for Jellyfin but not Homeassistant.

sage kestrel
#

Hi, all! I am setting up a new instance of HA on my new Synology 220+ NAS. I have successfully setup Synology Virtual Machine, using the .ova image from Home Assistant. I finished the onboarding and downloaded the 750 mb backup file to the backup directory on HA.

#

Then I started a full restore, wiping the entire installation. This has been going on for 24 hours now. Should I still wait, or can I monitor the progress somehow?

#

No findings in the VM log

#

Disk space within the VM also is sufficient

#

Could it be my new installation has an older HA version than the one I backed up, which was upgtraded from OS Version: Home Assistant OS 9.5 and Home Assistant Core: 2023.3.6

humble mirage
#

The Caddy works for Jellyfin but not

amber iron
#

ive all of a sudden been getting a lot of errors on my haos installation (vm). i tried reinstalling it, and its still happening a lot. not realy sure what the issue is? getting a repeaded mix of primarily the following 2 errors
sd 0:0:0:0 [sda] tag #'x': acess beyond end of device
and
systemd-journald[115]: Failed to write entry (12 items, 'xxx' bytes), ignoring: Read-only file system

humble mirage
#

What hardware are you running on?

amber iron
#

some crappy secondhand windows laptop lmao

#

i wouldnt be surprised if it were just eol

humble mirage
#

I'd be wondering if the hard disk is dead/dying

amber iron
#

i am noticing frequent 99%, 100% disk speeds in task manager

#

so maybe its just time to get somethign new

raven forge
#

Check the disk's SMART values with GSmartControl/CrystalDiskInfo.
You can also check what's writing data with Task manager's Detail view (CTRL+SHIFT+ESC) or in Resource Monitor or with SysInternals' Process Exlorer.
You have to modify the columns to show disk related information

humble mirage
#

That assumes it still runs Windows, they said HAOS...

raven forge
#

some crappy secondhand windows laptop
on my haos installation (vm)
in task manager
This made me assume the host is windows

humble mirage
#

True...

amber iron
#

yes, host is windows

humble mirage
#

That's good... it gives you more info, and may point to a problem with the VM plaform (too)

raven forge
#

dmesg -T or journalctl -k (if it still works) inside the VM might tell you something about the FS issue

amber iron
#

does this work in ha cli?

raven forge
#

No. You have to type login there first. I'd recommend you create a snapshot/backup before working with that much power

amber iron
#

got daily snapshots backuped automatically to drive so all good on that front

#

raspberry pis still dont seem easy to come by if i wanted to replace my sysytem..

raven forge
#

Do you actually benefit from a pi vs another system like a (U)SFF/Mini PC?

amber iron
#

i know pis are just the simplest things to run ha on, so ill just have to do some research on what id want to run haos on

amber iron
#

going with an hp t610 lol

raven forge
#

Might be a tad underpowered for some things. I'd recommend something with a little bit newer processor but that's better suited for #hardware-archived

hybrid pulsar
#

hmm, Im on unraid, i ran HA in docker container but since of reinstall im thinking about switching.

I want to run it in docker, cause i want to run the add-ons as containers instead, but as of last patch or so ESPHome does not support all features when not running their addon as an addon. Correct?

humble mirage
#

What features do you think are missing?

hybrid pulsar
#

somthing about something 😛

humble mirage
#

Ah... FUD

crude inlet
#

I don't think there is any difference but you can confirm in the ESPHome discord

humble scaffoldBOT
grand pivot
#

the only thing I can think of is getting to the dashboard via HA

humble mirage
#

You can slap any URL in the sidebar

hybrid pulsar
#
But that is not all. What is really mind-blowing, is that the ESPHome integration will now provide update entities when using the add-on!```
humble mirage
#

You just don't get ingress

brittle sail
crude inlet
#

Yeah don't tell anyone, but I kinda don't enjoy the update entities.

brittle sail
#

featuren't

crude inlet
#

It's more annoying with the everything presence sensors in the way, tbf. They need to be unplugged and directly connected for a successful update

brittle sail
#

$80 or w/e he charges feels a bit high

#

maybe if $20 from each purchase went to esphome devs i'd feel better about it

crude inlet
#

Yeah I got a couple in the spirit of support.

brittle sail
#

i'm all for supporting people in the community, and i dont have anything against the guy, but outside looking in it's just esphome with a few sensors that his dad made a pcb for and 3d printed a case and sells at a huge mark up

#

guess i'm just not a big fan of hustling in general

hybrid pulsar
#

nice to hear. Ill do container

final moon
#

Have HA OS running on an old mac mini for a couple of month now without issues. Last night we had a power outage and HA didn't start anymore.
Was trying to get into the rescue shell - no idea how to get to it...
Q1: any help on now to get into the shell (screen and keyboard attached - yes have checked forums/google/etc but no joy) ?
Finally booted into Ubuntu server on a USB stick and all the disks seam to be out-of-whack - after fsck and reboot everything works fine again 🙂
Q2: how can I get to the logs to find out what went wrong (the logs on HA don't really say anything) ?
Was brave enough to 'kill' it again just for giggles - same result. Then did a clean shutdown - same result.... there must be something going on with the disk system under the hood.
Q3: how do I go about finding the culprit (am quite OK with linux/docker/ha but new to HA OS) ?

heady anvil
#

is there a way i can get homeasssistant on a 32 bit raspbery pi on pios lite

hexed mirage
heady anvil
#

I’m not sure if my pi supports 64 bit

hexed mirage
#

Rpi3b?

heady anvil
#

it’s a B rev 2

#

I’m new to this kinda stuff so I think it’s that

hexed mirage
#

Ah then don't. That 512gb ram is it?

heady anvil
#

Yea

manic bane
#

That's going to struggle running HA generally

#

Best advice is don't

hexed mirage
#

Use that 32bit but don't install HA, will not be a good experince, even if it runs

heady anvil
#

ahh ok

manic bane
#

Get/use something else

heady anvil
#

Should I upgrade to a Hp thin client

hexed mirage
#

Yep. Any hardware in last 10 years is good 😃

heady anvil
#

ok thanks

hexed mirage
#

Even an old laptop for that power efficiency

heady anvil
#

it would prob be more preformance and more cost affective to get a hp thin client

hexed mirage
# heady anvil Should I upgrade to a Hp thin client

Don't throw away that rpi2b yet. 😃You may use it for application like octoprint, audiophile media softwar with cards like justboom which can be atteched to rpi for that audio solution if ypu need one

heady anvil
#

I prob won’t I use it for pihole right now and I might try octoprint because I got a new printer today

hexed mirage
heady anvil
#

Yeah I’m pretty new to 3d printing so I probably will give them a go

#

I wish I baught a better pi but they are pretty hard to get right now and I didn’t know that this pi was 32 bit lol

hexed mirage
#

Try both. Whatz there to lose except few prints. I personally like octoprint as i can host them in docker and still use my rpi for other containers

heady anvil
#

Yeah I will prob try sort out my printer first as it’s pretty new the prints aren’t perfect yet

hexed mirage
heady anvil
#

yeah any old pc/laptop would cost less and have way more performance

ocean radish
#

anyone get haos running on oracle vm server?

worn warren
#

When accessing the Add-ons screen, or any Add-on itself, I am getting this error in the browser DevTools screen:

Uncaught (in promise) SyntaxError: "" literal not terminated before end of script (entrypoint.fc042133.js:1214:46481)
I'm not even sure where to look to begin to resolve this or if this is even my fault. The last update I had done was when the big migration happened. It has been a few weeks since I last touched HA directly. And I could have sworn everything was fine, but maybe I didn't look around enough after the update?
I've since updated all outstanding updates that are showing up (HA and Add-on updates, except ESPHome device firmware) and still no change.

manic bane
worn warren
low notch
#

restart your machine

worn warren
#

i have done that

#

i have restarted, i am fully updated

#

but it was like this before updating

low notch
#

maybe browser cache

#

try a different one

worn warren
#

browser cache is disabled when DevTools are open

low notch
#

I've seen chrome ignore that setting very well

worn warren
#

i use firefox not chrome.

#

trying in Edge

manic bane
worn warren
#

im curious what else restarting would mean?

#

i've restarted HA, my RasPi. just used Edge, and not seeing the same error that FireFox devtools shows me, but it's still not loading the Add-Ons page

low notch
#

maybe its loading something or rather fails to load something underlying

#

check the logs?

worn warren
#

things are messy. gonna clear them and restart again

worn warren
#

@low notch So this is the only thing that kinda sticks out since it's an add-on and im having problems with add-ons:

Error requesting ESPHome Dashboard data: Cannot connect to host 127.0.0.1:65339 ssl:default [Connect call failed ('127.0.0.1', 65339)]

The rest are like typical startup issues with the 10 second limit or things that I know are disconnected that it says it can't connect to, but haven't caused problems in the past.

#

but not sure that would have anything to do with JavaScript errors?

manic bane
low notch
#

I believe there is some kind of webpack working every time HA loads to minify etc the js, since this is not working there might be some greater underlying issue.

worn warren
#

webpack minifies during build process, not during runtime,

low notch
#

disk corruption is quite common on sd cards, just to mention it

worn warren
#

im using an SSD that's only a few months old

low notch
#

lol, there is no build when using hacs

#

or, custom compoents in general

worn warren
#

but im on the built-in addon screen not hacs. hacs is actually working fine

low notch
#

ok

worn warren
#

well shit. backups is part of hassio and so it won't load either....just great

ocean radish
copper steppe
#

Is it failing to start? Or is this front end issue?

ocean radish
#

responding to me?

#

either way, more background on what i'm doing. I'd been running haos on oracle virtualbox, on a server in my house, running some other VMs as well

#

I iwanted to migrate from a type2 hypervisor to a type 1, so I picked oracle vm server, and ovmm

#

I think the limitation here is they don't support EFI guests

#

so I gave up and swapped to ESXI, which surpirsingly is free, so giving that a shot now

#

so far it's better, feel like I'm close to getting my current haos imported into it

quasi wedge
#

hey guys, i'm not sure what's going on but ever since the past few days it seems like HA decides to crash on me randomly and intermittently - everything will be ok for ages then all of a sudden i got to check on something and find that i've got no connection, and can't get it back without restarting HA in my VM - what's the next step for what i should do to figure out what's wrong?

fallen lichen
#

"Restarting HA in my VM"... is the VM HA OS or some other type of install? Have you checked out the home-assistant log files to see if there's any leads on what happened.

quasi wedge
fallen lichen
#

Yeah, that'd be HA OS. Well, how do you usually modify your config files? home-assistant.log files live in there

#

After you reboot, you'll want to take a look at home-assistant.log.1

#

That'll be from prior to the reboot

#

But also... have you checked out the VBox console when it's non responsive

#

Is the console up and running?

quasi wedge
#

yup, just found log.1 - there's a lot of errors but the main one that i'm seeing is something like this

2023-03-26 22:41:52.523 ERROR (MainThread) [snitun.client.client_peer] Can't connect to SniTun server ap-southeast-1-1.ui.nabu.casa:443 with: [Errno -3] Try again```
#

also i didn't check the console, but when i stopped the VM it had the shutdown code stuff so it looked like it was responsive?

#

there's also other errors but that's definitely the main one that keeps repeating

fallen lichen
#

Well... you said it crashes on you, but are you ONLY accessing via the Nabu URL?

#

Have you tried local access when you believe it's not working

quasi wedge
#

yeah - i tried on my phone and it was coming up with an error saying about SSL not connected or something - i have a screenshot of that error in case you want it too - but then when i came to my computer that's connected to 192.168.x.x:8123, it also said "connecting..." in the bottom corner and wasn't doing anything

fallen lichen
#

Gotcha, sharing more errors and the screenshot wouldn't hurt

#

Pointing to DNS issues from your one error above

#

Post them to pastebin/imgur or whatever

quasi wedge
#

so that's what i was seeing on my phone

#

going to settings just brought me up to my server settings, but i couldn't really see anything weird from that

#

this was while connected through local wifi and not connected to local wifi too

fallen lichen
#

Yeah, doubt it's a mobile config issue if you saw issues via a local desktop device too

quasi wedge
#

at the time i didn't have a chance to check anything out so just left it, then when i checked it on my laptop through 192.x.x.x:8123 and saw it also wasn't connecting, i restarted the VM

#

for what it's worth, this is the second time this has happened within the last few days - maybe a week? though it could be less

fallen lichen
#

Gotcha, share the rest of that log file to see if there's any other indicators, or anything that happened to start running everything off the rails

quasi wedge
#

also i can't tell for sure, but i think this started happening when i signed up for a nabu casa trial to test things out remotely - though i could be wrong about that so maybe take it with a grain of salt 😛

#

sure, one sec, will paste to pastebin

#

the whole log file?

fallen lichen
#

Sure

quasi wedge
#

cool, can do

fallen lichen
#

or depending on how long it was up, a few hours?

#

Hard to say though if you're not sure how long it was broken for

#

So more is better 🙂

#

The error you posted is definitely a Nabu integration error

#

But again... it's more that it can't resolve the hostname using your DNS resolver, not a specific thing to Nabu

quasi wedge
#

ok, sorry that took a min

#

i was having trouble pasting the whole thing

fallen lichen
#

How's your host's network connection

quasi wedge
#

so that goes until 2023-03-26 23:38:33.703

it repeats those same errors constantly until i restarted it - the logs go until about 2023-03-27 22:49:00

so about a day and 11 minutes after those logs end

#

host network connection is good as far as i can tell

fallen lichen
#

I see errors as soon as you restart about the connectivity being limited

#

Are you expecting it to be able to connect to the Internet Printing Protocol?

#

It gets a timeout immediately after starting

#

Also, it can't hit 192.168.1.106:38400

#
2023-03-26 22:36:00.414 ERROR (MainThread) [homeassistant.components.radarr] Error fetching radarr data: Request exception for 'http://192.168.1.101:7878/api/v3/rootfolder' with - Cannot connect to host 192.168.1.101:7878 ssl:True [Network unreachable]
quasi wedge
#

huh

#

so that might have been when it went down then?

fallen lichen
#

If it can't reach the network, you're gonna have a bad time