#installation-archived
1 messages · Page 16 of 1
(Connection also stable, I really don't know why it started working, nothing happened in logs too)
"The only thing I did is restarted docker container and after 5 mins of failure connecting" - it shouldn't have taken 5 minutes, maybe only a minute or two...
Glad I could help! Happy swimming in the deep end!
I mean 5 minutes trying, testing network, finding issues and when I found nothing that I could be aware of (tests were ok) - then went to this great community 🙂
Sometimes patience is a virtue, or should that be persistence???
Maybe I lacked some in that case
Hey folks -> I'm running into something odd. I'm running most of my stuff on different VM/Containers with ProxMox
Zigbee2MQTT + EMQX + Home Assistant.
Anytime I restart (upgrade) HA -> i loose the abiilty to control most of my MQTT devices until I reboot the MQTT server... anybody run into this before?
That sounds like HA isn't connecting to your broker
anyone had an idea about the .storage folder function ?
Yes, it contains a number of important files including anything configured in the UI (with a few exceptions)
Don't mess with the contents
(at least, not without having backups that you've tested restoring from)
Otherwise you'll be like the frowning guy in IKEA manuals next to their broken item
Hi all, can anyone recommend what type of HA should I install on proxmox?
I currently have a NUC with docker, and I run HA as a container. Is it smart to also do it in proxmox? I'll state that I want maximum flexibility, like I have in docker today.
If you want maximum flexibility you want Docker
Running Docker under Proxmox ... not sure I'd waste CPU cycles doing that
And what alternative you might suggest? I am using proxmox because I also want it to function as a NAS
Why not just install Debian, run software in Docker, and Samba for the "NAS"
I didn't know I can run Samba as a NAS, I'll look into it... (I've only considered Proxmox vs TrueNAS SCALE)
@spring blaze I'd strongly suggest using HAOS in a VM. It's just so much easier.
And you can one-line install it https://tteck.github.io/Proxmox/
(plus a bunch of other proxmox things)
but certainly less flexible within HA. But your flexibility is on Proxmox, not in HA.
Anyone tried running HA on a 1TB DS card in RPi? I saw a bunch of vids where SD card is not recommended for long term use.
Just use an external SSD. Any SD card will die far quicker than an SSD and dropping what seems to be over $100 on an SD card doesn't seem like a good idea
A 1TB SSD + powered enclosure is cheaper than that SD card, is far faster, and will have a shot at lasting a long time
thanks! Is migration fairly straightforward?
Are you on an SD card right now?
yes
If you're on a rpi3, you really need the SSD to be externally powered because the power supply on the pi3 isn't enough for some SSDs. The pi4's official power supply is better, but still worth just getting a powered hub or powered enclosure for it
Also make a backup and download it to your computer before you move, because if the transfer gets interrupted you may lose all your data
seems like a weekend project 😅
Hello everyone
New to HA. Ordered my skyconnect stick awaiting in anticipation
First hurdle installation on my 13th gen new build
Do I ask install issues here?
Yep
cool thanks
So downloaded installed Vmware
I follow the guide. Choose “I will install the operating system later”, select “Linux” -> “Other Linux 5.x or later kernel 64-bit”
there is no option to set the “Use Bridged Networking” so I did it after setup finished
You're installing HA in a VM on your workstation?
Then it does not give me any option to use the haos_ova-9.4.vmdk
yes my PC which runs 24/7
Did you unzip the vmdk file you downloaded?
yup
D:\Virtual Machines\Other Linux 5.x kernel 64-bit
thats where I am putting it
you need to select it as harddrive, not as disk drive
its not a iso, its a premade harddrive image
hmm ok let me check the settings of vmware
Ok doing it again. Do I select single file or multiple files?
but I am trying to follow the guide which says
Create a new virtual machine
Select “Custom”, make it compatible with the default of Workstation and ESX
Choose “I will install the operating system later”, select “Linux” -> “Other Linux 5.x or later kernel 64-bit”
Select “Use Bridged Networking”
Select “Use an existing virtual disk” and select the VMDK file above,
after the second step it does not ask for an image
What options does it give?
then just finish the dialogue and add the hard drive (image file) afterwards
virtualbox might have changed something in the process, you are not the first to report confusion with these steps
VM name and location
@low notch cool
when I click after setting lets say my VM name to Home Assistant and location to D:\Virtual Machines\Home Assistant
specify disk capacity which I left at 8GB
and then it asks single file or multiple
btw virtualbox should use the .vdi, not vmdk
you downloaded the wrong image if its a vmdk
oh, I thought you were using virtualbox
yeah 8gb sounds like ram and not disk space
usually hypervisors provision something around 32gb for drives
At least when I used virtualbox back in the day it would pick different disk sizes based on the OS you picked. Ubuntu would be bigger than Generic Linux, etc
Maybe share a screenshot of your configuration
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.
for me new to VM and HA
lol
My PC has NVME as my main drive and have a D and E sata drive. I sync copy stuff from D to E as my backup strategy. Tell me please. Should I be setting up HA on the NVME or use my above strategy and use the D drive for the VM etc
Keeping your backups on the same machine is a recipe for disaster if you don't have copies elsewhere
doesn't matter yet, you can move the drive image wherever you want afterwards
If you're still struggling to get it to start, please share a screenshot of your VMware settings
ok so I finished the setup and now am in edit where I removed the HD
how to paste screenshots?
@craggy oriole 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.
ok so I removed the 8GB HD and then added a SCSI or whatever and then chose the HA image
notice the D:\Virtual Machines\Home Assistant\Home Assistant.vmdk
You have too little ram
how much should I allocate?
At least 2gb, would maybe do 4-8gb if you want to run add ons
Need more context. What's not working, what happens, what errors do you get?
when I run the VM it says operating system not found or something
let me run it again
PXE-M0F: Exiting Intel PXE Rom
Operating system not founf
The last screenshot you pasted said the size of the VMDK file is 1.1MB which might mean the file is messed up, maybe didn't extract or something, or maybe you overwrote it?
I closed VMware and then unzipped the VMDK image again into th directory now which is about 970mb.
I opened VMware and the settings still shows 1.1mb file
I'm not familiar with vmware so I'm not sure what it's using to determine that size
I noticed when I choose the image in VMware it asks if it should keep it in same format or convert to newer format
Assuming the disk is intact, did you set the VM's firmware to UEFI?
It's in the doc after step 5
nope no options provided, maybe not in the wizard in this version
Yup VMware workstation player 17
After creation of VM go to “Settings” and “Options” then “Advanced” and select “Firmware type” to “UEFI”.
If you don't do this, it won't boot
there is no advanced option in Settings > Options
Send another screenshot
If the docs are outdated, which it seems they might be, you'll need to click around and see if you can find Advanced, Firmware, or something similar. Could be somewhere on the Hardware tab, I'm not really sure
ok I just hot convert to my above query and it now shows 926mb file
Ok not working still. Another time guys. Thanks for the assist
You'll want the #automations-archived channel
I think I'm all screwed up. I have a windows 10 machine and I installed Docker to run the container version of HA. But I can't figure out how to actually install it and when I google around, people seem to say that you can't do it. Comments?
I mean, you can, but it's definitely not recommended to use Windows as the host OS
And any integration that relies on network discovery won't work since docker on windows doesn't support host networking
HAOS and Core are the only supported methods to install on Windows and Core isn't recommended in general. Do you have an old computer you can install HA on instead for either HAOS or Container?
Well, in the last 15 minutes, I installed HAOS via Hyper V and I'm going through the onboarding now. Seems to be working so far.
Reason I want to use this computer is because it is my old desktop that I just retired. And I want to keep it as windows since its new jobs will be 1) Zwift computer in the basement and 2) Play with server stuff
Ah okay, you should be good with the VM then
Thanks. I'm aware that nobody likes this method because of the USB pass thru stuff but I don't even have any USB stuff to worry about. I just want to play a little bit and see if it makes sense for me.
Heh, I was just starting to type that you may run into USB issues later
Yeah I've read that...I don't have any zwave or zigbee stuff anyways. All of my stuff is wifi so it shouldn't hurt me right now.
If you decide in the future that you need USB devices, HAOS is easy to migrate
Nothing wrong with that. When I first tried out HA I ran it on the only machine I had at the time which was my laptop. Just kept it on 24/7 naturally before I moved to dedicated hardware
That was back in 2018. Wild
One thing worth keeping in mind is that if it's a machine that draws a lot of power at idle, it may be cheaper in the long run to buy a cheap Dell Optiplex or something for like $100 that uses a fraction of the power rather than powering that machine
I have read a bunch on putting it on its own hardware...probably too much...decided that I needed to stop reading and just install it somewhere and see if it even helps me over the alexa routines I am using right now. Long term (with my current knowledge at least), I would probably go for an HP or Dell thin client.
Well by dedicated hardware I mean a machine acting only as a server. I've got a bunch of other stuff running on it besides HA
I guess we keep having the same thoughts. Weird
But yeah, you've gotta start somewhere
I actually tried out HA briefly a year before I started using it full time. I regretted not starting the first time 😅
Yeah that's what I was thinking. I don't know that I am into solo devices....or unitaskers as some people call them. My computer in the basement is going to turn into a file server. I'm trying to figure out something that can live on windows...leaning openmediavault and that's why I headed down the hyper v path
I do have one install question for you guys. Can I force the system to redetect any devices on the network?
Stuff should pop in automagically if it supports discovery
That page doesn't matter, it's just sorta giving you a heads up that it found stuff
Open your Home Assistant instance and show your integrations
That's where detected stuff shows up
Many devices/integrations don't support discovery though, so you'll want to browse the list of integrations for things you have and are looking to add to HA
Ok, looks like it didn't detect anything which I guess makes sense since they are all wifi (Feit, Wyze, Kasa)
Some wifi stuff can be detected if it has a local control method (e.g. Wemo switches)
Unfortunately it looks like most of my stuff doesn't have an integration. I'll keep playing with it. Seems interesting.
Yep, I got the Kasa plugs input. Although I had to go into my router and find IP addresses and input them individually.
I'll check out the Wyze stuff. Thanks.
and https://community.home-assistant.io/t/feit-smart-bulb/75445
Feit wifi bulbs are built on the Tuya platform, so they can be added to home assistant through the Tuya component
One thing I am stuck on and it might be beyond the scope of this channel. I am using remote desktop into my server. From there, I can use a browser and get access to the HA virtual machine (that resides on the same box). But I can't seem to get access to it from another computer on the network (the computer I'm on right now and am using to remote into my server).
What's your browser URL from the server RDP session?
Ok. Windows?
Yep
And what VM are you using? HyperVisor or what?
Server is Windows 10 Pro, HA is installed in a HyperV VM
what is local LAN subnet? Does the HyperV VM have an IP in your LAN?
We are on the edge of my knowledge (and sleepiness).
So, when I go to ipconfig and look at subnet mask?
for the hyperv, it is 255.255.240.0, that's different than the non hyper v one which is 255.255.255.0
No problem. I have 30+ yrs as Senior Network Engineer for several different MSP's over the years. Have setup lots of VMware systems for companies but only minimal experience with HyperV but it should be virtyally the same.
what is the IPv4 address of the VM?
I don't see that the VM has its own IP address when looking at the Hyper V manager but clearly it must have an ip address because it is talking to stuff outside of the box
ok, I know that one. I can look at the VM screen
172.28.162.183/20
I did try going to that on my current computer. no go
Your LAN subnet is 172.28.162.x or 192.168.x.x?
for your computer / server
255.255.255.0 would be /24 255.255.240.0 is /20
for the server, it is 192.168.50.14 for ethernet adapter....and 172.28.160.1 for the hyper v adapter
that seems like the problem
I feel like this is a hyper v switch issue
but I'm not sure what settings I need
Ok, so 192.168.50.14 can get to 172.28.160.x because it's local but the VM 172.28.160.0/20 is not routed or presented by the server to your LAN.
It would need to route/NAT the VM 172.28.162.183 onto the LAN. Not being very familiar with HyperV, I'm at a loss as to what you need to do...
The VM is getting outside somehow. I'll have to stare at it more tomorrow when I'm rested.
But, it is do-able as companies run HyperV servers in their network all the time.
Now I will say that when I go into HA settings, there is a Network setting. And it says External Access disabled. When I click on that, I can't figure out a way to make it work. I don't know if this is the problem or not.
The HyperV VM would/should have a 192.168.50.x address...
What about IPv4 address in HA? what does it say?
What OS is hosting HA?
Is there a command I can run inside the VM? When I run "network info", I get a bunch of addresses
Windows 10 host
I was referring to HA itself...Settings > System > Network > Network Interfaces > IPv4 settings
Oh using the GUI? Let me see
It just says DHCP, no address
Oh , but if I click on the 3 dots, I get the IP information
That shows the same IP address from before: 172.28.162.183/20
Gateway 172.28.160.1
Okay, looks like a HyperV network config issue...
That's what I think. Needs some virtual switch setup. I did add an external virtual switch but no change
Is the server running Windows Server?
no, windows 10 pro
Okay, that might be a problem. Companies that use HyperV do so on Windows Server and the HyperV for desktop could be restricted from sharing VM's to the LAN for $$$ reasonos but I don't know for sure...
At this point I'm going to bow out as I don't have specific experience with such a setup...
onboarding went ok. Do I also need to Install Home Assistant Core?
If you did not install HA Core, what HA did you install?
Ihttps://github.com/home-assistant/operating-system/releases/download/9.4/haos_ova-9.4.vdi.zip
The instructions on above page
No problem. I solved it. I was right that I needed to create a new virtual switch with external access. What I had messed up on was not tying the VM to that new virtual switch after I made it and rebooting the instance. I have access now in all locations. Thanks for helping me think it through.
Glad I could help you get through it!
Ok, that's a Supervised HA installation. You should be able to go to step 3....
Once completed you will be able to reach Home Assistant on homeassistant.local:8123. If you are running an older Windows version or have a stricter network configuration, you might need to access Home Assistant at homeassistant:8123 or http://X.X.X.X:8123 (replace X.X.X.X with your ’s IP address).
Running on Win 11. Able to access it on 192.168.0.100:8123 all good
The instruction on https://www.home-assistant.io/installation/windows#hypervisor-specific-configuration moves down to ""Install Home Assistant Core"
Not sure why that is
I found my tv and solar feed etc all good, guess I wait for my skyconnect usb stick to come in the mail
Ah, I see what you mean. It is a little misleading IMO. The "Install Home Assistant Core" is for when you are installing it directtly under Windows, not in a VM with HA Supervised where HAOS is the operating system running in the VM with HA Core inside it.
Possible but not supported...
INSTALL WSL
To install Home Assistant Core on Windows, you will need to use the Windows Subsystem for Linux (WSL). Follow the WSL installation instructions and install Ubuntu from the Windows Store.
As an alternative, Home Assistant OS can be installed in a Linux guest VM. Running Home Assistant Core directly on Windows is not supported.
A Supervised HA (with HAOS as the operating system) is by far the best option
ok so stick with the virtualbox install.....got it
You can also install it as Supervised on Linux, which is how I did mine first, but not officially supported/recommended, although countless have done it that way.
Mine started on a little Debian Linux box using Docker but it's now on an ODROID N2+ with HAOS in charge of things.
If the virtualbox method is more manageable will stick with it I guess
virtualbox is quite common I think but Windows overhead could become a hindrance at some point in the future IMO, depending on how your HA grows, and also the horsepower of the hardware running Windows.... just my 2 cents
I first fired up HA April 2021...
Juts built my 13th Gen PC and using it since its always on
Came from HomeSeer running on my Windows PC
I think should be good. Didnt want to many devices
Everytime I had to reboot Windows, home automation was out of commision until it came back up
Just be careful, Supervised is the name of an install method too, and one that shouldn't be recommended
yeah I guess thats a drawback
Thanks Tinkerer. I guess I still don't have that straight!
ok no idea what you guys mean?
That might the method I started with on Debian Linux...
There's a total of four install methods:
- HAOS - the all in one OS and package manager
- Container - HA running in Docker on Linux
- Core - HA running with
pip installon Linux - Supervised - like HAOS, only you bring the OS and manage it very carefully
Only options (1) and (2) are recommended, though (3) is fine if you know what you're doing
(4) .... on a good day is a ticking time bomb
so which one is the virtualbox method?
(1)
cool
huge learning curve
one question a bit confused about getting virtualbox to manage size. It mentions: By default VirtualBox does not free up unused disk space. To automatically shrink the vdi disk image the discard option must be enabled:
VBoxManage storageattach <VM name> --storagectl "SATA" --port 0 --device 0 --nonrotational on --discard on
where am I adding this?
So Supervised HA is NOT to be confused with the HA Supervisor running under HAOS?
Correct, Supervised is an install method that's not HAOS
....s o r r y ! ! !
The Supervisor is the Docker (and host) manager that people "want"
Sure would be nice if you could change it the ping default to off...
Yup
sorry not sure you read my query. Any thoughts?
I know nothing about VBox I'm afraid
I'd assume that command is run at a Windows command prompt, simply because it's a command line, but ... 
lol yeah thought it was meant to be on the virtualbox window somewhere
Does this PC have a GPU as well?
What happened to the dev label for hass on the ghcr registry? Was it removed?
Are you trying to pull a dev build?
Hello,
next try hopefully now in the right channel:
my homeassistant instance (supervised) stucks in status CoreState.STARTUP.
How can I check which jobs are running in background or which ones are blocking the state?
Supervised install? 😬 Have you been keeping up with the requirements?
mostly 😅
there is an unifi controller on the same system
Running any other software on a Supervised install isn't supported
Why would you do supervised install if it's only for unifi
Especially since there's a unifi add on
Is there a way to view the current jobs from the supervisor?
it is not only for unify. I have a couple of ESP, Sonos, Homekit and IKEA thing in Home-Assistant.
So, why not HAOS or container?
^^
Your only thing you said that isn't built into HA core is unifi controller, which is an add on or a docker container
In general, when a page has a warning box that says "don't do this!" and then links you a github repo that says "you must be an expert at all of these things" you really don't do it even if you are an expert
I've been using Linux for 15+ years, my day job is administrating Linux systems, and even I didn't bother with Supervised after reading all the warnings of "don't do this!"
Hello,
strange things happens.
i have problem with two installations (of 6 in my house) - they run well 1-2+ years without problems
- OVA image in proxmox
- barebone HaOS image on Brix (NUC)
after update there are this problems:
Unsupported system - Systemd issues
Unsupported system - Operating System
Unsupported system - Systemd-Resolved issues
Unsupported system - CGroup version
(another OVA or barebone installations are ok)
how can it be unsupported system when it have updated OS,Supervisor,Core and I use official HaOS images
Are you sure you're on HAOS? And also haven't tried to modify the OS at all? I see 2 similar Github issues and both were from people on Supervised
Yes yes, they are pure vanilla HaOS (on BRIX just flashed to SSD and runned for 2years), and OVA is in proxmox for 1year (started from 7.5 now on 9.3)
i have 4 more installation (2x proxmox + OVA and 2x barebone) and they are absolutly OK
i do not understand 😄
The latest HAOS is 9.4 which came out last month, so you're a version behind there
i tried login to console in proxmox
board: null
boot: A
data_disk /dev/sda8
update_available : false
verison: null
version_latest: "9.4"
after os info command
version: null isn't promising
Yeah that seems bad
yes, but it is what it is .... i do nothing to it
2023.1.2 core and unsupported system 😄
it run on backuped proxmox cluster and another VM are OK
even HA is working, but with this messages
i tried reboot that barebone HaOS (on remote site on cottage)
but it looks like it didn't start again
ok i try restart OVA
and black screen 😄 try to reboot container
i must stop VM
after start again, Boot slot A have try=1
but now booted
You can try ha os update and see what errors it gives. Like NSX said, the version being null is a bad sign
after reboot is 9.4 again
in version
hmmm
board: ova
boot: A
data_disk /dev/sda8
update_available : false
verison: "9.4"
version_latest: "9.4"
Still seeing unsupported errors?
nope
yep but problem is. When i OVA rebooted via "reboot host", it was stucked and i need to STOP and START VM from proxmox
i do it on barebone and it is stuck too, it dont start 😦
Hello, I just bought an Dig-Octa, what Wled file to I flash it with? I am newer and I can't find the answer.
Well... if there's something borked with the OS, it's not terribly surprising that the HA GUI can't actually signal to reboot the host itself
You probably want the folks in #diy-archived - or to as on DrZzs server
Okay, thank you
i see on console that something happens, but ... you know 😄 who know what happens
sad is that i cannot help with creating issue or what
because, it was broken, but now is not 😄
Yeah, that's difficult without being able to recreate it. Good news is that particular issue is rare
Now's a good time to make sure you're creating and safely storing backups on another system
As in, the one that was fine by the original reboot?
yes, in that previously unsupported OVA
but ... all working now, all is gut ... but reboot
i try create new VM, restore full backup and try reboot
Hi I got a question to access a newly installed Home Assistant OS in a raspberry pi 3, is it possible to access directly via ssh or it is necessary to use a screen? if it is not possible what solution could i use to conenct without screen? thanks
You can use SSH, there are #add-ons-archived to allow that
Samba and FTP are options as well for remote file access
but how do I install addons without screen? im new to this
Open your Home Assistant instance and show the Supervisor add-on store
From the web UI
to access the web ui can I just connect it via ethernet?
Yes, your HA instance needs a network connection
but I mean, without configuring anything only by connecting it to power and ethernet for the first time I can access the web ui?
And if it doesn't have one it won't even finish the boot and insttall
Yes, to configure it...
You may have missed https://www.home-assistant.io/getting-started/
new VM instance reboot normally
so it is problem after upgrading OSes
i try it at home, on another VM
I had ghcr.io/home-assistant/home-assistant:dev as the image used for home-assistant in my docker build. I'v switched it to beta for now. I was just wondering what happened to the dev label since it's not available on the github container registry anymore?
So... the answer was yes?
yes
A quick eyeball shows :dev
yes, but the latest beta image is newer then the latest image with the dev tag
Sure, but that's the case on Docker hub too
(also, if you look, the latest beta is actually stable)
Yes I'm aware, but I was under the assumption that an image was pushed to the dev tag after every commit?
#developers can probably answer that
You can also check https://github.com/home-assistant/core/actions/workflows/builder.yml
Now I'm confused who/what was pushing to the dev tag..
I'll guess I'll just switch to the beta tag.
Thanks for the assistance 🙂
Dev is just broken atm I think. It broke after the beta was branched, which is why there are newer betas.
Ah, So first beta was broken, and dev worked, and now beta is working again and dev is broken? 😂
Beta is a different branch from a week before release. Only bug fixes get cherry picked from dev into beta. So dev broke after beta had started, and the breakage didn’t get cherry picked into beta. There won’t but updates to either till it’s fixed because the next beta won’t be till the last Wednesday of the month and will have all the changes from dev.
ah ok. That makes sense.
Hi, I try to install HAOS on a Fujitsu S920. I have written the image on a msata. If I put it on a usb port with an adapter everything works fine, but if i put it directly on the mainboard there will be no bootable media found. I created the entry in the efibootmgr as suggested, but it doesn't work.
Is the msata port enabled as a boot option?
Hi, while installing HA it cannot finish because: 23-01-10 20:33:26 ERROR (SyncWorker_0) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/qemux86-64-homeassistant:2023.1.2: **404 Client Error for http+docker://localhost/v1.41/images/ghcr.io/home-assistant/qemux86-64-homeassistant:2023.1.2/json: Not Found ("no such image: ghcr.io/home-assistant/qemux86-64-homeassistant:2023.1.2**: No such image: ghcr.io/home-assistant/qemux86-64-homeassistant:2023.1.2")
Is somehow latest version really not accessible or I have something messed up with the network config? If you suggest to change something like version or url then please not that the only think I'm doing is starting linux and the containers takes it from there 🙂
yes, in the UEFI i can see the ssd and is the first boot option
Is Secure Boot enabled? Often times USB drive are allowed to bypass secure boot, which could explain why it works in USB and not on the motherboard
Regarding my installation problem I may add that until it reaches this thing to be installed - it works ok, my logs are green until it hits quemux
What install method did you use?
Dell Wyse // Debian 11 // HA Supervised with installer from github
My only fetish I set up on host is static IPv4 so I could easily find it 🙄 But it installs other stuff!
but it uses docker as well, not "the container"?
Did you read all the requirements of Supervised? Including the part that basically says "don't install this"?
Secure Boot is disabled
But I reached that far and pushing forward even if it's boring debian 11 😄
I need Add-ons and they're not supported on Container
Add-ons are just Docker containers. HAOS has add-ons, or you install with Container and put whatever Docker containers you want on the machine
Any ideas why can't install this qemux86-64-homeassistant:2023.1.2? Why 404?
The most common reason for Supervised not working is not following the requirements
Hope to get second opinion 🙂
The second opinion you're going to get is not to install Supervised
So is there a good guide to follow to try with the Container: to have stuff like MQTT-broker, zigbee2mqtt and other useful stuff?
as I already have host set up
Well, installing Supervised is only for experts, so hopefully being an expert you can resolve the problem 😉
You can install mosquitto directly as a docker
Use integration MQTT to make your HA connected to it
Very easy
Most of those things have their own docs covering how to install them
Z2M certainly does, Mosquitto does, etc
any reason your cant install homeassistant os? does this thinclient not support uefi?
You should also look at docker-compose to make your life easier to maintain the containers
Docker compose is great.
I like access host pc
I check my compose files into git for full nerdery
Then container is the answer
Because accessing the host machine means breaking the rules of supervised in nearly all cases
Definitely read the official docs but here's a general starting document covering some bases https://www.educative.io/blog/docker-compose-tutorial
Yes, please share your docker files 🙂
Plenty of people have a github link in their profiles
My repo for compose files is private, but things like Mosquitto and Zigbee2MQTT tend to have examples in their docs
googling docker compose home-assistant or any other name will certainly show some options for each but again best information comes from each application's own page
on the home assistant website there is a guide to install using docker compose
Google mosquitto and they also offer a docker compose guide
HA official guide https://www.home-assistant.io/installation/linux#docker-compose
Dang it, watching TV and discording slowed me down 😛
Too slow @brazen herald 😛
I learned later on that « add-ons » that are shown as unsupported in the doc can actually be installed manually as a separate container, very simple
Fine, you get the points on this one 😉
Which are basically my tweaked versions of what those provide in their own official docs
Mosquitto's was built from https://hub.docker.com/_/eclipse-mosquitto and https://www.composerize.com/
Tbh looking at mosquitto’s official website and looking for the guide is easier than trying to reverse engineer another person’s compose file
You gotta understand why the -v , why the ports forwarding etc
Yup, once you grok what the various things do it's easy to build compose file entries, drop stuff in environment files, handle secrets, etc
Before I start with Compose: is it recommended to do everything as root or normal user + sudo shall do it?
I'm running the HA virtual machine and have run out of storage. I ran recorder:purge for the developer options page last night with the repack option enabled but my storage is still at 0%. Should recorder:purge have given me storage back and if not, what should I try next?
Add your user to the docker group and you don't need sudo
You need to use the repack option to shrink it, and if you're out of space you can't repack it
You probably don't want to be using the same install that you put Supervised on because it changes a bunch of system level things
Just finished cutting them off 😄
I did use repack, and it did not give me back any space, likely because I have no left as you pointed out. What should I try next?
Next ... find out where the disk space went
I'd start by doing a du -csm * | sort -n in the config folder, over SSH
I'll try that
So you have your Containers on hosts other than Debian11? Sounds tempting 😄
I have Docker on Debian, and Raspbian at home, and at work more different OSs than I care to consider
Technically I have it on Windows too at home, but ... I don't use it because that just feels dirty
why
I should try hasswp in a windows container sometime 💀
Don't use HassWP, it's unsupported and unsupportable. It runs Home Assistnat directly in Windows, which means many things won't work, and relies on the developer to keep it updated (which often isn't the case).
Just use a supported installation approach and you'll have less pain.
Some ideas?
hello, i have a problem with the installation of home assistant operative sytem on my rapsberry pi 4 (2gb ram)
home assistant won't boot on my raspberry pi 4
do someone have the same problem?
Did you use the Pi4 image?
yes i think
i flash my sd card with the url on home assistant guide
i use the rsp 4 64 bit version and also tried the 32 one
"won't boot" can mean a lot of things. What do you see on the screen?
for about 6 or 7 a bit of writing
That... doesn't help at all
can i send you a video
no, please don't send me friend requests
You can upload an image here by uploading it to Imgur then pasting the link
Or type out the errors
So after it runs through those lines what happens
are you sure it's not booting? and hasn't just busted the screen output?
or it's changing into a video mode your monitor doesn't support. can you check your router, see if it got a dhcp lease? then ping it?
With such little useful info, it's entirely a guessing game
Yeah, people doing seagull support requests.
'cause windows often confuses programs? or sends them round and round in circles...
anyone able to use Samsung 870 EVO 2.5 SSD? I am using the USB bootloader on an SD card and USB 3.o port with a sabrent adapter https://www.samsung.com/us/computing/memory-storage/solid-state-drives/870-evo-sata-2-5-ssd-1tb-mz-77e1t0b-am/
Rather than try to install to the SSD and boot from it, install to the SD card and then use this to move your data to the SSD. The SD card will be mostly read-only except for updates to the OS, and all the rest of the data will be written directly to the SSD
https://www.home-assistant.io/common-tasks/os#using-external-data-disk
that's interesting. Didn't come across something like this on the YT search results
This page gives some more explanation as to why it's recommended to not use USB boot
https://www.home-assistant.io/faq/usb_boot/
i bet your issue is the sabrent adapter 🙂
only certain usb to sata/nvme work with pi
i used the startech usb 3.0 adapter for like $11 on amazon
I've ordered the StarTech adapter
Hey. This paste disappeared. Was wondering if you can send me the let's encrypt renewal automation again
Hello. Have turned on Odroid Home Assistant limited edition. It started with Home Assistant Operating System version 5.13 - now it wants to update to 9.4 but without success - there is an error service update/install can´t be called
when I try to go to setting>update and choose to show also skipped updated it shows error: homeassistant/update_entity
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 381, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 556, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 599, in _async_write_ha_state
attr.update(self.state_attributes or {})
File "/usr/src/homeassistant/homeassistant/components/update/init.py", line 389, in state_attributes
ATTR_AUTO_UPDATE: self.auto_update,
File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 238, in auto_update
return self.coordinator.data[DATA_KEY_SUPERVISOR][ATTR_AUTO_UPDATE]
KeyError: 'auto_update'
2023-01-11 08:35:50.144 ERROR (MainThread) [homeassistant.components.hassio.handler] /backups return code 404
2023-01-11 08:35:50.146 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /backups -
hele is whole log: https://paste.debian.net/1266844/
Please any idea where to start? Seems like it is unable to update from such old version?
You may be better off downloading a backup and then doing a fresh install
Is it possible to do reinstall without direct access to the hardware?
not sure about odroid but I flashed my pi once remotely
pretty sure its no different on a odroid but nonetheless scary
Talk about playing with fire 😂
Can I ask for docker compose that run Homeassistant for windows without VM
Well, Docker on Windows isn't supported
https://www.home-assistant.io/installation/linux#docker-compose, using ports instead, and keeping in mind that any integration that does discovery (mDNS/UPnP/etc) won't work
:| Why docker can run on windows but not suppor?T
@brazen herald So which is best if we want to development on windows ?
Do a VM linux ?
Hey, I've HA instance running in docker container. Is it possible to allow communication via http and https(simultaneously).
current configuration.yaml http section:
ssl_certificate: /etc/letsencrypt/live/hass.hq.eu/fullchain.pem
ssl_key: /etc/letsencrypt/live/hass.hq.eu/privkey.pem
server_port: 443```
ha cannot serve https and http at the same time, when you configure ssl certis in your config it will always do https only
use your certificates with stunnel and run ha in http
thanks, so reverse proxy it is. I thought that underneath is Nginx so this sould be somehow possible.
I believe its aiohttp
Because @fossil plover Docker on Windows is (like Docker on Mac) not complete and if you want to develop you should read the dev docs
OK let me try to finish setup first
Hello , sorry to bother, I've been trying to install hacs on my Home assistant server , its the home assistant OS on a raspberry pi 4 i keep getting one of two issues 1 - cant connect to remote host or 2- bad address (the first issue i use wget -O - https://raw.githubusercontent.com/hacs/get/main/get | bash - command) and the second issue i use the (wget -O - https://get.hacs.xyz/ | bash -) command , sorry if this isnt the right place for this question but any help would be appreciated
Hey there, not sure if it's the right place;
I have installed to my mini pc an external HDD with existing data on it (for Plex mainly), I did successfully mounted the HDD by the Proxmox shell but it is saying that the NTFS drive is read only, I found out that the message coming up from $recycle.bin folder but It won't let me delete this folder.
Need some help because I have watched so many guides and videos on how to fix that but nothing works for me.
If it's NTFS then that's your problem. Linux doesn't play nicely with NTFS by default. There's something you need to install first
i did Installed that thing it is called 'ntfs -3g'
Wait are you running HAOS?
So you saying I better plug back the HDD to my personal PC and move the files back to the PC, format it to NOT nfts (fat32 i assume) and then move back the files?
No, I'm on Ubuntu Proxmox got 2 VM's
1 is for HA 1 for Plex - the Plex one is the one with the HDD
So what os is the Plex VM running
As the drive will have to be mounted there
After being passed through by proxmox entirely
Ubuntu 22.04
So if Ubuntu is seeing the drive. Then just set a permanent mount in fstab using NTFS. For longer term recommend it being ext4. Fat32 has problems with fikes over 4gb
I have watched this guide
https://www.youtube.com/watch?v=eS4SNodCTcI&t=619s&ab_channel=ElectronicsWizardry
9:21 is where he talks about adding hdd with data already in it.
but I can't do the part where he did 'ntfs-3g /dev/sdb2 /mnt/ntfs'
exfat is also an option for larger files and Windows compatibility
Yeah I would ditch the ntfs
I am getting the error that 'Read-only file system'
Is there a way to save my data within the drive before doing that? can exfat store movies and tv shows files?
Is it a huge library to move off?
300GB
I mean worse case is to format the whole 4TB drive and start from the bottom and re-download like 200 movies but it's a pain in the ass..
bro
*linux iso's
transferring them off and back on with a different format is faster
how do I do that?
you take the files off the drive, save them somewhere (maybe your desktop?), format the drive to exfat or ext4 and put them back
and right after i put it back the ubuntu should recognize it or i will have only to mount the drive?
If the desktop is windows, then writing back to ext4 won't work
should I format it via the Ubuntu or from my desktop is fine?
my desktop is windows, the HDD currently on a mini pc that running Ubuntu 22.04
format it from ubuntu in ext4 if you want to use it in linux
then use some ubuntu live cd to transfer them back from the desktop to your drive
ok but when I plug it back to my desktop to transfer back the files it will give me an error and that I have to format the drive, no?
(apparently read only does work you said?)
If you need to plug it into Windows then use exfat and both OSes will have no problem recognizing it
he gave a command to fix that in his video (the one i just sent) but there is a file that prevents me from do that which I suppose is the folder $RECYCLE.BIN
ok cool, sounds better than fighting with this recycle bin folder
So basically
Copy to backup somewhere
Format as ext4 (Linux only) or exfat (windows and Linux)
Then copy media back onto it
Yeah
Wait is it possible to connect the external HDD to my windows?
It will save tons of time opening the whole case
If it's not ext4, yes
Perfect, thanks!
Well if it has a USB plug then yes
Will update as soon as it finish
For auto mounting on Linux you will need to add a line in fstab as well
What does auto mounting means?
btw already transferred 20% of the drive to the backup folder.
Automatically mounting the drive so you can access the files when the machine boots up
Without needing to run mount commands manually
Mounting Is where you can see the contents of the drive
What's the command I should do to apply that?
Windows does it automatically
The drive will be 'exfat'
You'll need to add an entry to /etc/fstab similar to this
UUID=f05739fc-f244-4455-b9b8-d09e7c9990ec /path/to/mount exfat rw,relatime 0 2
do I need to change the UUID or it should remains like that?
You'll have to get the UUID from blkid
the uuid for fat and exfat are usually a bit shorter
ok almost done with the backup, soon I will be formatting it via the Windows and then plug it back to the Mini PC that runs Ubuntu to mount and add the auto mount command
My HA installation has suddenly started failing this morning and I could use some help troubleshooting. It is a full HAOS installation on VMware, and has been working for years. The symptoms are that the web interface just hangs, automations etc. aren't working, but the machine is running and I can interact with the supervisor console fine. The supervisor logs end with a bunch of "Error on call http://172.30.32.1:8123/api/config:". If I reboot the VM, it comes back up but then hangs again after a minute. It's on 2022.12.8, and I haven't touched anything in a few days, so not sure what is going on here.
Are you running out of memory or storage space?
Does not appear to be the case. 5.8G free memory (out of 8), and the filesystem is on a NAS with >200G available.
Are there any add-ons that are running? It would be worth checking those logs too.
And the core logs as well.
There are, but I'm not sure how to get to them.
I have ssh enabled, so I can look at home-assistant.log. It contains a lot of different timeout, "failed to communicate with", aio errors, etc., for many different integrations. It's not obvious that there's a culprit in there.
Is it possible to disable add-ons or access their logs from the command line?
Hmm. I renamed my custom_components directory and rebooted, on the off chance one of them could be to blame. And it seems to be working now, but it's only been a couple of minutes so far. There's not anything extremely unusual in there: hacs, cupertino, oncue, openhasp, pixelblaze, spotcast, and tesla_custom. If I put them back and it dies again, I should be able to figure out which one it is pretty easily.
Those would be integrations not addons
I'm aware of that, but I don't know how to manipulate addons from the command line (I can't access the web UI) so I wanted to try something.
I must have looked at that help a dozen times and didn't notice the addons command. In any case, I think I might have stumbled onto correctly blaming a custom component. I put them back and it's stuck again. So I will now do the binary search.
And the trigger seems to be... https://github.com/vutang50/homeassistant-pixelblaze. Huh. I added that last month to control my holiday lights. Why it started breaking HA today is a mystery.
anyone know the reason for wget being an unknown command
That's a vague question.... the package isn't installed would be why, not every OS will have it without adding a package.
so i tried installing hacs on the ssh terminal but keep getting a bad address response and now i tried running the command in the OS itself but wget is an unknown command , just trying to explore different ways to get this hacs installation to work , im using the home assistant OS on a raspberry pi
HAOS has wget. Are you sure you're on HAOS?
Does the base HAOS though, or is it just in the add-ons?
If you're doing it over 22222, wget isn't there, but that's also the wrong thing to be chasing most likely
What's the full output from wget in the container?

Pretty likely
oh I just reread it and I guess they are trying to do it on the host, rather than in the container, which yeah will not work
@meager ermine go back to the ssh add-on terminal and confirm what you are entering here
on the ssh terminal the wget command is there but doesnt seem to be working correctly if i type wget -O- https://get.hacs.xyz | bash it says connecting the out puts (wget: bad address 'raw.githubusercontent.com' with the alternate url of https://raw.githubusercontent.com/hacs/get/main/get it outputs wget : cant connect to remote host : address not available , and if writing in the OS itself straight onto the rasberyy pi the output is wget is an unknown command
is there DNS resolution info as there usually is w/ wget?
thanks , it was the dns. Was a mission to change though
Seems to be quite a number of Pi's w/ DNS issues overall.... glad you got it sorted
hey guys, about formatting the HDD to exFAT, when I am on the format menu I see the HDD capacity 3.63TB but the actual HDD capacity is 4TB, how can I fix that? also I understand some files are corrupted in my HDD I did format it via cmd but it stucks on 0% (format fs=exfat command)
all the online solutions i found were use diskpart in cmd, but that's where I am stuck at 0%
4 TB is 3.63 TiB
OK, but something is corrupted in the HDD, we had a power outage while I was transferring the backup files back to the HDD (now as exFAT) and since then I can't add new files to the HDD even if I do another format.
Any solution?
Depends on what the problem is
When I transfer files now to the HDD the Windows Explorer gets stuck
I'd try a full format, not a quick format, and TBH I'd use a Linux box to investigate it
What would be the diff?
With which of those?
Linux shell
Well, you get more information
You can hit the disk with a dd to read or write the whole thing and see what's going on
At least you can if you know how to use dd ||or Google||
Everything seems to be perfectly stable now that I've removed the pixelblaze integration. And now that I think about it, that might also explain why HA seemed a bit laggy and glitchy lately. Maybe a weekend project to figure out what's wrong with it.
Hi, I just installed HA on the ubuntu server host by the Container way and it has been loaded properly 🆗 Now I'd like to add mosquitto broker (I know plugins are not available here). I guess I must extend my compose.yml that I started. Can I just copy-paste some description from the internet or what?
Pretty much, yes
I'm just checking out your config 🙂
https://gist.github.com/DubhAd/883f3da644ecad6f123d394a1cdd2872 is mine, which you can use as a template along with the official Mosquitto docs
Ok so noob docker question here: these lines I must add under services so like homeassistant?
Yes
And how to reload everything after this and not loose my basic stuff like user names I just created?
docker compose up -d
It will add just the difference, right?
You'll want to read up on how to use Docker
I did long time ago 😉 I hoped that the config will be under the volumes I added but it's not :/
"the config"?
like user names and passwords created in HA
That's all in your config folder, in a hidden folder
If you just used cp * to back it up, you missed a lot
but where is it and under what name?
Look in .storage/
no such dir, are you talking about the host machine?
In the HA config folder, where you find configuration.yaml
I don't have it on the host, is it inside the container?
You did map a volume/bind for /config?
Or ... did you miss that rather important part of the docs?
volumes:
- /usr/ha:/config
- /etc/localtime:/etc/localtime:ro
on my host I have it under /usr/ha but there's nothing there
there's no good location for "applications" under linux like Program Files 😄
nothing there
Most folks don't slap stuff under /usr
Then either you never started HA, or it couldn't write there
yep, I bet /tmp is better
Fun fact is when I run backup via webpage I have unknown error so maybe writing access
Also, are you running the official Docker image, or the lsio image?
The one installed with the ubuntu server
There's no HA Docker image installed with Ubuntu
docker version 20.10.x
ah, docker image not application 😄
image: "ghcr.io/home-assistant/home-assistant:stable"
so it's from the manual, I just changed the volume, added a device and asked you about the other container-mqtt
who is writing to the volume? the one that started docker or some docker user? 😉 maybe chmod needed for that dir
it's under my user (owner) and I didn't change the chmods
In this case it's root
ok so I'm in the docker group so that should be enough, right?
That's irrelevant
What does your container log say is going on?
docker logs homeassistant
ah there's something regarding 'zha_gateway'
probably caused by this try of backup
Unable to find configuration. Creating default one in /config
In your config do you keep your stuff under /data?
/data/mosquitto/config:/mosquitto/config
Yes
All my volumes live there, as does my compose file
Then I just back up /data and get it all
still not working :/ configuration (users/passowrds) lost after server reboot
Is it writing to the directory you set up?
no, always empty /usr/ha
and no errors
before I ran the docker compose I created this /usr/ha directory and changed owner to myself (created with sudo as it's /usr)
Can you share your docker compose?
version: '3' services: homeassistant: container_name: homeassistant image: "ghcr.io/home-assistant/home-assistant:stable" volumes: - /usr/ha:/config - /etc/localtime:/etc/localtime:ro restart: unless-stopped privileged: true network_mode: host devices: - /dev/ttyACM0:/dev/ttyACM0 environment: - DISABLE_JEMALLOC=true
And you restarted the container? Like shut it down then start it up? Just to ensure it's fresh
yes
Hey folks. I remember speaking with Tinkerer a while back about getting remote access for the app APIs only for location tracking (and notifications); Does anyone have any examples/docs of doing this? Do I just need to run my own reverse proxy infront of HASS-OS and limit which endpoints can be accessed remotely, or does the NGINX SSL Proxy add-on support this? I'm currently requiring a VPN for remote access, and I don't want to open my entire HASS to the internet so just the endpoints I need for the apps to do their thing, and also get get frigate notifications with images.
You'd have to run a reverse proxy which only allows those endpoints and rejects anything else. My HA normally requires a VPN to connect to, but in order to get the custom Alexa skill working I forwarded port 443 to HA, firewalled it to only accept connections from Cloudflare IPs, then in Cloudflare WAF I set allow rules to only allow 2 specific API endpoints from AWS's network. It's a bit convoluted but it accomplishes my goal
Ok, that's all doable. The only thing I need is a list of which endpoints I need to allow; or how to find them?
Actually it looks like the app allows for TLS Client Auth according to the docs. That's a lot better of a solution for the mobile app than trying to figure out endpoints
https://companion.home-assistant.io/docs/getting_started#tls-client-authentication
@south coral I converted your message into a file since it's above 15 lines :+1:
You'd just have a reverse proxy that requires a TLS cert, and any connection that doesn't provide that cert would be rejected before it ever can reach a login page or anything
Why am I getting this error?
Don't install Supervised
why?
That's certainly an option. I think I'll combine both options.
I want addons but I want to be able to use other services
it is not officially supported but people do that
No additional software, outside of the Home Assistant ecosystem, is installed.
And things break
Add ons aren't anything fancy
They're literally docker containers
Just with a fancy button
so what would you recommend me? installing os directly?
If you want to run other things on the machine, either use the Container install, or put HAOS in a VM
okay thanks
oh, I missed the part about it being a pi, so a VM won't work, but either way HAOS or Container are the only sensible install options
but container doesnt allow addons right?
@south coral what do you want to run alongside HA anyway
pihole
As mentioned before. Add ons are just fancy docker containers
A lot of services people want to run actually exist as addons and people just don't know about it
HAOS has AdGuard Home as an add-on which is the same type of software as PiHole
so ha can act as ad blocker too? didnt know that
thx
How can I get device name for zigbee2mqtt container? For plugin version HA there was hardware/show all or something but I don't see this for Container
For your coordinator stick?
yep
try lsusb
ls /dev/serial/by-id
iirc i used lsusb to identify that it was present in the host os and then just looked through ls /dev tty entries to see which one it was likely to be
yo jumbers, you told me to do hard format on the HDD, it's been 7 hours and it's still on 4% progress, should I just plug the external HDD off and plug it directly to my pc via SATA and perform a hard format again or just leave the pc 3 days on to see if there is any progress made?
7 hours for 4%? uhh, that's definitely not right at all
external hdd 4tb
not unless it was a full format, not a quick format
oh that sounds like it's trying to zero out the drive or something
the 4% was like 30 seconds into the format, after that it's stuck there
yup. sounds like it's treating that drive like it's a hdd instead of ssd.
so should i plug it off and connect it to SATA?
I haven't formatted anything in Windows in a long time, but you should be able to quick format it to exFAT via the Windows disk tool I think? Unless that doesn't do exFAT
it is hdd
the disk is not right, that's why i wanna do full format and not quick one
I mean when I move a movie into the HDD after formatting that to exFAT (it was NTFS) the Windows Explorer gets stuck
sounds like the drive is bad
bought it 4 days ago in amazon, it was great but when I changed it to exFAT shit start hit the fan
https://filestore.community.support.microsoft.com/api/images/9573ce35-79b8-4b6d-835c-6102568c6fcb
Try formatting from there
You don't need to use third party tools when everything exists in built in tools
thought it might help because the Windows one got stuck for me..
jumbers how do I get there?
Disk Management
Sure, give SATA a try
Hello all, is it possible to install Samba on 2021 HA install? I do not have supervisor tab anymore and can not get to addons through the settings. I am using virtualbox on windows 10
Thanks going to unplug it now and try
If you're on a 2021 version you need to upgrade before you consider installing anything else
an no. no addons. you'll have to spin up a docker container with the samba addon installed. I haven't seen any instructions on how to do this.
a question on upgrades. container install. Do i just need to stop the container and then use docker compose pull before restarting? or should i manually remove the container
That's part of the whole deal. Old install works fine, but wanted to update something and I see no way to do it. Installed a fresh 2023 on same machine and now I have HACS on it and I can see addons again. I was able to put Samba on 2023 and look up the zones file in the config/.storage folder, but I cant figure out how to get my old zones file out of 2021 version
I'm an old, relative noob for this stuff, but have been reading and watching some videos to help. That's how I at least found my new zones file 🙂
Did you try upgrading via CLI on your old instance?
Why not? I know someone mentioned it to you earlier.
How much do you have to lose if you set up a new HA instance fresh?
If I had high confidence that an upgrade would not totally hose my old setup then I would probably do it. That is one reason I did a second , clean install
and was trying to migrate just a few things over
What hardware is the old instance on? Virtual?
yes, win 10 laptop
Take a backup, then incrementally upgrade, reading release notes in between for breaking changes
Win10 laptop? In a VM? or?
yes earlier I was on phone but now I'm home and can get a better look
Yeah, snapshot the whole thing and you've got nothing to lose
yes, win 10 laptop
With the CLI you can go version by version, rather than trying to jump straight to 2023
https://www.home-assistant.io/common-tasks/os#run-a-specific-version
So If you're on 2021.4, check the release notes for 2021.5, upgrade to it, do the same for 2021.6, etc. It's going to be a long process
sorry, wife aggro, yes have nothing to lose on 2 day old new install, but didnt want to lose all the zones mainly on old one
Right... so snapshot the old one
VM Snapshot and download a backup from HA if you want to be doubly safe
how can I add my "adapter: ezsp" into z2m compose file?
First instruction says to go to supervisor tab, which of course doesnt work
ah no, it should go to configuration.yaml of z2m
Forget the UI for the actual upgrade process
Have you passed the adaptor to the container?
I tried but got error unexpected parameter or something
zigbee2mqtt_new | Zigbee2MQTT:error 2023-01-11 23:09:18: Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220817084307-if00' zigbee2mqtt_new | at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:91:28)
How shall I keep devices property set up for z2m for such device? currently I have:
devices:
- /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220817084307-if00:/dev/ttyACM0
ok, went to VM machine and did a snapshot from within virtualbox
of the 2021 install
videos show people going into supervisor mode on HA and then just hitting snapshot
unfortunately, not an option for me. Could I have possibly turned off supervisor mode? is that even a thing?
At the virtualbox level... all you need is a snapshot there
Then that'll let you restore
ok, great, NSX, i have that
currently i have both instances running, should I stop the new one or does it matter?
Then you need to tell ZigBee the device is at /Dev/ttyACM0
I found this answer and didn't help:
https://github.com/Koenkk/zigbee2mqtt/discussions/15360
If you pass the device in the compose file then whatever you've passed it as on the right of that device thing is what you need to tell z2mqtt uses
ok first and most important question here: are the z2m service and ha service inside Compose "connected" via devices? how should I configure this device in ha then? or not?
I guess I want to keep HA away from devices directly and communicate with sensors via MQTT! but this is just how I image that
They're not connected. You need a mqtt broker to link them (this the 2mqtt part). Mosquito is one of those that will work
When configured you have z2mqtt talking to Mqtt
Then integrate mqtt into HA
yes I have 3 services but for which one shall I pass this attribute?
`devices:
- /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220817084307-if00:/dev/ttyACM0`
To the one that needs it. Aka zigbee2mqtt
As I understand - definately not HA
Then in ZigBee2mqtt configuration you set the device as /Dev/ttyACM0
*port not device, plus adapter if needed
I would suggest using /dev/ttyUSB0 to mirror the actual device outside, but it doesn't really matter
Ok I think I almost have it 🙂 Now: how to add this sensor to HA panel assuming that Z2T sees it properly?
with plugin it's easy cause it pops ups on z2m plugins page
You open the web interface for z2mqtt, pair it (same as the add on) then HA should auto discover
is there any web interface?
What port did you give zigbee2mqtt
Ahh it is: got to add frontend with port and I have it! thanks
Fun fact: don't know why my sensor drained from 100% to 5% of battery over few days while not used
Don't trust battery level reporting
It's about as accurate as using a rock on a piece of string to tell the weather
(reference)
but 5.5% it's not accuracy - it's draiining
Yeah Ive had sensors report 10% after a brand new battery
And they're still going
And now show 15% battery
The reporting is again, as accurate as a rock on a piece of string for weather
They may last a year on 5% battery
Is the mqtt integration added to HA
no
Without MQTT you just have zigbee2nothing
You need the mqtt integration for HA to know you have a mqtt server and to add it
zigbee > /dev/null
Tediore > /Dev/null
😛
ok I see he asksk for broker name apart from port 1883
just "zigbee2mqtt" does not work
What is your MQTT broker running on and how did you install it?
mosquitto with compose
So enter the IP address or hostname then
ok got it and I have stuff like topics and listening
hi everyone
does anyone knows how to change ip adress to my ha i just change my network provider and the adresses are diferent so i cant reach acces to my rp pi even if its connected via ethernet
yes
If you don't know the IP and can't find the IP address in your router, you'll have to plug in a keyboard and monitor, and change the IP via the CLI
ok thanks
GOOD evening HomeAssistanteers! I've been working on getting my HA KVM back up and running with a new server install. I'm using this guide: https://community.home-assistant.io/t/install-home-assistant-os-with-kvm-on-ubuntu-headless-cli-only/254941
but I can't seem to get the KVM bridge working. Every time I set up the bridge I lose access to the server (Ubuntu 22.04). I have a feeling this may be outside the scope of a HA install question, but I'm wondering if anyone may be able to point me in the right direction.
To clarify, I'm losing network connectivity on the host when I use netplan apply
I don‘t use netplan 🤷♂️ you may have more luck with traditional /etc/network/interfaces
You can use netplan try and it will auto-rollback if you don't confirm within 2 minutes
What does the output of ifconfig and the netplan YAML file look like before you make any changes?
here is the yaml. the interfaces entry that is commented out is what is cuasing the break. I'll get the rest for you in a sec
Please use a code share site to share code or logs, for example:
- http://pastie.org/ (select YAML for the language)
- https://dpaste.org/ (select YAML for the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.
my bad
thanks
this is the ifconfig before. I've trimmed it to the devices that seem to be relevant to this issue. The virbr0 is the network device that is being used by KVM: http://pastie.org/p/09zFrItzvPiWpJQ5CMmkiZ
why do you use virbr and not br0 ?
virbr seems to be what KVM was already using. Whenever I try to get it back to "default" settings when it doesn't work this is the device it seems to continue to setup.
KVM creates the virbr0, that's the NAT bridge
btw: I always get this when I use netplan try when trying to get this setup:
br0: reverting custom parameters for bridges and bonds is not supported
Please carefully review the configuration and use 'netplan apply' directly.```
Sounds like it might be complaining about STP. Just get rid of that whole parameters: section. There's no need for STP because you aren't going to get switching loops
this is the after ifconfig btw: http://pastie.org/p/5RCfJFDIxWYyEqDi0mQLWj
Is there a reason you're running HAOS on a Ubuntu server anyway? Did you not want to use the container based install?
the short answer is yes, there is a reason
Is that IP on br0 not working? That output looks correct, enp2s0 is up, br0 is up, and has an IP
I think part of the problem may be that my router is providing a static IP for this machine. So the IP that br0 is getting doesn't match what the router is providing
What is the reason? If this still keeps giving you headaches then running container should be pretty much painless
oh, yeah so the bridge is going to have a different MAC address. On older versions of Ubuntu it seemed to clone the physical address but now it generates one. I got bit by that in my upgrade from 20.04 to 22.04
66:34:43:8f:a6:73 is the generated MAC of br0
I am recovering from a server crash and I had a HomeAssistant instance that was running in a VM already. So I already have the disk image with my last few years of HA setup configured and ready to go... except for some reason this bridge setup isn't working like it did before.
ok, so it sounds like I may be able to reassign a static IP to the bridge that shows up on the network, does that sound right? If so does that mean I need to be assigning an address: [previous static ip] in the configuration for the bridge?
You can either set a static IP in netplan or change the static assignment in your DHCP server to the new MAC, whatever you prefer. I try to stick to all of my IPs being assigned through DHCP static leases
I need to rethink this. I have other services running on the same machine that are dependent on port forwarding. It seems that if I go this method the br0 device will be handling network traffic. Am I understanding that right?
sorry, the network traffic for the host machine
man, it's really bothering me that following this verbatim didn't work this time. I'm not sure what changed from the previous setup
The only real difference from the host side is that the IP address is assigned to br0 instead of enp2s0. All the traffic like ports forwarded to it will behave the same
thanks for your time. I'm going to have to wrap my mind around this. Previously, the bridge exposed the VM as it's own machine but also left the host machine online.
both works
not for me xD
There's something I'm missing about the new server setup that's causing this to happen. I just have to dig in and figure it out.
Do you have iptables rules allowing traffic in by interface name? e.g. -A INPUT -i enp2s0 --whatever -j ACCEPT Those would need to be changed to br0
checking
hmmm, it appears I have no -A INPUT iptables for that device
this just gets stranger for me.
If you want to try a static assignment of the IP the machine had before, replace dhcpv4: yes under br0 with
addresses:
- 192.168.130.2/24
gateway4: 192.168.130.1
nameservers:
addresses:
- 1.1.1.1
- 8.8.8.8
do you know if there's a difference between interfaces: [enp2s0] and
- enp2s0```
when it comes to the yaml formatting
They're both lists, the one with brackets is just inline
ok, after breaking everything, I now have 2 devices on the network both with the same ip but different macs xD
so I guess now I'm going to see if the VM can access the network. Thanks for getting me this far. I'll keep you updated.
hi guys I have managed to format the external 4TB drive and mount it to my pve Proxmox
in the shell when I type 'lsblk' i see that sdb2 has 3.6TB (that's the drive I'm talking about).
but after I added the path of the drive I mounted as a directory to the proxmox it says 41.73GB capacity.
did you format it to its full capacity?
what does df -hsay ?
I know there is more than 40gb in it.. don't know why the proxmox say differently.
/dev/sdb2 3.7T 408G 3.3T 11% /media/exfat
and where do you see 41.73 gb?
no please use a image sharing service
after I added a directory
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.
yeah that is your proxmox boot drive
so I should just ignore that?
thought it was the full capacity of the HDD I just added
nothing to see here
ok man thanks!
one last question, I think I should do auto mount to the drive, how do I do that? something with UUID if i remember right
Place the correct line in /etc/fstab yes, jumbers gave you a starter yesterday
when I do blkid /dev/sdb2
it gives me an old data (ntfs and label name that used to be before I formatted it to exFAT)
I got the UUID tho'
Can you paste what you're talking about? The label doesn't matter, but I wouldn't expect it to say NTFS
You don't need to censor your UUID btw lol
too newbie to all this shit lol
ok when I run "lsblk -o NAME,FSTYPE,UUID,MOUNTPOINTS" it is showing the drive as exFAT
OK got it now it fully mounted, thanks guys.
Another question - I am trying to get Sonarr and Radarr for my plex server (on VM Proxmox)
After adding the relevant folders I get 'Folder is not writable by user administrator' message.
How can I give user administrator a permission to write/change files within the folder on Ubuntu?
When I try to do
chmod 777 /media/exfat
I get
chmod: changing permissions of '/media/exfat': Operation not permitted
exFAT doesn't have permissions, everything is writable by everyone
How is this related to home assistant?
It's not directly related, but my dashboard has integrations with the and radarr;
Thanks anyway for helping!
Hi All.
Can someone pleas tell me, which HA OS I need to use, if I want to run the HA OS on a QNAP from Virtualization Station 3, as a VM - https://www.home-assistant.io/installation/
trying to install ha on a rpi 2b, after flashing the os and everything looking fine, it does stuff for a while, until it says: [WARN] Home Assistant CLI not starting! Jump into emergency console… is this normal and part of the "can take up to 20 minutes" or is there something wrong? when running docker container ls there are no containers listed
Hi
I have a zwavejs-ui docker instance and would lije to integrate with HA (also iin docker)
cann someone point me to a valued tuto?
Hi, for my setup I only miss one thing: to make MQTT discover new devices and to make it possible to connect it to HA. Alternatively, I need to connect this mosquitto broker to z2m. The latter one is already working as a charm - I see the temperatures and stuff inside z2m console.
The container of mqtt is alredy visible in HA, aded as an integration and configured with the same IP as my host and 1883 port. Authentication for now I leave open so no username/pass and I'm allowing to login for anonymous
But still the MQTT block in settings/integrations does not show "new device"
@drifting osprey I converted your message into a file since it's above 15 lines :+1:
Check your HA logs...
Yep, for addons I had it worked very well. Now I reproduced the steps manually 😄
Hi. Just tried to update my HA docker and I am getting this error:
$ sudo docker start homeassistant Error response from daemon: error gathering device information while adding custom device "/dev/ttyACM0": no such file or directory
Error: failed to start containers: homeassistant
Can't access or start HA
Sounds like that device doesn't exist on the host 🙂
I see the file in dev and chmod is updated.
I was updating with this command:
sudo docker run -d --restart=always --name="homeassistant" -e "TZ=America/Phoenix" --device=/dev/ttyACM0 -v /HASS/homeassistant:/config --net=host homeassistant/raspberrypi4-homeassistant:stable
Nothing, just complaining about not seeing my printer (so it is alive)
now I just follow the logs from compose
add --privileged
@sick vale use something like MQTT explorer to see that things are actually sent through
Try switching to docker compose files instead of docker run commands
I don't know what that means
Then you'll only have to run sudo docker-compose up -d from wherever you put the docker-compose.yml file 😉
If I have other docker containers (and an existing docker HA) will this affect those?
I was just trying to update my core in my docker instance. I don't know why the ttyACM0 is giving an issue
You're missing the mapping of the USB, it should be --device /dev/ttyUSB0:/dev/ttyUSB0, or in the compose file:
devices:
- /dev/ttyUSB0:/dev/ttyUSB0
@high token I see new stuff arriving at MY_IP->zigbee2mqtt
But in general for docker containers this community strongly recommends using compose files for everything. You don't have to, but they remove the need to figure out what docker run command/parameters you need 😉
other stuff on same level as zigbee2mqtt I see $SYS with many many counters
and there is "broker" under $SYS
What USB is it calling? I don't have a zwave USB stick.
I will read up on it and see if I can switch but would like to get my HA up and running first.
Well why did you include a device in the original command?
If you don't have HA running yet, I would make a docker compose file following the example in the HA documentation, and then use sudo docker-compose up -d to get started
It'll save you lot of time long term 🙂
If you don't have any external devices to pass in... just omit that
I had it running and have the files in a root folder.
sudo docker run -d --restart=always --name="homeassistant" -e "TZ=America/Phoenix" /HASS/homeassistant:/config --net=host homeassistant/raspberrypi4-homeassistant:stable --privileged
This gave me syntax error
you nuked the -v
Because you also removed the parameter name 😛
(More points for docker compose)
I think --net=host needs to be --network=host... I don't think I've ever seen --net before
It's certainly not in the HA docs: https://www.home-assistant.io/installation/linux#platform-installation
sudo docker run -d --restart=always --name="homeassistant" -e "TZ=America/Phoenix" -v /HASS/homeassistant:/config --network=host homeassistant/raspberrypi4-homeassistant:stable --privileged
In the logs of mosquitto I see messages arriving (from sensors) - so why I cant see the sensor device in HA?
Sorry typo
--privileged should probably be before the image name as well
sudo docker run -d --restart=always --name="homeassistant" -e "TZ=America/Phoenix" -v /HASS/homeassistant:/config --network=host --privileged homeassistant/raspberrypi4-homeassistant:stable
Thanks all that worked. Lost all my settings and restore option is missing but I'll figure it out
Well if your config wasn't stored in /HASS/homeassistant then that's why you lost it
That's also why the docker compose files are good 😉
Hello There, trying HA for the first time, Setting Up on a Raspberry PI3B using the HAOS Image flashed on a SD Card
I have Issue with connecting to the cloud and in loading all pictures of devices and i try to connect with a vpn and it load have anyone a solution for this ?
System boots up correctly but fail during Preparation
ERROR (SyncWorker_1) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/raspberrypi3-64-homeassistant:2023.1.4: 404 Client Error for http+docker://localhost/v1.41/images/ghcr.io/home-assistant/raspberrypi3-64-homeassistant:2023.1.4/json: Not Found ("no such image: ghcr.io/home-assistant/raspberrypi3-64-homeassistant:2023.1.4: No such image: ghcr.io/home-assistant/raspberrypi3-64-homeassistant:2023.1.4")
Looking at what possible DNS Issues can happend, but the above url is not working on my PC either.... ghcr.io/home-assistant/
how could i solve it ?
What cloud?