#installation-archived
1 messages · Page 28 of 1
lol
you should see how amazon ships drives
it's like in a plastic bag only at times...
Don't scare me...
If it doesn't kill it, it makes it stronger...
HDDs tend to have a gradual failure state, so you know they're going bad. SSDs have a tendency to either be fine, or not, and often with zero warning.
https://techreport.com/review/27909/the-ssd-endurance-experiment-theyre-all-dead/ made for interesting reading at the time
just add in SMART monitoring for HDDs and it should be good
SSDs need trim / wearing levelling but for a relatively small drive usage I'd think they'll last pretty long
Whats the best way to migrate from home assistant blue to yellow? Backup/restore doesn’t work (add-ons don’t work). Also i want to use the built in zigbee instead of via usb. Of all things the most important thing I would like to keep is the energy history
backup and restore is the way. reboot the device afterward
It does work you prob never rebooted after the restore
Ahh
Now why that isn’t default behavior of haos on its own idk
We just don’t have the technology
Ill still have to repair all zigbee devices probably right
we do have that technology
Even not when switching from usb dongle to the builtin?
depends on what kind of USB dongle you were using
Skyconnect
Same chipset not sure the benefit of switching
Pretty sure zha smoothly transitions tho
I'm not quite sure what I'm doing wrong but?
I get this goofy error when trying to install Home Assistant Core to my Raspberry Pi 3B+
ERROR: Could not find a version that satisfies the requirement homeassistant==2023.4.4
ERROR: No matching distribution found for homeassistant==2023.4.4
You're using pip install...?
I have a clean install of Raspberry Pi OS Lite
Right.... so... Python 3.9 or older
oh
The docs are pretty clear you need 3.10
You need to either build Python from source correctly, or just use Docker
oh
Docker is going to be a lot easier
Didn't realize that was due to an outdated python version. I was trying to move from a Core based VM to a physical raspberry pi
Assuming you're on Bullseye use the script at https://docs.docker.com/engine/install/debian/#install-using-the-convenience-script to install Docker, then follow https://www.home-assistant.io/installation/raspberrypi#docker-compose
Otherwise, install everything mentioned in https://www.home-assistant.io/installation/raspberrypi#install-dependencies, plus a bunch more (https://blog.ceard.tech/2017/12/upgrading-python-virtual-environment#install-python-3x), then use pyenv (https://github.com/pyenv/pyenv) install 3.10.11 and create a venv with it
Repeat the process in December every year, going from 3.10 to 3.11 and so on
I'd prefer not to do that so I'll just go ahead and try docker
I have an alarmdecoder device connected to the pi and I also wanted to have apcups or nut running on the same pi
I think my setup is overly complicated so I will try to simplify it
anyone tried install on NanoPi R6C ?
Is anyone using a Docker on a NUC and using a ZigBee and a Zwave stick?
There's a big chance there are people doing that. Just ask your actual question
I am wondering if it was hard to configure docker + the two sticks to work together.
My current set up involves a RP3 with the Zwave/ZigBee stick giving data to HA on the NUC via MQTT statestream
Depends what you mean with together. You simply pass the device to your container. Nothing special about it
I've tried plugging the sticks into the NUC and have been able to get the ZigBee integration to work but Zwave is an issue
When I try add the Zwave integration it asks for a url prefilled with ws://localhost:3000, not sure what to add here
https://www.home-assistant.io/integrations/zwave_js
... you need the following elements:
A running Z-Wave JS server.
It most likely wants the URL to that server
Hello, I seem to keep getting these errors on my VirtualBox install every night. Could this be caused by the google drive backup and some services not getting turned back on after it creates the backup? Any help is appreciated, thanks. https://imgur.com/a/ASd8mPu
hey guys
thank you @humble mirage
You'll need to build Python 3.10 from source and install it yourself, which requires many system libraries
In December you'll need to repeat that for 3.11
Next December 3.12
And so on
Don't do it... just use Docker 😉
is there a way to install another version other than core ?
We've been through this whole discussion already
Looking for a different answer, I guess
I havent been able to work on anything and work takes up 90 of my time
Either use HAOS, or use Container. Don't use Core unless you're a *nix geek at home compiling software and troubleshooting compile issues.
if i dont get my " home projects" done in my 3 days off it maybe months before i get back to the them as something always comes up
i have a unraid server that already has a ton of tuff running on it
i tried to add HA docker and one is a core install
and the other available image is knackered
I'm just confused as to why no legacy support as theres a ton of low power x86 devices that can run HAOS
AND still run circles around a raspberrypi
Because the line had to be drawn somewhere, and UEFI support was an easy one I suspect
well.. I'm off for the next 3 days and I will spend some time and see what i can get accomplished
Installing on a RaspPi 4, connected by ethernet, homeassitant.local:8123 doesn't work. Neither does homeassistant:8123 nor the Pi's IP address.
It is recognized as homeassistant on my network though
wdym recognized as home assistant?
Like on my routers Client list there is an object called "homeassistant"
So the problem isn't not being connected properly or something
Try port 4357 on the IP instead of 8123
I get to a page that says this:
Home Assistant observer
Supervisor: Connected
Supported: Supported
Healthy: Healthy
Same for http://homeassistant.local:4357/
"This site can’t be reached"
Can you connect a monitor (and keyboard)?
If you have one of those HD pocket cameras they used to sell, it might have a micro hdmi to full size hdmi adapter 😉
Hello. I've recently installed HomeAssistant and when it scanned my network it discovered a device listed as a FireTV (Apple TV 3) How can I renne it to FireTV?
Find it there
There's a ✏️ in the top right you can use to rename all the entities, or you can pick the entities and rename them individually
Thank you. I'm trying to get the hang of this.
It takes a while
Best advice, google anything you stuck with first, then come here to ask 😉
Google it, double check the answers against current documentation, then come here to ask 😛
There's so much outdated, or just plain wrong, advice out there
Downfall when things update regularly, that's where community wiki sites are helpful. The whole community contributes.
Gonna embark on getting HA rolling in Docker in the next few days.
Technically that exists on the forum, plus the official docs which anybody can submit an update to, but ... mostly people don't
Thanks. I believe I am running in docker. I tied some of the info on the forum and just got confused like setting up Grocy. I did order a Zigbee dongle and need to get it setup as well
If you're unsure, go there and
then System Info
Installation Type tells you how you installed
Yes I see there that it is showing Home Assistant Container installed in Docker
You need to add some lines to your compose file
(or flags to the run command, if you're barbaric)
I'm already confused. I am doing docker run ... --device /dev/ttyUSB0:/dev/ttyUSB0 ... and it says docker: invalid reference format according to dmesg the Sonoff Zigbee 3.0 USB Dongle Plus ius on USB 1-4 ifI am understanding it correctly
Share the whole command line please, and the whole error
Also, you should be passing through the /dev/serial/by-id/ path
Also, also, you should be using a compose file 😉
I found compose to be confusing but I'm thunbking of I am saying that now I am going to be getting in over my head
If the compose file is confusing, you're going to hate HA ... given that both are all about YAML
Maybe switch to using HomeAssistant OS instead though
That may be a good option. I think I may nool into that before proceeding
I'm hack. I installed proxmox on the system I was going to use so I can virtualise some services. I am working on zigbee2mqtt per the guide at https://smarthomescene.com/guides/how-to-separate-zigbee2mqtt-from-home-assistant-in-proxmox/ butI keep getting the error Zigbee2MQTT:error 2023-04-15 20:04:30: Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/ttyACM0' would someone review my configuration.yaml please
@cobalt python I converted your message into a file since it's above 15 lines :+1:
got an existing docker install of HA , but some files in its dir are owned by root and some by myuser, can i just change HA's compose file to include ;
environment:
- PUID=1000
- PGID=1000
without any consequence to ha/db install ?
ow best to just chown HA dir to myuser ?
Doesn't look like P*ID is used for the official image so that should do nothing. chowning stuff to your user shouldn't matter as the docker user is root but it's not very useful either. You can override the user, that might require some modifications though
doing this because of permission issues editing ha files in vscode , so would be best to run both as root ?
vscode run as 1st user
If I say it's the best way someone will stone me but it will probably fix your issue
hello
im trying to download homeassistant on my raspberry pi 3
but when i flash the github link to a sd card using balena etcher, it gives me an error.
anyone know how to fix?
Without knowing the error.... 
However, many people have more luck if they download and uncompress the image then flash it, rather than using the URL
ok, thanks
the error was way too long to put in discord
That's why #rules - which you supposedly read - talks about code share sites
As you obviously didn't read anything there, please do so now
i just joined :/
Sure... and that's the perfect time to read the rules
Has anyone here had problems migrating from docker to HAos? I'm worried about bringing my separate zwave and zigbee device over and having to setup all my devices again.
There should be no problem
As long as you're already using the /dev/serial/by-id paths anyway
My plan is to run HA as a VM in proxmox. Is it as easy as getting the VM running, installing the zwave addon and then just copying my files into the directory?
#zwave-archived can help with the Z-Wave part
(and #zigbee-archived with the Zigbee part, but nothing should be required there)
You are supposed to read that before messaging random stuff in the server. No matter if you just joined or not, you did send a message. Oh well, welcome.
nobody told me
Why are you migrating from Docker? I'm trying to setup a HA container using Docker instead of HAos on a Pi4. I'm setting up HA container on a Pi4 using ubuntu server as OS
When you join, you're dropped into that channel, and it says right at the top
Please carefully read through these rules before engaging in conversation.
@quick ocean I am building a proxmox server to run a bunch of virtual machines. So I think it may be easier for me to run it as its own VM as opposed to in a container. However I really do like docker, it worked great. Easy to backup data and easy to update containers. The learning curve was pretty steep for me not being that big on linux and such but worth the effort. I ran open media vault and used docker with that.
If I am not mistaken haos actual is kinda a standalone system that uses docker containers and just manages it on its own.
yes, I believe it is built on a linux with HA. To my understanding.
I would just like to be able to run other things so therefore I'm going Docker
Yes learning curve is steep.... Going through Docker tutorials right now. But VM seems more hardware heavy so therefore I went with docker
Hi, does somebody has expirience with the pschmitt flic button repository? I added it to the Add-On repository but i cant find the integration
If you really mean add-on then you wanted the #add-ons-archived channel
Add-ons however aren't integrations
#integrations-archived integrate Home Assistant with devices or services, or provide functionality within Home Assistant.
#add-ons-archived provide additional software or services, which an integration could possibility integrate with. Add-ons are for Home Assistant OS and Supervised only, other install methods can install software other ways.
i think i just mispronounce
You'll find add-ons in the add-on UI, and integrations in the integration UI
#add-ons-archived can help with add-ons, and #integrations-archived with integrations
Hi. I'm installing Home Assistant on a Raspberry Pi Zero W, using the HassOS RPi0 image. I have got to the stage where it says "Preparing Home Assistant (this can take up to 20 minutes)". I know that it can be slow on the Raspberry Pi Zero, so I left it running assuming that it would eventually get it done. It's now been almost seven hours. Should I keep waiting, or has something gone properly wrong? I have refreshed the page, just to check it wasn't just failing to reload.
Keep waiting
There's a reason that no new releases for that hardware have been made in a long time
I've seen reports of it taking 24+ hours
Oh, and you'll run out of RAM
What happens when it runs out of RAM?
So, don't plan on doing much because the odds are the OOM killer will ruin your day
Don't install any add-ons
Be careful how many integrations you enable
I'm not going to install any add-ons. I basically JUST want to put EspHome on it, set up a few sensors, and then leave it.
Well, don't install the ESPHome add-on
Oh. How do I set up sensors without the ESPHome add-on?
The way everybody who doesn't use Home Assistant does
ESPHome existed before HA was around
ESPHome is a system to control your ESP8266/ESP32, with a native integration for Home Assistant.
You can find their documentation here, and get help with ESPHome itself here in the #diy-archived channel (#integrations-archived for the Home Assistant side integration with it). They also have their own Discord server too.
You could join their discord for further help with that
Using HA on a Zero is going to be painful and frustrating though
Well proof of concept isn’t even there with 7+ hour first setup lmao
Just find some decent hardware to run it on and use the pi for some tiny project
Wall art.... as in, stick it in a frame on the wall and call it art 😛
Ya first gen zero are slow
The second gen are faster... but no more RAM so they're still shit for HA
TBH I'd hesitate to recommend a Pi3B for HA, 1 GB of RAM isn't really enough these days
Even 2 is low for just a few addons
I mean... these days most smart watches come with at least 1 GB of RAM
So I have got my Raspberry Pi 4 running it for my home. I was kind of hoping that I would be able to run something fairly basic on the Raspberry Pi Zero though so that I could run another instance of it at my workplace.
But I guess your (rather derisive) comments suggest that trying to run anything on the Zero is futile, which is basically why I was asking in the first place.
They’re ok for random projects te but zero and hass don’t mix
It's underpowered for HA
Buy a mini pc or a used laptop for hass and bring your pi4 to work to play with
Or reuse old work hardware
So, there are reports online of people using it fairly successfully, once they get past the initial install and setup.
OK, thanks.
You don't have to listen to the advice you're given @hard venture - that's up to you
We also don't have to help you if you ignore the advice
It's useful advice. I appreciate it. I'm new to this, and if I'm wasting my time, it's useful to know that. I'll put the Pi Zero back in the drawer and work out how to get my hands on another Raspberry Pi 4 (or other piece of hardware that might do the job).
Well, you've spent more time going are you sure than anything else... which is offputting
Hello Champs. Any chance of some help. I have just upgraded Home Assistant running on a Raspberry Pi4 to use an SSD (instead of an SD card). It all worked great, I just did a full back up and then used Raspberry Pi Imager to create the home assistant OS image and then restored my back up. However I can't remember my root username and password for SSHing into the server.
I thought given that I had used the imager it would be the default of pi and raspberry. But that doesn't work. Any ideas what I'm doing wrong?
Buy a m910q or similar mini pc on eBay not another pi
https://www.servethehome.com/introducing-project-tinyminimicro-home-lab-revolution/ jump to #hardware-archived for more hardware chat tho
Yeah, that's because I do want to know for sure, and it's useful to have more than one person's perspective. There might have been someone else on this forum with a different experience. But then Smart Home Sellout helpfully indicated that they thought I was wasting my time too.
It’s common we have to clear up bad advice from forums and YouTubers
Lots of bad advice out there especially on Reddit
‘Omg bro buy govee they’re so gud’
Any good advice on how I can solve my SSH issue?
Lots of stuff that was true 5 years ago and isn't true now
The HAOS image doesn't have a username and password for SSH
Until you install and configure the SSH add-on there's no SSH
Lots of people just set up the add-on enough to use it in the sidebar and never actually set it up properly - I'd bet you're one
Thanks. But then when I look at the documentation I struggled to understand what i should be putting in the 'authorized_keys' section of the yml config.
#add-ons-archived can help with the add-ons
Moved from #general-archived:
Does Home Assistant OS mount storage by UUID, or by device path? I want to migrate the data to a different sort of device, but to do that, I'll need to put the current NVMe in a USB enclosure.
Home Assistant OS also won't let me move the data from the 32GB NVME (Optane) back to the eMMC... it states that the target device must be larger than the source device.
If I do mount on HAOS, I see the /dev/nvme0n1p1 path, but that doesn't really tell me if there's some script that finds it by UUID first.
Or does it do it by-label?
I guess it's by label, because it worked just fine putting it in an enclosure for the sake of copying.
I just set up 2 Aqara motion sensors. I have a sonoff hub. They connected to the zigbee home automation add on. They showed detected as soon as I set them up but now they do not detect motion. Am I missing something?
They are both showing different lux levels when they are right next to each other. It seems none of the data is updating since I set them up
Any help would be greatly appreciated. I have spent hours trying to figure this out
Are they showing movement in any other app? Some native aqara thing?
I found Aqara (temperature) sensors really unreliable. There's also a more Zigbee-specific channel: #zigbee-archived
hello, I am doing a x86 install but I already have a HDD with a ubuntu running on it. The regular approach shows booting off of a usb and clicking try. My query is: is there a way I can skip the USB part and just boot from the ubuntu hdd, format it and install ha x86?
yeah that's what I was afraid of... was thinking I could maybe partition, idunno
okay.jpg
Greetings, I'm stuck at the core command line.
Home Assistant OS 9.5. 2023.4.4
These two web sites work fine, turning on and off things and playing music
http:// local :8123
http:// local :4357
But my rpi 4 with 128gb micro sd is stuck on the core screen waiting for the supervisor to startup and the CLI to be ready
Please tell me what have I done wrong and what's my next step?
HA UI not accessible via homeassistant.local:8123 or IP
I just realised my antique mobo won't take uefi boot
Any way to get around this for an x86 install?
Do you want to use HAOS?
Yes 😃
It’s probably not very efficient with power usage if it’s that old
Then replace the motherboard
Hmm that tracks
If you’re trying to save money look into a thin client otherwise a mini pc
Jump to #hardware-archived for more
I just like bringing life to old junk. No other reason. I have another one. Gonna swap it
You could Install proxmox on it and virtualize HAOS. That should work even if the host doesn't support UEFI, no?
Any good proxmox tutorials, guides, or just general good sources of info for learning?
Just the usual. Official docs, youtube and google and reddit for specifics. LearnLinuxTV has a whole series for example
I’m fine with learning as I go but I figure I’ll end up doing stuff wrong and have to redo a bunch correctly down the line
imho virtualization isn't worth it cos you end up leaving performance on the table on account of having to divide it between the OS and the virt
that's the reason Im going for generic install actually
running out of ram constantly
It’s not for hass
although admittedly im using virtualbox not proxmox so Idunno how that would behave
oh very well then
yeah for virtualization I heard QEMU is way more efficient than VirtualBox
Hello, I posted my message in general but there is a lot of noise there actually and I'm not sure it was the best place to post it :
Hello all, some of us with alternative databases (mariadb, postgres) experienced ultra slow logbook and history after migrating to 2023.4. Is there anyone who has no problem with same configuration to help us here : https://github.com/home-assistant/core/issues/91514 ? We are looking for a structure dump to check if everything went well with our migrations.
Thanks 🙂
can i make my windows pc that i dont use and basically convert it into a home assistant OS? its an asus gaming pc that i think the bios is locked so idk how to go about doing this
how is the bios locked
If it supports UEFI then yes trivially
If it doesn't then still yes, but with a few more steps
no idea, just assuming, im no expert just though it was since it was bought via asus site
no relationship
I thought he meant like with a password :p
yeah if its a gaming pc Im asuming uefi works
Hey all! I've looked around and this seems the best thread to put this in. I've got a little bit of a custom deployment for home assistant to restrict down access to my internal networks. To start i'm having some issues trying to get nginx proxy manager to grab a certificate via certbot/letsencrypt. I thought this might be related to the settings>system>network showing external access disabled. However under my config page the regular menu for configuring external access is missing. I tried updating the config with the base_url hoping this would resolve that issue. I have added the trusted proxies and told it to accept forwards. I can hit the URL via the nginx proxy from my internal network but external is still giving some issues. As for the custom setup I'm running home assistant OS on an ESXI deployment. Have it broken into 2 v-switches, one for internal home automation vlan and one for the dmz i have all of my port forwards on. I've gone into the home asisstant CLI and disabled the default gateway on the home automation vlan and isolated it at the layer 2. At the firewall level i've ran a destination translation to translate my access to home assistant to the public IP so my external domain name works the same as inside vs outside my home.
http:
base_url: https://obfuscatedurl.com
use_x_forwarded_for: true
trusted_proxies:
- 172.30.33.0/24
HA's config has nothing to do with NPM - you can ignore everything in HA when troubleshooting
That's what I was thinking. So I figured something outside of that docker contianer was listening on port 80 so I checked running services and it was only the NPM running the existing port 80 listener for the proxy.
Also inside the container I was trying to run the certbot commands in a dry run and more verbose but still getting the inaccessible issue.
Also, base_url was deprecated long ago: https://www.home-assistant.io/docs/configuration/basic/#external_url
Sounds like with NPM that config is irrelevant.
But you should fix it anyway
I've removed it and left just the necessary config for the proxy.
Hi everyone! Great to be here, Was hoping to get some assistance if possible. I'm installing a Docker Container in Ubuntu and I just can't seem to access port 8123 and I see the container running in Docker Desktop...any help will be greatly appreciated..I haven't even been able to access HA UI for the first time.
If you really really want UEFI boot on an old machine, and you can't just get a thin client or such, there is one way to fake it: use the Clover EFI bootloader that's typically associated with Hackintosh. Put that on a small USB drive, and it should be able to chain to UEFI boot loaders.
docker desktop is known to be troublesome. use the docker cli
You probably haven’t mapped the port to the host
this question probably gets asked often, how do you get HAOS to search the network for new devices?
Well, that's more for #integrations-archived
And that's on an integration by integration basis
I created an Bootable USB stick with the home assistant OS 9.5. When I am booting from the stick, it get this message:
Booting 'Slot A (OK=0. TRY=0)
This is the second USB Stick I tried
And what's the issue?
It's doing nothing anymore
ah, why? when i first installed and started up the HAOS it found things like my apple tv. I just found a device that was turned off, i want to search again to get that "integration" to show up automagically...
What can I do ?
Right, all those things were found by integrations not the operating system
And the #integrations-archived channel can help
k
When did you create that "bootable stick"? How long was it in use? Is there a black screen or what exactly happens?
I create it this morning with balenaEtcher
The Intel NUC is just starting and booting the USB stick
Did it ever successfully boot?
The Intel NUC ?
The stick
I just found out that the Intel NUC has no SSD inside. Is this an issue ?
Since you're booting from USB probably not. You can use the USB stick but they are kinda unreliable and slow
Hi all,
I'm trying to install home assistant on docker, I want the addons and features of the OS, do I need to use supervisor version? I read that this is a bad approach as it's basically a vm in a vm?
If you want add-ons use HAOS
The Supervised install is a trap, don't do that to yourself
You don't
Home Assistant OS is an operating system
You run it in a VM, or directly on the host replacing the existing OS
So I have to use a VM, can't use docker to host the VM?
what's bad about supervisor HA?
Supervised...?
You mean other than it being horribly fragile?
say no more 😄
And the fact that your install already would be breaking the requirements, ensuring that it was fucked up from the start?
ok, I have HAOS on a VMWare install, but it's a pain in the ass as it won't auto start on boot
I could get the app to launch on start, but it won't start the server
A KVM VM should be better, or at least less bad
I'll give it a go
Anyone having any problem with dev container setup installation? Onboarding is stuck after the statistics screen. Clearing cache, changing browser, trying another system and computer... Nothing works. The integrations screens just bugs. No specific logs.
I have posted in dev add-ons already but maybe this issue is about installing instead.
#developers can help with dev-containers
This channel is about installing Home Assistant, not developer environments
Discussion about how to install Home Assistant (https://www.home-assistant.io/installation), and issues with the install itself. Make sure to mention which type of installation you have. If you're not sure of your installation method, check under Info in the System Health Card (https://my.home-assistant.io/redirect/info/)
as a minimum does HA need one real cpu core with HT? or two cores without HT?
Two cores of any form
Are you running a pentium 4 or something?
You're looking at a minimum of 2 cores (with a CPUMark of at least 900), 2 GB of RAM, and 32 GB of disk space - but more of everything is good
Technically you can run on less, but ... you really don't want to
no. i want to install home assistant on unraid and i'm trying to allocate cpu cores to the minimal requirements.
You shouldn't describe this as hyperthread
so would this be a correct selection for it then?
https://i.imgur.com/C0Xn13j.png
No idea what Unraid does, or what that CPU is like, but ... maybe
good enough for me 😄
Is there a way to download a copy /install of my HA setup (it's on an SD card in a Raspberry Pi 4) and save on my Desktop?
And if so, is there a way to automate this?
thanks!
thank you!
I'll try this tonight. See if I get a better result. Thanks.
Aaah I wouldn't know how to accomplish this, I'll get back to it after installing through docker cli
I've seen a few mentions of a change to swap in HAOS. It sort of sounds like swap is being moved into RAM? Wondering if anyone has any more information on this.
Also not sure if this would be better suited for the dev channel
Anyone have a Yellow using NVMe have their install (apparently) wiped and installed to the CM4's EMMc after running a HA OS update?
#yellow-archived is more likely to have other Yellow users
Guys can you tell me how to format a ssd m.2 that had home assistant on. I want to install HA on my spare sdd m.2 but windows will not delete all the partitions and will not formate the drive aswell. I presume it's because the drive is another operation system. I tried Diskpart aswell with no success. Please help thanks
It doesn't matter - when you flash the image it over-writes the entire drive
It comes up with a error
run the flash program with admin priv
@brisk sorrel with diskpart did you use "clean"?
Yes , followed a number of youtube videos using DiskPart . Maybe the disk corrupt or damaged
Hi all, HA isnt seeing Skyconnect in devices. Any help?
When you have updates available for both the OS and Core, what order is best to update them in?
doesn't matter
Follow up to the issue yesterday I was having. Looks like a provider ISP issue. They're allowing port 80 in-bound but somewhere along the return path it's getting filtered (verified via pcaps on both firewall and remote device I was testing). I get it they don't want people running their own services over port 80 then blaming the ISP that their network got hacked. But on the same token i've had google fiber and other providers and never had an issue with opening up webservers for remote access.
Good news, you've got 65534 other ports to pick from
(maybe 65535 if you want to play with port zero)
Port 42 it is then
When I update to Core 2023.4.3 or higher all my historical data is lost (>300MB). I placed back my latest backup with 2023.4.2, but now newer data is not recorded any more. Does any one have an idea on how can keep my data when updating to the newest Core version?
Hello, I think i've lost my mind 2 hours ago... I'm trying to create a HA docker instance for testing. I've created a docker-compose file like this : ```version: "3"
services:
hadev:
container_name: hadev
image: homeassistant/home-assistant:latest
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- /dock_dev/hadev:/config
#devices:
# - "/dev/ttyUSB0:/dev/ttyUSB0"
privileged: true
network_mode: host
ports:
- "8123:8123"
Why are you using latest?
for dev
Also... network_mode and ports can't be mixed
Pick one
Docker likely complained at you about that
I told you i had lost my mind... Thanks to point me to the error 🙂 removed network_mode and now it's fine !
Might be a better idea to keep the host network mode but change the port HA listens on: https://www.home-assistant.io/integrations/http#server_port
Using the "latest" container tag won't help you with development - it just picks the last image that was built, which isn't at all the tip of the repo. For development, you should look into using a devcontainer
I currently have HA OS running on an rpi. I was looking to move it to a more powerful dedicated server. I was planning on using a HA container install, but after reading some info about different versions of HA installs I wasn't as sure. Can anyone explain, or point me to an explanation about, the pros and cons of HA OS on VM, HA container, and HA supervised? Any information that can help be determine which is likely best for me to use. Also please let me know there are any reasons something like HA yellow or a NUC may be a better route than a larger server for whichever install you may recommend.
yellow is same as a pi and has the same hardware limitations
nuc, mini pc, used laptop, etc are good options - one popular choice is lenovo m910q or similar on ebay
haos bare metal or vm, or docker container are the only sane install methods
For hardware I was thinking a rack server of some kind since I was already planning on have a server rack for other networking. Haven't narrowed down what specs I want, but figured a single server could run several co trainers if using docker.
I saw a post that did recommend supervised over a container. Why do you say otherwise, if you don't mind be asking?
that's fine if you need a lot of storage or something
https://www.servethehome.com/introducing-project-tinyminimicro-home-lab-revolution/ people are clustering these with proxmox etc if you want lower power - something to look into
supervised isnt an option basically
supervised is you having to manually manage and keep up to date with prerequisites that 99% of people cant or wont follow correctly
if you want the supervisor with the addon store then you need to run haos whether vm or bare metal
if you want full control / more work, use docker and whatever other containers you need such as mosquitto, zwave-js, etc etc etc
old image showing how it all fits together
So basically rather than use add-ons, I just run the "add ons" as separate containers on the same server or network connected server and I'll have the same functionality, correct?
And for backing up the HA data/config/install, rather than using the backup within HA OS, I just backup the entire container to a separate location and restore if needed, correct?
And from those two items, I have the same functionality as I would have as if I was running HA OS, correct?
almost the same functionality
there's a few things that haos with addons and home assistant can do together with that "trust factor"
Did you mean "can't* do together"?
And is there an example that you would be able to give to help me understand?
i'm not the best person to answer that fully
no, i meant can do
as in haos with certain addons CAN do a few things that docker container separate setup cannot
esphome ingress is one i think
as far as your backup question yeah
basically you just use a sane backup strategy for your docker setup
Ok, just wanted to make sure. And Like the add-ons I'm most concerned about are node-red, mqtt broker, a ntp server, and HACS.
I haven't used esphome, but I'm guessing there's a work around I could do for that if it came up. I get it was just an example, just commenting.
And yeah for backups I figured there be a simple ish way since it's a container, just wanted to verify.
i'm personally a fan of haos and keeping home assistant separate from my server
which is separate from my network, which is separate from my cameras
if i lose one i dont lose the others
You mean like haos running on a nuc and all your other items on a separate server running containers?
i mean anything my smart home needs running inside haos on its own hardware
if i lose server, i dont lose smart home
etc
Yeah I gotcha. So what do you run HA on?
currently a used laptop
i have a m910q i just got that i might move it to
https://www.ebay.com/itm/285185388260 $160 for way more hardware than hass needs
i'm currently playing with proxmox on it- i might virtualize haos on it idk
Oh ok, and do you use add ons in the OS or do you run them, like node red or mqtt broker, on a separate server?
i use addons for home assistant like mqtt
i have all my other containers on my server
like plex, sonarr, radarr, nextcloud, etc
Ok. I've just had some issues with the mqtt and node red with certs and whatnot, I thought maybe having it running as their own container may help me with those issues and allow me to customize them better. Though that may be due to other issues.
idk man shouldnt have any cert issues regardless
And as for hardware, I was kinda looking for a rack since I was planning on having other racks for network items, but I'll look into some of the items you mentioned. I suppose it would be easy enough to just set a a HAOS dedicated machine next to or inside of the server rack.
And yeah idk what the issue was, but I haven't worked on it in a while. I was trying to used a wifi arduino to use a signed cert to talk to mqtt and node red, but I think my self signed cert had issues or got caught somewhere in the network chain.
there's plenty of guides for letsencrypt certbot to get certs from a cert authority
anyways figure that out when you get there it's easy
Yeah I was using an rpi to create the certs using some package that I ran in the rpi cmd, but again I haven't worked with it in a while since it wasn't really all that important.
Anyway, thanks for all the info and help.
Hi I installed home assistant core on docker desktop on windows. I’ve mounted the host file system to /config and can see the files there. However I’m not sure if they’re really the files. For example, I have installed iSpy agent dvr integration. It installed and I’ve got a camera running in the dashboard but now I want to change the config and configuration.yaml is very bare. No sensors or anything. If I log in to the docker terminal and go to /config then I see exactly what I see in the host file system. Where else could I look? Thanks
Things you do in the UI generally don't touch YAML
Also, Docker on Windows isn't supported - many integrations won't work
Where are their configurations stored? I’d like to add an entity
It says that once installed agent_dvr will expose services such as turn_off. I want to find these services and use them.
Open your Home Assistant instance and show your service developer tools
You'll find the services there, not in any file
Open your Home Assistant instance and show your state developer tools
Similarly you'll find all the entities in your system there
It only shows one service. So ordinarily I should expect all available services to show up here right?
Yes
Any idea if the services haven’t shown up?
If you're having problems with your updates to your configuration:
- Check the troubleshooting steps
- Check your log file - remembering you may need to set logger to
infoordebug - Explain what the problem you're having is - sharing configuration, errors, and logs
Check your log file
Ok thanks
Hi any tip for HA yellow the yellow led is off on startup. HA yellow with POE (using power supply ATM) + CM4102016. Flashed the eMMC using rpiboot.
Ok Fixed the problem with the yellow led not lit up. rpiboot -d secure-boot-msd
I getting still the Error Booting 'Slot A (OK=0 TRY=0)'
What does this mean ?
I create a Stick with the HA OS
Hi there, quick question, is there a minimum hardware requirements on installing HA?
Yes
Pi3B or better if you're using a Pi
On x86 you need UEFI support, 64 bit, 2+ cores (CPUmark of at least 900), 2+ GB of RAM, and at least 32 GB of storage
Tldr buy a mini pc fuck pis
I'm looking around for a mini PC or thin clients for HA.
Figured that's better than Pis
M910q on eBay or similar
#hardware-archived has a lot of recommendations in the channel history
If you want cheaper google thin clients instead
Oh right, wrong channel.
Ya that too
Hello, is there an easy way to migrate completely a HAOS instance from a physical computer to a VM ?
That’s what the backup and restore options do magically
I forgive you
Hello, im currently running home assistant on a raspberry pi, but i've gotten a truenas (scale-bluefin) up and running now, and am kinda wanting to move the home assistant over there, doing the whole backup/restore seem super easy on the pi, but on the truenas apps (docker?) image thing, there's no option to either upload the backup, nor to restore from a backup taken, i've been unable to find a guide to help me migrate... any links i've missed or something in regards to how i do this easiest ?
You can only restore if you use HAOS
You really need to run HA in a VM to get that on TrueNAS... assuming it supports VMs
oh okay, yah it does seem to support that, thank :), i'll try that
I just did a fresh install & restored from backup. After 20 minutes, I rebooted the machine, and when it rebooted, it was missing several addons; however, it listed the backup I restored from. If I re-restore to that backup, will I get the missing addons back?
reboot host after a restore dude
then addons magically work as expected
I did reboot, but not all addons appeared
So now, in the new host, I did "restore from backup" and selected the same backup from yesterday
How can I tell whether it's still "working", or when it's safe to reboot?
It'll reboot itself
I managed to get most add-ons back by restoring one at a time. However, now deconz appears to be the last thing that won't start:
Apr 19 16:32:45 debian hassio_supervisor[576]: 23-04-19 16:32:45 ERROR (MainThread) [supervisor.utils.json] Can't write /data/addons/data/core_deconz/options.json: [Errno 2] No such file or directory: '/data/addons/data/core_deconz/tmp7psl9_8x'
Apr 19 16:32:45 debian hassio_supervisor[576]: 23-04-19 16:32:45 ERROR (MainThread) [supervisor.addons.addon] Add-on core_deconz can't write options
Apr 19 16:32:45 debian homeassistant[576]: 2023-04-19 16:32:45.183 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /addons/core_deconz/start - Unknown error, see supervisor
Is there a file or something I should try to create to help it out?
While I appreciate the joke... letsencrypt won't let you run on anything other than 80 for valid cert generation. Ended up just tunneling my HA machine over to some equipment I've got in a colo and running opening the ports there.
Extra hops and latency but locally it works excellently with the public domain name in the dmz setup with some xlates for the ip the domains pointed to.
You don't need to open any ports if you use DNS-01
I have a noob question. Got an odroid n2+ that seems to be preinstalled with Mate, I'm trying to enable mass storage, but when I run ums dev/mmcblk0 it tells me ums does not exist.
When SPI is toggled it doesn't boot to terminal like in this document:
https://www.home-assistant.io/common-tasks/os/#flashing-an-odroid-n2
It boots straight to Mate UI. Can anyone point me in the right direction?
Does anyone know why zigbee is down after the HA update?
#zigbee-archived would - if you tell them if you're using ZHA, Zigbee2MQTT, or deCONZ
is there any way to run HA w/ supervisor in docker or do i have to run it in a VM / bare metal
You can find the official supported methods to get the supervisor here: https://www.home-assistant.io/installation/#compare-installation-methods
Hint, one of those is a trap
I just updated HA and now Zigbee2MQTT cannot start
What's in Z2M's log?
Anyone experience with restoring a backup on a fresh install? I've just selected my full backup, it asked me whether i wanted to restore a full backup. I clicked yes and now the screen just stays the same. Do i just need to be patient or...?
You need to be patient, but depending on how big the backup is it may not successfully upload.
If the backup you are uploading is more than 1GB in size, it can be faster and more efficient to make use of the Samba add-on in order to transfer files to the /backup directory.
https://www.home-assistant.io/common-tasks/supervised/#restoring-a-backup-on-a-new-install
Is there a reason the HAOS 10.0 upgrade can just disappear? I had it for a couple days but it seems to have gone away.
They pulled it from a couple of platforms because it had chance of bricking them
Ah, that'd do it. Thanks!
soo, i had a database error and i ended up restoring from backup, but now im missing about 12 hours of history stats. is it possible for me to combine the old database with the new and update that file or should i just not mess with that
wow thats quite a large number of boot issues
Good Morning, after a electric error, i can't start the docker. Error is journald is not enabled on the host
What can i do?
My System is Debian 11 on a NUC
Please post those errors here. Are you usin a supervised install?
docker start homeassistant
Error response from daemon: failed to initialize logging driver: journald is not enabled on this host
Error: failed to start containers: homeassistant
https://docs.docker.com/config/containers/logging/journald/
Maybe something corrupted
OK, but what can i do?
Check if the config is configured as described in the link. At least I assume that's the issue. I'm not that familiar with the supervised installation
yes, etc/docker/daemon.json is log-driver journald
Can you use the journal at all? Like does journalctl error and journalctl --verify show anything useful?
What does systemctl list-units --failed and systemctl status systemd-journald say?
The error comes from one of docker's dependencies (moby) when /run/systemd/journal/socket (default) cannot be opened if that helps
Does TrueNAS work in tandem with HA?
What do you mean?
You can install HA on TrueNAS
There's apparently a custom integration for TrueNAS too
Ah great, I'm really not so good at this. I had my old computer lying around so I installed Ubuntu on it and try to create a VM but it's not working? Since my initial idea was to create a NAS with this PC, I thought maybe I can use that as a workaround.
Depending on whether you go with Scale or Core you'll have different options, but IMO your best bet is to run HAOS in a VM
What does "not working?" mean? If you want to virtualize I'd recommend installing proxmox
I can't get the vm to work. It would fail for some reason.
Got it. Thank you
Did you check virtualization is turned on in BIOS?
Oh dang. I never thought about that
Well, its bitten me in the ass before.... lol
hi, i recently bought a new zigbee device, as my previous one wasn't properly supported in zigbee2mqtt
I plugged in the new device and changed from ttyACM0:ttyACM0 to ttyUSB0:ttyACM0 in my docker compose for both home assistant and zigbee2mqtt.
home assistant now no longer loads and tells me the following in the logs:
Unable to set up dependencies of cloud. Setup failed for dependencies: http, webhook
Unable to set up dependencies of safe_mode. Setup failed for dependencies: frontend, cloud```
(there is much more but i summarised what seemed important, i can provide full logs)
zigbee2mqtt also doesn't work but it doesn't give me any error logs, it acts like everything is fine
however when i switch back to the old device, zigbee2mqtt comes back online, but home assistant does not
any help is much apreciated :)
definitely seeing all of the logs would help, all that shows is something somewhere errored
well esentially the entire log file is like this, as i am unable to upload a file to this discord server, i uploaded it to my own nextcloud server and created a publicly accessible link (i know it looks sketchy, but idk what else to do)
pastebin or wherever doesn't require a file download
yup, thanks
however, why does it delete the contents of /ssl get deleted every time the container is started?
i added it as an external read only volume
ah wait yeah, docker
i'm not used to using docker yet xD
Try to setup HA on VirtualBox on MacOS. The only thing I get in the window is 'Booting 'Slot A (OK=0 TRY:0)'. Any idea what's wrong?
Used latest version of VirtualBox and HA (haos_ova-10.0.vdi)
Used this video as guidance https://www.youtube.com/watch?v=oYjOYkdyr38
Worked great on Mac Mini but on Macbook Air it won't. Macbook Air doesn't has a fixed Ethernet port, only Wifi. Used USB to Ethernet adapter and so far have internet on the Macbook, while Wifi is disabled, so the adapter works.
In Virtualbox under 'Network' I have: 'Bridged adapter', name: en4: USB 10/100/1000 LAN
Seems 'problem' with VirtualBox. Used same version that works on Mac Mini V6.1 and it now also works on MacBook Air
Hi guys, the last update totally broke my HA (can't even ping) so I'm thinking about a reinstall. I'm using rpi4 with external SSD - is there a way to reinstall base OS and keep all the data intact? I have a linux server with dd and fdisk and all other cli tools at my disposal, so I think this should be possible.
Oh - another reason for a reinstall - my instance is so old, that it's from a time, when 32bit was a recommended/stable version. So I'd like to switch to 64 bit.
Re-installed HA on VirtualBox and used backup file to recover everything. All my zigbee devices are working but when I click 'Zigbee2MQTT', HA gives 'Add-on is not running, please start it first.' When I check my Add-ons all of them have the red indication as they seem not started but when I check the log, they were started normally without errors but when I want to launch from the Main menu, I can't start it...
Afternoon. I am trying to setup a HAOS using the vmdk with esxi 8 and I keep getting invalid disk type 2 for scsi0:1 any ideas what I am doing wrong?
I think you want the OVA for ESXi: https://www.home-assistant.io/installation/alternative
How long does this actually take
Preparing Home Assistant
Think I've been waiting for 30 minutes now
i uhh just looked at my ha client and i saw this error repeted ad infinitum all down the screen crond(59)user root pid [n+1] cmd run parts etc/periodic/15min
i could not find anything about it, whats going on here
damn plugins take for ever to install?
Afternoon everyone. Im very new to Home Assistant and im trying to install the OS for HA onto the boot device. However, im using balenaEtcher and pasting the URL in, but when i click Flash! I white window opens and says Attention Somthing went wrong? Any ideas on how to sort thsi please?
Best bet... download and uncompress the image, then flash it locally
Im trying to find the download for it and i must be thick cause i cant see it anywhere on the HA site
You're trying to install on a PC?
Yep
ah right, thank you must be having a grey moment. Thanks Tinkerer
quick q installing HA on a nuc is there a way to have it installed where i can still use nuc for other things while in testing stages?
If you install virtual machines yeah
Or if you go the Docker container route, you can use the host OS for whatever else you want
Or do both 🙂
any vids on it that are good?
i just use my nuc for some work stuff but wanna start working on HA
Lots of videos but the easiest is probably LearnLinuxTV's proxmox guide as it goes through it step by step. Can't really recommend anything in video form for docker
cheers ill go look it up
https://au.rs-online.com/web/p/rock-sbc-boards/2563914 should have my hands on one of these soon to test
Don't see why not. Don't see why you would either though
hahah the nuc is used for work atm, so i still need to boot to windows to work on some stuff and then when i wanna go back to testing HA ill boot to HA?
In this case I'd recommend installing a hypervisor on windows and running HA in there
hmmm ok
Or type 1 hypervisor native and run vms for each
yer looking at hyperv now seems easy to do
if im reading correctly i can be on the pc doing work shit and then like "rdp" into the virtual machine>
soz for so much quesitons
Yeah, but you almost never need to "log in" to home assistant VM, it's 99% web interface
why arent you talking him into a secondary mini pc for play with proxmox
It looks like an App that is actually a (virtual) machine, with virtual disks and so on, and you can install HAOS (home assistant operating system into).
do you even upsell bro?!
Hehe, I feel like enough of a pimp suggesting thinkcentre/dell/etc for sff boxes 🙂
yep
@warm forge see the hyperv download link at https://www.home-assistant.io/installation/windows/
random thought based on something i saw in here, but i would love the idea of a/b partitions the way pixels phones do. 2 separate os partitions, no need to wait for it to install during reboot. less downtime, but probably not the best use of peoples time lol
my solution: just update overnight
HAOS does that
I know right
I am installing on an odroid n2+ using this odroid guide: https://www.home-assistant.io/installation/odroid/
I appear to be stuck: '23-04-23 13:53:16 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete'. I was stuck on the same message for a few hours this morning, prior to rebooting. Anybody have any clues as to a potential solution, or perhaps guide me the right direction?
Also, hi everyone, I hope y'all are having a lovely day 🙂
just seconds after typing that message it shows me a log on screen, so uhh sorry to have wasted your bandwith.
hey @ all 🙂
I need some help i want to install HA with CLI at a docker Container on a Raspi 4 because i need "HACS" (?) to implement the stream deck .. i found a virtual box image which is running - but recently no docker Image .. Can someone help me ?
Do you have Home Assistant running?
If so, please go to the following link, then
and System Info, in there it tells you your Installation Type
I'm really new to this. I have a Rasp Pi up and running the HA and I created an account on my mac and it saw the devices around our home. So, my dumb question is, I'm looking at this ha> on my R-pi monitor and don't have a clue what to do next. Is this graphical interface that comes up on my mac supposed to be the same on the pi?
There's no local UI
When you "created an account on my mac" you were creating the account in HA, you can use that account on any computer, using a web browser
So, what's the advantage to loading it on the r-pi?
HA keeps running when you turn the Mac off?
I assume you only installed HA on the Pi, and not also in a VM on the Mac?
Correct. I see the "ha >" on the monitor but what do you do from there?
Mostly nothing
You use a web browser
There's no local UI
The only thing you need the console for is for when you've broken things so badly the UI doesn't work
For everything else, you interact with it over the network
Hello!
I am following the instructions on https://developers.home-assistant.io/docs/creating_component_index but when i run the command python3 -m script.scaffold integration i get prompted What is the domain? what domain am i supposed to enter?
#developers can help there
Hello, i am trying to use a reverse proxy with my setup, i have used it before but it no longer works.
You're about to give https://replaced.domain.example/ access to your Home Assistant instance.
Logging in with Home Assistant Local.
Error: Something went wrong
Start over button
```web console:
```yml
- TypeError: p is undefined
- The resource at “https://replaced.domain.example/static/fonts/roboto/Roboto-Medium.woff2” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly.
- Error starting auth flow TypeError: NetworkError when attempting to fetch resource.
- downloadable font: download failed (font-family: "Roboto" style:normal weight:700 stretch:100 src index:2): status=2147500036 source: https://replaced.domain.example/static/fonts/roboto/Roboto-Bold.woff2
```I get that message when i visit my domain
i am using nginx reverse proxy manager as my reverse proxy
Is NPM configured to support websockets?
yup
You've checked HA's log?
was meant to install yesterday but got side tracked lol
2023-04-24 06:01:59.125 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [140408895120256] Disconnected: Did not receive auth message within 10 secondsonly this message i got others are about chromecasts
i mounted a new hyperv and it installed but i can not find it on the network
if i do network info it shows a very weird IP address?
legit has a 172 ip address ?
HAOS uses Docker, that's likely for the Docker internal network
If the console doesn't show a valid local network address then probably you don't have the network connected
100% do i RDP into the nuc LOL
and the VM?
the VM is on the NUC i RDP into
so it 100% has netowrk i think it has somthign to do with the swtich setting in hyperv
And I've been talking about the VM's network
LOL yes and no u r asking about the VM, not asking does the VM see the NUC network LOL
Ok fixed, Needed to create a new switch in the virtual switch manager > internal > select the network connection the (pc(NUC)) is on
Got it all working yay easy peasy
Anyone know about HA deployed on Kubernetes?
People have done it, it's not officially supported though
Do you know any issue with this?
Some stuff won't work, because HA expects to be on the host network
I think this isnt problem if you use egress IP, with CNI over eBPF (clilium for example)
The problem is any integration that relies on receiving (and sending) broadcasts
So, anything using ssdp for example, like cast
What about configuration? On StatefulSets? I dont see other posibility.
Well, you have to ensure you have persistent storage for it
Without that HA isn't going to work
and rolling upgrade isnt easier that HA in normal VM... In K8S deployments HA works in manu replicas, or in one?
I'm not sure what you're asking
ok, I see that HA on K8S has more costs than benefits
If you're a K8s expert already then go for it - there's various guides out there
If you're not however... it's going to involve a lot of learning
I'm admin K8S on-premies clusters - 70 nodes, but I know that k8s is not a recipe for everything
My prod HA is on k8s
Not because it’s a good idea but because that’s what I had spare
Was originally on docker on ESX but that was a shit show for many reasons
If you treat k8s as docker (pinned to a node with local storage, etc) its obviously no better or worse than docker
And for me less hassle than hanging a dedicated node for docker
I don’t use host mode networking, I use Multus and macvlan so it had its own dedicated ip
(No problems with homekit, thread, or some of the other weird multicast broadcast integrations)
@bitter oak ^ sorry didn’t tag you
And no, no great desire to do HA HA with it. For me mentally I just use it as a different dialect of docker-compose that more integrates with other tooling I’m already using.
@frozen plinth I only have two servers at home (xD, only...) and am also thinking of replacing LXC with docker-compose with one k8s.
@warped nimbus you've been warned about crossposting before
serious?
Be patient
it's okay not to write in unsuitable channels anymore
I have a spare laptop which is mostly unused.
Specs- Intel i3, 12 gb ram, 500GB SSD and 2 TB HDD
||I'm sure this is already overkill for HA||
Currently has windows and WSL installed. What's the best way to run HA on this? Dual Boot HAOS? Or VM? Or in docker
@frozen plinth : Did you think about using https://kubevirt.io/ ?
I'd go Debian+Docker personally
no, bare metal StatefulSet pinned to 1 server
kubevirt means more thing to patch - kubevirt and an os
So dual bool Debian and run docker in that?
@versed badge : Why dual boot?
Just install Debian, run Docker, run everything in Docker
run everything in Docker
I cannot run go-carbon/carbon to whipser get data from this same subnet. This is better to install with apt-get 😉
Well i need windows for some stuff
So maybe proxmox on bare metal, and Windows on VM
but you must check if your CPU support virtualization instruction
are you sure that WSL use real virtualization? I'm not
Well I'm not sure, but I did enable that from uefi settings and task manager does show it as enabled
so maybe you have support. Windows works well on Proxmox with KVM, i share Nvidia GPU to it and play Cyberpunk
is there a path where I can see the default config? It seems that I didnt had the history enabledf (I'vew never removed it)
my HA crashed and this is what i see at the end of the logs
Traceback (most recent call last):
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 81, in _worker
work_item = work_queue.get(block=True)
SystemExit```
then its followed by this repeating a bunch until it finally shuts down
self._bootstrap_inner()
File "/usr/local/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 81, in _worker
work_item = work_queue.get(block=True)```
does anyone know whats going on here and how i can stop it from happening, not the first time this has happened
What tolds dmesg and journalctl ?
here's a little more https://dpaste.org/bmfMZ
maybe related to thewyze custom component here? https://dpaste.org/tCx3r
Viva alguem com cloudflared tunnels a bombar?
English please @coarse dust
Me
I have Your computer is not allowd
lets check again tutorial - all works but it is complicated
Im on tutorial for 30 min :p
Im using local tunnel, done the auth and added the configuration
the trusted_proxies: one
lets check all again
I'm running HA as a docker container and I just realized that means I don't get Add-Ons. Is that going to be a problem at some point down the road?
Unlikely
Almost every add-on is based on an existing Docker image, or has an equivalent option (or set of options)
There are a handful that are purely written as add-ons, but they're the exception
dmesg: https://dpaste.org/6N2V8
journalctl works on the host machine but not through ssh apparently so im not sure how to copy those logs
Still no luck :p
this means, when using default_config: I have automatically the history integration?
It means you have everything listed there
[138823.058123] rcu: 1-...0: (7 ticks this GP) idle=9c14/1/0x4000000000000000 softirq=10324698/10324699 fqs=5013
[138823.064475] (detected by 2, t=21028 jiffies, g=25075253, q=425 ncpus=4)
[138823.064503] Sending NMI from CPU 2 to CPUs 1:```
It's just as I thought, you have hardware problems, try BIOS/firmware upgrade
hmm i updated bios just last week, its a "new" machine. it is running through proxmox for whatever difference that makes
This is professional hardware, or home PC hardware?
thinclient, hp t620
bc, when using the recorder: I get the following message: 'Could not setup dependencies: recorder')
and as far as I understood recorder is part of history: which is part of the default_config:
Check the log file
why in laptop with OS hommeAssistant looks like this (supervisor,operating system,fronted) and with tvbox installation looks like this (only Frontend)??????? i cant upload my backup to this....any suggestions?
Sounds like your TVBox install didn't use HAOS
I'm still planning my setup but is there any difference going Ubuntu or proxmox when installing HA?
Not with HA core itself, but if you use Proxmox and install HA OS in a VM, you'll be able to use add-ons whereas w/ Ubuntu, you'd likely do a Docker container install, and you'd be managing all of your containers yourself.
If you want HAOS with add-ons then with either of those you'll be running HA in a VM
If you don't want add-ons then you can just rock Docker
I'm still really new to all this but is proxmox worth the hassle? What can proxmox do that if I install Ubuntu can't?
Proxmox is a hypervisor, ubuntu is a full fledged OS
you can emulate pcs on both equally (however you like), which is what proxmox is made for and on ubuntu you have to install some packages to get there
the rest should be covered by the answers above
From what I understand, proxmox can be installed without any OS?
proxmox is based on the same os (debian) but bare minimum (to run virtual machines) compared to a full linux installation (ubuntu/debian)
I'm leaning towards Proxmox, I was reading that I could also throw in truenas in there as well?
That's ... going to get interesting fast, and not in a good way
Can you kindly explain?
If you want it to be your NAS too then use UnRAID on it directly
Running a NAS inside a VM.... not a great choice
please don't consider installing supervised
Yes, if you asking about basical, installing supervisor isnt for you. UnRaid if good remeber is paid. Truenas is NAS system with VM support, proxmox is hypervisor. You should compare both looking for partitions and filesystem which it using. Proxmox can be installed on ZFS, Truenas if i good remeber on Btrfs. In my optinion, ZFS is better for NAS.
If you're doing anything other than following the Supervised install guide exactly then it's not for you... and you should still reconsider
best for you is creating 2 VM (not containers) on Proxmox or Truenas. One with HAOS and one with Windows.
Alright. Like I said, I still have no idea what I want to do. I figured installing Ubuntu would be a good fun learning experience and then use a docker for HA. But I would still like the flexibility of using a Web remote like in proxmox (unless I could also do that in Ubuntu but clarify me if I am speaking out of my butt here)
So create next vm, install ubuntu 22.04 and on this install for example NextCloud in docker with docker-compose
You can install Debian and then install Proxmox, then you've got the ability to run Docker on the host and VMs for everything else
but then you cannot* use ZFS filesystem
My Debian server with ZFS would disagree
proxmox from ISO is debian with proxmox packages
but you dotn ask about basicals, you know what you doing
I can read and follow the Debian ZFS docs, yes 😛
Wells turns out another plugin was making my life miserable. Thanks for not helping at all 😉
Would it make sense to have my thin client set up for HA and then a different PC for Nas/plex? Or should I forego the thin client and go for the old pc here?
Depends on the spec
It's a T620 HP thin client. 4GB Ram and 16GB Flash ssd
GX-415GA is ok, not awesome but ok, GX-217GA is lower performance than a Pi4
Hey all. I've got a relatively simple question regarding a VMWare installation of HA.
Recently needed to rebuild mine.
How do you set VMWare up so that a specific USB device is automatically attached when the VM is run?
When I reboot my VM, I need to manually select my USB Zigbee controller.
On my previous VM build, this happened automatically and I do not recall how I did it.
VMWare workstation?
Correct.
Comparing my current and previous .vmx file I do see a line that might be relevant.
usb.autoConnect.device0 = "0x10C4:0xEA60"
Simply copying that over unfortunately did not work.
Or rather, once I open VMware Workstation my .vmx file is automatically edited and usb.autoConnect.device0 = "0x10C4:0xEA60" is removed.
I'd check the VMWare docs/knowledge base
im having an issue adding HACS to my HA instance - just get a blank screen with checkboxes. have followed all the steps of removing, rebooting and installing. anyone have ny similar issues?
Try with the default theme
This is the error i get:
Logger: frontend.js.latest.202304111
Source: components/system_log/init.py:257
First occurred: 15:48:49 (7 occurrences)
Last logged: 16:40:45
:0:0 Script error.
https://#####.duckdns.org/frontend_latest/app-BWfprBTJFp0.js:2:215408 Error: Failed to execute 'define' on 'CustomElementRegistry': the name "mushroom-select" has already been used with this registry
https://#####.duckdns.org/hacsfiles/kiosk-mode/kiosk-mode.js?hacstag=497319128173:1:5301 TypeError: null is not an object (evaluating 'i.querySelector')
https://######.duckdns.org/hacsfiles/kiosk-mode/kiosk-mode.js?hacstag=497319128173:1:5206 TypeError: null is not an object (evaluating 'e.shadowRoot.querySelector("hui-root").shadowRoot')
Did you try with the default theme in HA?
I've seen a lot of problems caused by custom themes
Thats the error i receive on logs:
This is the error i get:
Logger: frontend.js.latest.202304111
Source: components/system_log/init.py:257
First occurred: 15:48:49 (7 occurrences)
Last logged: 16:40:45
:0:0 Script error.
https://#####.duckdns.org/frontend_latest/app-BWfprBTJFp0.js:2:215408 Error: Failed to execute 'define' on 'CustomElementRegistry': the name "mushroom-select" has already been used with this registry
https://#####.duckdns.org/hacsfiles/kiosk-mode/kiosk-mode.js?hacstag=497319128173:1:5301 TypeError: null is not an object (evaluating 'i.querySelector')
https://######.duckdns.org/hacsfiles/kiosk-mode/kiosk-mode.js?hacstag=497319128173:1:5206 TypeError: null is not an object (evaluating 'e.shadowRoot.querySelector("hui-root").shadowRoot')
Tried clearing cache, incognito, different browsers, different device
If you don't have HACS installed via the UI, /hacsfiles won't exist
I had to remove hacs due to an issue and now im trying to reinstall and get the above
You should remove the resource(s) that are expecting /hacsfiles to be present.
hi i get
ValueError: dbus_fast._private.marshaller.Marshaller size changed, may indicate binary incompatibility. Expected 48 from C header, got 40 from PyObject in bluetooth and
ValueError: zeroconf._dns.DNSEntry size changed, may indicate binary incompatibility. Expected 64 from C header, got 56 from PyObject in zeroconf
before i reinstall everything, i'd like to make sure that this is caused by python3.11
what else could it be?
Build a fresh venv on 3.10 and see if it happens there too?
it doesnt show any ipv4 addresses when trying to install
its just homeassistant.local: and the port
@humble mirage sorry for pinging u but can you answer
is it a vm installation? make sure your adapter/iface gets detected
Welp, hass is starting in safe mode, even though the supervisor and the console dont pose any issues. And i can't download the logs because r is undefined. I really need help!
Raspi 4 8G 32 or 64GB of sd card
r is undefined?
I ran core check but it has been processing for a few mins now, is that normal?
Yeah, it says that on the website
yes its virtualbox but wdym by iface/adapter, sorry im new
that is not normal
make sure you have the right "network adapter" setup in virtualbox, you want a bridged interface for your vm to access your local network
I hope you have backups
Luckily i do
flash it, restore the backup
yeah i did but still
when i connect my ethernet cable to my laptop it doesnt show
it shows my 5g wireless router i think
@mental mantle you should be able to see logs in safe mode. You can't download them because of what? R?
no reason to disconnect the cable, check if your host has network access
it shows the same with/without my cable
keep it connected
make sure virtualbox sees your ethernet connection
else there's not much we can do
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.
@mental mantle I would check the config yaml for any stray typos
How do i do that?
when i plug in the ethernet cable it doesnt show
do i need to restart
You should also be abl to access the home-assistant.log file directly as it's in the config directory
third time: keep it plugged in
make sure your operating system shows the network interface for your ethernet connection
it does
turn off wifi
and try from this point on
virtualbox must offer you the option to create a bridged network interface with this ethernet connection
it doesnt
It should...
have a look at general virtualbox settings, not the vm settings
How do I access it?
Whatever access you have configured yourself for the config directory
Only the cli is working
Found the error through the cli
Now how do i fix it? Is there vim or nano in the cli?
still doesnt show any ip bruh
i fixed it without the ethernet cable being plugged in thanks for the help @low notch
whats the purpose of installing a ethernet bridge and then remove the medium?
is there a way to retrieve the ipv6 address from hass?
the one in the system settings and the one shown in my router dont seem to work at all
it somehow started working xD
Anyone know what kind of performance improvements we can expect with https://github.com/home-assistant/supervisor/pull/4229 ?
@ashen charm I saw some benchmarks in the linked cpython repo (43s improvement for 1GB), but not sure how this translates to our use case.
did that, still fails, although the packages install fine as python packages pip. can i change the default conf somehow?
YMMV. The larger the file the (ie sqlite database) the more it will make a difference. Lots of small files will see almost no difference
60% of all statistics are made up 
My DB is/was 95%
➜ config (( FRAC = 100 * $(du home-assistant_v2.db | cut -f1) / $(du | tail -1 | cut -f1) ))
➜ config echo $FRAC
95
➜ config ls -lS
total 1290216
-rw-r--r-- 1 root root 1305427968 Feb 11 09:52 home-assistant_v2.db
-rw-r--r-- 1 root root 7802412 Apr 23 13:21 home-assistant.log.1
-rw-r--r-- 1 root root 7637689 Apr 25 10:17 home-assistant.log
-rw-r--r-- 1 root root 217088 Jan 29 10:50 zigbee.db
...
Don't make me think. Use -h. Why is it so fat?
Lots of sensors. Long retention. I switched to Maria db anyway
did that still fails although the
is there a solution to MQTT broker, Unable to create websockets listener on port 1884?
@west pumice Please do not cross post. Read the channel description, post it and wait for folks to respond. Crossposting wastes people's time as they're unaware of the help you're getting elsewhere.
If you don't get any responses after an hour or more, and your message is no longer on screen, it is fine to re-post or post a link to it.
sorry, was not sure in which group to post
You have a problem with an add-on, the channel would be #add-ons-archived
Hey, I was wondering. Is it possible to configure HA to write each sensor reading to the database instead of writing just values that differ from previous ones? I observe this with my Influx and this also applies even with native DB. Is there something I am missing? How can I force it to write all readings to DB?
For the recorder that was changed to reduce the amount of data written
Is there any parameter for enforcing it again?
No
I think this should be possible to enable/disable. Default value is ok. But Not anybody is running HA on small environments
Should we open a Feature request?
Sure, but don't expect it to happen 
Thanks for answer, although that is relatively sad. It is really an overkill to use Telegraf for data acquisition in this case, when we have HA with nice GUI and all of the setup. And Influx does not complain that much about the data amount. Thanks for quick response!
With a Patch included 😅
hi guys, im having a few issues running HA on virtual box. sometimes i have to go into VB windows and press a key for it to respond. any advise?
Hey guys can anyone help me. I just launched a hassio vm on esxi. All is up and running however I would like to run ssl on my internal network, I.e. I started of navigating to
http://homeassistant.local:8123 I would like to use
https://homeassistant.local:8123
I understand I need to implement ssl and with certs and keys how would I do this ?
You'll need to create a CA for .local in your network
Configure all your devices to trust that CA
Then issue a certificate for homeassistant.local
Then configure HA to use it (https://www.home-assistant.io/integrations/http#ssl_certificate) and give up any expectation of working remote access
Thanks. So I understand all of this and have implemented ssl on a number of other servers on my local net but following a similar process for HA hasn’t been working is there a step by step guid for implementing this with HA specifically
Just configure the http integration with ssl_certificate and ssl_key
You'll need to drop the keys somewhere, like /config/ssl/ and use those paths
Then run...
To check your configuration use the command for your install method:
And if it passes, restart HA
Awesome thanks
Wifi question
Currently I'm connected via LAN to my main router, I want to connect my RPI4 which has HA on it to a different wifi router, my question is, will it seamlessly switch to wifi by doing so from the settings, while the LAN cable is still connected to the old router?
*I can't remove the lan cable as I'm away from home.
Thanks
Question for all you who have successfully installed this. I installed HA as a VM on my Mac using virtual box. the install went well, no issues there. I get the banner with the IP address I allocated and everything looks right. I am able to ping that address from my host computer as well as other computers on the network.
I am unable to reach the login web gui. when I try to reach it through the IP address or the HA.local address I get site can not be reached IP refused to connect.
any ideas why I cant reach HA?
Are you trying to connect on port 8123?
yes I am.
also the firewall is disabled on this mac so port 8123 is open
Thank you
The firewall on your mac shouldn‘t come into play here, your vm should have its own dedicated ip adress in your lan subnet
The VM has its own address.
another bit of info, connecting to the home assistant observer comes back connected, supported, and healthy.
Interesting. Can you check the supervisor logs and docker ps?
I rebuilt the core and now its letting me in. I am not sure why it suddenly started working as I tried a complete reinstall earlier.
thank you for all the suggestions and help
im using ubuntu server and i cant get the hass command for homeassistant core installation to work
You need to activate the venv
huh
Does anybody have MyQ garage door integration. I have it and it work ok but I don’t see any entities for binary_sensor_status. I want to create a custom card using the binary_sensor_status entities. I can see cover.garage_door. Binary_sensor_hub_myq_gateway and binary_sensor_hub_2_myq_gateway I want to know what is the binary_sensor for when the door is open and when the door is close
If you have a Core install (pip install) you have to activate the venv to use the hass command
so what command do i run?
You did pip install for HA?
Then along the way you created a venv
ye
We don't know where you created it... only you do
yea
https://www.home-assistant.io/common-tasks/core/ covers the steps you do
ok
If you matched the docs then the commands there will work
sudo -u homeassistant -H -s
source /srv/homeassistant/bin/activate
Docker is calling you 😛
can i not send photos here?
homeassistant is not in the sudoers file. This incident will be reported.
after the first command it says that
Then... you are already homeassistant and don't need to run that
ah
And images of text are horrible, please don't
What are you trying to do?
use the hass command
To do what?
Then... you REALLY don't want to use a Core install
This is just going to be a nightmare for you
Yes
alr
Or HAOS in a VM
https://www.home-assistant.io/installation/linux#docker-compose if you're going down the Docker route
Also... if you don't already have a plan for backups make that plan now
Otherwise you'll have a broken system you want to recover, and no way of doing that
why using core when you can have haos in a very handy installation image?
I just realised, I have the mariaDB add-on but no recorder entry in my configuration.yaml... how could I check whether there is actually an data in my mariaDB or I've been on SQLite all along? 😆
Lmao
I guess when you dont get a recorder error message and you can see the changes in the history tab
Well the good news is you have nothing to revert back to
but to be honest, I am looking also a way to access the values through SQL statements 😄
Since now the devs have optimized SQLite to be more performant than mariadb with hass
@tiny heart You could use the PhpMyAdmin addon or HeidiSQL
I have the phpmyadmin, but with SELECT * FROM states WHERE 1 all entitiy_id are empty
you mean just stop the add-on and see if things still work?
Its not (for me) a performance point of view, but I would like to have all database at one place
I would assume to have the entitiy under the entitiy_id in the table "states"
and the docs are not straight forward. imo
im very close to it working but im getting this error when ii try compose
ERROR: The Compose file './docker-compose.yaml' is invalid because:
'homeassistant' does not match any of the regexes: '^x-'
You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the services key, or omit the version key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
Dude if you never configured the recorder then it was never using maria
Nothing to check lol
well that was an easy fix to "how to revert back to SQLite" 🤣
Thank you so much finally got it working and I got remote access working too through a kemp load balancer
did you followed a guide for an own CA?
Yeah I used OpenSSL to generate them
Do you want a link ?
would be great
How long does a partial restore (config file) usually take? It's been on the swirling-circle for about 20mins.......
Depends. Can you click that circle?
Nothing happens
Ok so I decided to skip virtualisation altogether and to go for a generic x86 instead. I jsut have a question, will the OS see my default webcam (it's a laptop)? or is there no way to kno
Not as such, but you can access it with an #add-ons-archived like MotionEye
thats perfect
Hey all, did HAOS 10.1 ship yet? It was built this morning (8hrs ago). Thanks
https://github.com/home-assistant/operating-system/releases/tag/10.1 looks like it says beta channel at the moment
Oh okay I guess tomorrow beta testers will get two bonuses
Actually, I just enabled beta and downloaded it. Thanks again
I can't see any fixes explicitly tied to the higher-cpu issue...
Have you submitted an issue? Likely a callgrind from the profiler service can shed some light.
I ran an profile on before + after, digging into them now; nothing obvious
Currently going down a bit of a rabbit hole - one of my integrations is showing up a lot of cpu (both before+after), so I'm looking into that
I'm surprised you submitted that to HAOS as it seems like a core issue. I would submit in core and hope that the dev named bdraco sees it. He's really good at hunting things down like this and finding issues with stability and performance with HA.
The increased CPU usage is 100% related to HAOS update. Leaving HA version the same. Reverting to 9.5 is 100% fix
@celest quartz see https://imgur.com/WpcasAC
Ahh he’s in #integrations-archived I think we’ve summoned him
Lol bdraco is the guy you need for this.
profiler / py-spy likely won't help since its not core itself
won't hurt to try though in case its something really off the wall triggering something in core
If you email them over I'll take a look when I land in a few hours nick - at - koston - dot - org
will do
(or if ✈️ wifi decides to work at more than 1 KB/s)
They look a bit swamped by 1-2 of my local-polling integrations (tplink_ess and starlink), but I don't think it demonstrates much.