#installation-archived
1 messages Ā· Page 74 of 1
Yes and no.
I mean the Attached to:. The one above. Select your ethernet here, then bridged below.
i dont understand
check this picture these 8 options are the "Attached to:" options
Yeah perhaps it was Name then. My bad. I don't have VirtualBox right now.
The point is you want to bridge to your ethernet card.
Show me the options you have in the Name section to bridge to.
it worked
thanksš š
so i have to connect the ethernet cable and from the network setion select the correspoding controller
Think of a bridge like a network switch. Since you're connected via ethernet you have to connect one part of the bridge to the ethernet network card. The other part is connected to the VM.
Buy a cheap (U)SFF PC or Mini PC that you can keep connected to ethernet and virtualize on that instead. WiFi bridging has issues like explained earlier so I don't have a better suggestion.
ESP model?
yes
I'm not sure what you mean by that.
i want to run HA in my laptop and get sensor data from sensors which connected to esp32
can i do that
ohh okk thanksš
oops.. I turned off IPv4 on my home assistant.. and I can't find the display cable for my Pi. I managed to get the file system... but looking for the config where I can turn back on IPv4? Any ideas?
I was referred to this channel by #general-archived
Horray! Now it got an IPv6 too! Yay!
Hi. I'm having an issue getting the qemu-guest-agent running in my HAOS VM. It seems I may have installed the "wrong" image haos_generic-x86-64, but I'm unable to get the qcow or any other VM image running on my unRAID guest machine. Is there a way to get the guest agent running on the generic VM?
I also posted on the forum: https://community.home-assistant.io/t/how-do-i-install-the-qemu-guest-agent-on-qcow-vm-running-on-unraid/765624
The only supported way is to use a build made for VMs.
Does that preclude the haos_generic-x86-64 image?
Any advice on how to get the qcow2 image running on unRAID? I followed the installation thread on the forum, but I can't get it to boot. Other people in the thread seem to have similar problem and provide ambiguous advice like "download the other qcow image", which may have meant something to that perosn at the time of the post, but I can't find any other images or advice really on how to get it running. https://community.home-assistant.io/t/install-home-assistant-as-a-vm-on-unraid/270195
No I don't use unraid. I can only suggest checking youtube videos.
Actually, the docs have steps: https://www.home-assistant.io/installation/alternative/#hypervisor-specific-configuration
I was downloading the wrong image (arm64). I didn't realize there were other qcow2 artifacts for other architectures available on the release page, I had to expand to see them š¤¦āāļø
š
I've made that mistake a few times with various things.
It's even worse with bootable ISOs for ARM servers because UEFI binaries are universal, so an x86-64 machine will actually run the bootloader just fine and only fails when you get to loading the kernel.
Hey, I starte the restore of my backup 5 hours ago. (Its a backup of 45.5MB on a rasberry Pi 4). It was still loading and the site could not be reached can someone help me figuring out why it is broken?
Check ha supervisor logs -v via SSH/CLI.
Hello, I currently have homeassistant running on a raspberry pi 4b with direct installation. I now have a mini-pc with more power and would like to install Docker there to have more options. How should I best do the change to the new server?
If you're currently using HAOS you can only restore the HA part when migrating to docker. Not the addons.
The cool thing about having a real PC is that you can virtualize HAOS and run your other things in a different VM using docker.
So if you want the least things to change and the most freedom I would recommend that: #hardware-archived message
Howdy All - i brought [up a question](#frontend-archived message) about a possible performance regression in #frontend-archived - it was suggested I bring it up here as well. Basically the frontend is either freezing/unusable on various PCs/laptops - or on IOS devices the app will crash, or when it freeze the phone becomes very hot. Tried disabling themes thought maybe it was custom HACS frontend components (been slowly uninstalling them). On my laptop, for example, the chrome process associated with the HA tab is using 2 full CPUs.
If anyone has any troubleshooting thoughts, your help would be greatly appreciated. Also I don't know exactly when this started, I had surgery, then got covid from the hospital, so been basically down for 3-4 weeks...but in that time things have auto updated....cause i'm silly like that.
The iOS dark and light theme has been causing issues. Have you restarted in safe mode as a test?
I had no idea there was a safe mode, but I did uninstall the theme.
Others have reported issues with apex charts, do you use those? https://www.home-assistant.io/docs/troubleshooting_general/ safe mode detailed here. Definitely try that.
Also some people have shown issues with chromeā you said this was happening everywhere so Iām not sure itās this.
Safe mode will disable all custom integrations until the next restart. If it is fast again, then you know to focus on custom integrations or custom frontend things
So yeah, all chrome browsers fall on their faces, so does the companion app (most the time it crashes before loading into the dashboard)....but i did just try firefox and it's weirdly snappy, totally anecdotal....but snappy. I'll give safe mode a try
Try chrome in incognito too
everywhere was multiple pcs, macs, linux boxen....but the whole family use crhome based browsers :lol:
While not in safe mode
yeah that makes no difference - looking at the network console, multiple seconds are spent loading things like https://ha.domain.house:8123/frontend_latest/12675.KkBUzwQ0TX8.js
that one took 2.4 seconds for example
and import_chunk_loading is what's calling all the js chunks and taking forever
I've got an old mini-pc I've been trying to put HAOS on. It's an x86-64 system, following these instructions:
https://www.home-assistant.io/installation/generic-x86-64/#write-haos-onto-your-x86-64-hardware
I tried both listed methods of installation (direct and via boot media) and neither of them succeeded their initial boot. Once the computer powers on, it just displays a blinking white underscore in the top left.
No server is started, doesn't display anything, nothing else happens
I used the latest version, 13.1, which looks like it was released pretty recently.
Is it worth trying the last version?
Or are there any other ideas of what's wrong?
What does efibootmgr and lsblk -po+FSTYPE,LABEL in the console of the live booted ubuntu say? What's the model of the machine? Please ping me if you respond.
Hello!
I cannot access Home Assistant from my phone (locally), but I can access HA from my computer.
I have Pihole set up with A records (homeassistant.local) pointing to my Caddy instance. On my Caddy instance, I use self-signed certificates and I have installed these certificates on all my devices as well. However, I am unable to access https://homeassistant.local from my phone even though it works on my computer. I can access https://pihole.local just fine from my phone using the same setup as HA. I can access http://192.168.2.X:8123 from all devices including my phone
I did notice that if I enable Wireguard (VPN) which is hosted on the same device as HA, then the connection will work.
My configuration.yaml looks as follows:
use_x_forwarded_for: true
trusted_proxies:
- 192.168.2.X # Add the IP address of the proxy server```
The error if I try to access HA from my phone using Chrome is Connection Refused. Might be similar to this issue: https://community.home-assistant.io/t/android-app-unable-to-connect-to-home-assistant/158322/73
Anyone any idea what's up with this?
Some more information. I added ::/0 to the whitelisted proxy and I am able to access https://homeassistant.local on my phone now! However, I do get the error that it is unable to fetch auth providers, so I believe the issue indeed lies within IPv6 vs IPv4.
Edit: I turned off IPv4 from my PC and homeassistant.local does not load indeed! Therefore, confirmed IPv4 and IPv6 issues. I'll debug a bit more to identify the solution for this
Some more information after an hour: I can access http://[IPV6]:8123 just fine. However, https://homeassistant.local still doesn't work. I tried setting an A-record in PiHole to the IPv6 address of Caddy as well, but no luck. Setting a reverse proxy to the IPv6 address of HA doesn't work either
Safe mode didn't fix it š
Hey, i installing Home Assistant right now, it says to me Error while installing Home Assistant
[supervisor.homeassistant.core] Error on Home Assistant installation. Retrying in 30sec
[supervisor.docker.interface] Updating image ghcr.io/home-assistant/raspberrypi4-64-homeassistant:landingpage to ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2024.8.3
[supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/raspberrypi4-64-homeassistant with tag 2024.8.3.
[supervisor.docker.interface] Can't install ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2024.8.3: 500 Server Error for http+docker://localhost/v1.45/images/create?tag=2024.8.3&fromImage=ghcr.io%2Fhome-assistant%2Fraspberrypi4-64-homeassistant&platform=linux%2Farm64: Internal Server Error ("Get "https://ghcr.io/v2/": dial tcp: lookup ghcr.io: no such host")
It tries to download this image but it doesn't work
Any solutions?
you install on widows or Raspberry pi ?
on Pi 4
How much memory space Ų
128GB
i can't access via SSH, only via Web Terminal
i think you can got to setting add ons then terminal &ssh on configration
and set password or ssh specify port to connect then save
$ ssh root@homeassistant.local -p 2222
you have some pic ?
Please run ha network info via the CLI.
i'm on the first setup screen https://prnt.sc/GFSMfmy0hce4 š„²
you have any Security Ų
you use int in your home or company ?
can you send a logs by txt file ?
Connect a keyboard and monitor and run the mentioned command.
Home
you cant put username and password this issue before
you cheacked the DNS
can i install it aging together ?
to check step by step ?
but i think i figured it out. The other day someone tried wardriving my wifi - attempted like 20k+ connections from unique mac address. The Unifi integration, created 20k+ devices and 50k+ entities in home assistant. I'm guessing the webui downloads a massive json blob of all the devices/entities?
deleted the unifi integration and now everything is working great
looking at the performance profiler in chrome, that is correct - the JS heap before was like 120+MB. Now it's 20mb
no clue why firefox handled it like a champ, but chrome and the companion app pooped the bed
Greetings. Iām debating making things needlessly difficult for myself, and moving āuntrusted devicesā onto a different network (VLAN). Iām wondering what the considerations are, related to Home Assistant, in preparing the setup. Does anybody have experience doing this?
Move everything that HA talks to to that VLAN - and move HA itself
Yeah, that would be ideal.
But that wouldnāt achieve what Iām trying to do. Because trusted devices talk to HA too.
Iām wondering about putting HA on 2 different VLAN at the same time. Iāve gathered from some web searches that this is possible in Home Assistant OS. Iām not sure how HA would handle that though. Any thoughts?
That's likely to give you problems, but it may work well enough for you
Appreciate the warning. What kind of problems would you expect? Discovery?
Anything mDNS/broadcast/SSDP related
Things like #matter-archived don't play well when there's not a flat network
Honestly, for 99.999999% of home users VLANs are just pain, and it's not like they're an actual security feature
Sorry for disappearing. Got a phone call about a repair.
All of my IoT stuff could be on the same network. The only things Iād need outside of that network are traffic ingress from the public internet and a bunch of mobile devices, Apple TVs, etc. Itās the latter that has me wondering how HA gets updated, but I guess thatās more of an #integrations-archived question.
I already have VLANs running. Itās fine. Just right I donāt split IoT stuff onto its own network.
Anyway ā¦. food for thought. Appreciate your comments. Thanks for sharing!
Firewall rules and traffic routing. But, as said, IoT device in particular usually require mDNS and thatās what stumps most people as itās hard to repeat mDNS traffic across subnets.
But if I multi-home (he said, pretending to know what heās talking about), wouldnāt HA be able to get mDNS traffic from both networks?
Technically yes, but then you defeat the reason for isolating untrusted devices in the first place as you still have an attack vector. Well written firewall rules can fix that though. Typically you only multihome for 2 reasons: you need reliability between interfaces (fallback) or you canāt firewall the subnets.
Personally, I have 5 VLANs, 4 of which cannot reach the internet but have limited communication internally (using various firewall rules). Iāve never had to multihome HA, but I also donāt have much of a need for mDNS either.
Being completely without attack surface seems challenging with HA on two networks, sure. But getting into my main LAN from the IoT LAN through HA/HAOS seems a much smaller risk than a few dozen untrusted devices being on my main LAN?
I have no idea how much mDNS is used in my setup.
Oh, Iām not saying DONāT isolate the IoT devices, Iām arguing against multihoming HA. Unless you have something that relies on mDNS (or something like a UniFi system that can āfakeā mDNS repeating), then I would just put the devices on something like a 107 VLAN and create the firewall rules to allow that VLAN to hit your main VLAN specifically to HA.
Yeah, thatās something you would need to figure out first.
Iām planning a DMZ where my āexternally accessibleā stuff lives, such as the TLS termination. There is one discrete channel to port 8123 of HA from there, so those can live on a separate LAN with just a hole punched in the firewall.
My concern is that this would mean some services on trusted devices no longer work. Like, my Apple TVs for example. But I guess I should do some digging into what my setup uses and confirm if this really is an issue or not.
Thanks for the comments. Appreciated.
Hello guys! Been using Homeassistant for a while but have discovered recently that I'm getting a lot of connectivity issues. my adress works on and off, and i cant really control how/when.
I've set up duck dns with letsencrypt so traffic is over HTTPs atleast. But the problem remains (without any clear indicators in the logs btw) that the connection is not reliable.
After tinkering today I've managed to make it work on the "local" adress, i.e. https://homeassistant.local:8123, but now the external one is not working back and forth. Any ideas on how/where i should start troubleshooting? tearing my hair out with this.
I've worked through that one, I think that's why i got the internal link to work, but accessing this from outside the network and so on is half the reason im running homeassistant so i really wanna get this up and running reliably.
I've been monitoring duckdns' status when i have troubles but they don't seem to coincide too much. Anything else I can check? I'm running homeassistant OS on a raspberry pi 4 if that matters. It's wired directly to my router.
When it fails:
- Check to see if the hostname resolves to the WAN IP shown in your router
- Check to see if the port still shows open on the IP
- Check to see if the port still shows open on the hostname
It's actually right now apparently. So.
- Nslookup (im on mac) says the server cant find my url.
- Port is still open.
- Not sure how to do this one, care to elaborate?
Duckdns IP matches with my public IP
Hm. If i use the dyndns i set up in my router (an ASUS AX6000), i get access through the same equivalent link. Maybe i should stop using duckdns all together and that's fine?
- Says that you've got DNS problems/DuckDNS problems
DuckDNS being broken isn't unusual
Ah alright. So steering clear of it might be a good move then?
Yes
Ah cool. I'll see if i can go the asus dyndns route then. Thanks!
- I just got that.
Keep in mind that mDNS repeaters can break things horribly
Yeah, Iām not planning on mirroring mDNS or other black magic. I need to see what kind of broadcast and multicast traffic is used on my network I guess. Do some homework before I start changing things.
lol
Anyone that can help me with this?
Sounds like a DNS issue. if your pc and phone are on the same network can you run a nslookup to the dns name and see if it has any results? are you sure your phone is being pointed to the pihole DNS server also?
ok I've messed up something with my firewall and ingress. I switched my nabucasa URL to use my custom domain so ha.austin.com, that all seemed to work just fine. But now when I'm remote, the dashboard components using Frigate and MusicAssistant don't load. I'm using a custom URL with iframe to load the path /ccab4aaf_frigate-proxy/ingress - which works locally but not over app/remote. I then tried the full URL ha.austin.com/ccab4aaf_frigate-proxy/ingress and it gives a firefox malicious url error.
What should I be using to make this work? I have a "CCTV" dashboard that is just a panel:true, and this webpage iframe url
Yes, my phone is on the PiHole DNS server as well. I can access other local domains with the same PiHole + Caddy setup. I do not believe it is possible to run nslookup on my Android phone though. Moreover, I have some additional information on the message after the quoted message. It is most likely an IPv6 issue
Hello, I just got my home assistant yellow kit (POE) and I tried to install the OS although it just shows a solid red LED. How can I resolve this issue?
#yellow-archived can possibly better help
hello! how should i get started with home assistant? yellow and green are not sold in my country
it should also ideally be relatively cheap lol
Hi!
I use HA through Google Home.
I control my Philips Hue lights through Google Home, but the lights themselves are connected on HA.
Whenever I ask my lights for something, say turn off, the lights do turn off, but google says "Sorry, I couldn't reach Philips Hue" is there a fix to this?
I couldn't reach Philips Hue
That sounds like they're connected to Google directly, not via HA
I have Philips Hue removed
I even checked lol
I might just have to start all over, this is super annoying lol
The message for HA's #voice-assistants-archived would be different
So you need to clean up Google first
Darn! Okay, I'll try again
I am 100% certain philips hue is not connected to my google
I just tried to re add philips hue, to then remove philips hue again, and now when I try to add philips hue, the app tells me it can't reach philips hue
I'm so confused
Well... I'm 100% certain:
- This is the wrong channel
- That's not HA that it can't reach
Oh my bad, I thought I was in general š¬
#voice-assistants-archived is what you probably wanted
Hi all, have an issue with a backup/restore, wanna be sure I do the right thing.
-
I have
R-Pi4with a full HAOS installation. I also have a recentumbrelOSwith HA installed as an app (I suppose dockerized), an Intel N100 based device. Both have the same HA version: 2024.8.3. I only use a Zigbee dongle to connect a few Zigbee devices. -
Making a backup on HAOS was a no-brainer. Then uploading it to HA on umbrelOS was a bit tricky, but I did it (after copying with a terminal and restarting HA did see it). But then I realised HA app on umbrelOS has no option to restore a backup: only the Download and Delete backup buttons are there.
So, what do I do now? Is there a way to restore a backup? Or it makes more sense to rework it all from scratch to avoid possible issues with changing arch (ARM to Intel x64)?
Another question is, does this migration make sense, or it is better to just buy another mini-PC dedicated to HAOS? I don't like it running on R-Pi4 and SD card anymore and am afraid to lose all setup when the device count grows. I have a few devices waiting for connecting as well.
Sorry for probably a generic question on installation, but I hope someone with experience can give good advice. Thanks in advance!
Hey Fomo, did you connect remote_homeassistant via TailScale? I'm not able to make it work?
I have been running a server with home assistant for about 1 1/2 years, now I want to move from the PI to a thin client, but I am not completely confident with the setup and almost want to start from scratch. Or even not 100% form scratch. I would only like to take the data for the electricity consumption and the PV system from the energy dashboard onto the new server. Is that possible?
It would be best to restore a backup of your PI onto the thin client, and then reconfigure things. Otherwise you will likely lose history.
First of all, iam Mick and new here. Ive ran into a problem with the cloudflare. I cant login my HAOS. the error message is with "argo tunnel error". it was doing fine until today. is there anyone who also experienced it or know what to do?
Just got started with home assistant by installing its docker container on my raspberry pi. Now do you guys have your home assistant accessible from the internet? I could set up another cloudflare tunnel and have it as a sub domain to my personla domain.... but is this secure enough? Of course I would choose a very secure password for it, but is it generally discouraged/encouraged to have home assistant accessible over the internet?
anyone here with experience booting HA via USB SSD Adapter on an RPi 3b+? USB Boot is enabled (by default but i double checked anyways). i tried two different SSDs i got lying around, tried flashing image via balena etcher and RPi Imager. If i try via a normal USB Drive it works but my Pi strictly refuses to boot via SSD. The USB Adapter has power (LED is flashing). https://imgur.com/a/peDLx35 (thats the screen it gets indefinitely stuck in). Additionally theres a usb keyboard plugged in and an ethernet cable.
Any ideas are appreciated
"It can't be DNS"
"It was DNS"
I added the IPv6 address of my Caddy server to the A records and it works now. I have no idea why it didn't work on the first attempt, maybe I had something else misconfigured. Thanks a lot!
tl;dr Phone cannot access local HA domain, but can access other local domains with the same setup. Solution is to include an A-record to the IPv6 of the reverse proxy as well. Other applicationa didn't need this.
Itās always DNS š glad itās working now for you !
Is there a way to disable Rescue mode in the HA OS?
I fully understand why it exists in linux, but in HA, most hosts doesn't have screen to check if it's stuck waiting for me to press Control D... maybe a timeout i needed
off topic, but is it possible to back up the original firmware using tuya cloudcutter, cut the cloud, and flash the backup again?
feit electric fetape/rgbw/cont v1.0.2
tuya cloudcutter offers v1.0.6 and v0.0.6, which one?
Why don't you use a channel, where it is on-topic? Like #hardware-archived or #diy-archived
sorry
I am currently running home assistant on a raspberry pi with HAOS. I'm going to migrate away from the pi onto my home server running proxmox. I can either migrate to a dedicated VM with HAOS, or an existing VM where I already run some docker containers. Are there any big reasons to pick one over the other?
Do you want add-ons?
I am already using a few. Like ESPHome, Mosquitto
zigbee2mqtt I'm already running in a docker container
Then if you want to keep using them you want a VM with HAOS
If you're happy with Docker just keep rocking that instead
I do like being able to do the updates for just about anything through the HA interface with HAOS.
so maybe I'll stick with that.
Can I install HA without an image. Just on top of RASPBIAN os?
You can install the Container version of HA on Raspbian and Docker
If you want add-ons then you have to use the HAOS image
I'm new to Home Assistant. I have a 8 GB raspi pi 5 and a 4 GB rspi 5 and a zoosk Zwave 800 stick. I want to install HASS with Docker and use the 4 gb to run Zwave from. I do not want to use Add ons. I cannot find specific instructions to do that. 1) is this possible and 2.) if it is possible would you point me in the right direction? I am some what tech saavy but this is a world that I've not explored much but excited to get there.
- Yes
- See the #zwave-archived docs for help in running Z-Wave remotely
Can you send me a link for a tutorial?
Make sure to use compose.
@charred current Thanks
I am a Linux newbie. What is compose?
It's a tool to manage docker containers in a better way: https://docs.docker.com/compose/
Ignore the docker run section and use this part instead: https://www.home-assistant.io/installation/linux#docker-compose
Is there a way to move an existing HAOS install directly (and complete) to an SSD that is already connected to the PI 5?
as far as i know the move storage command is only moving the storage (config folder, etc) but not the entire system
In theory you can dd it via developer SSH access but the best choice is to flash HAOS to the SSD and then restore a backup.
has HAOS issues regarding the Size of the SSD? Mine is 1TB
Not that I'm aware of but the pi might be picky with the models it is able to boot off of.
I have an error on docker. I wrote the script in terminal but it gives me error ādocker run needs at least 1 argumentā
And what command did you enter?
And ... why are you using docker run instead of the compose files you were advised to use?
They donāt worked
I do jorgs tutorial again
docker run -d
--name homeassistant
--privileged
--restart=unless-stopped
-e TZ=MY_TIME_ZONE
-v /PATH_TO_YOUR_CONFIG:/config
-v /run/dbus:/run/dbus:ro
--network=host
ghcr.io/home-assistant/home-assistant:stable
But permission denied
- you're supposed to change
PATH_TO_YOUR_CONFIG
- your user has to be in the
dockergroup
- you probably want to use HAOS
@humble mirage can you send me the script to install docker new and try it again?
What OS?
Raspbian
Well what can I say? It worked flawlessly. š Now it runs completely from SSD and is as fast as I whish.
My Pi is 64bit is that a problem?
@humble mirage what shouls i do here:If you use a derivative distro, such as Kali Linux, you may need to substitute the part of this command that's expected to print the version codename:
(. /etc/os-release && echo "$VERSION_CODENAME")
Replace this part with the codename of the corresponding Debian release, such as bookworm.
should i replace he word with VERSION_BOOKWORM
@primal wadi Discord isn't like IRC, you don't have to tag people on every response. Keep in mind that every time you tag somebody, they get a notification ping. That can very quickly become annoying and people may block you.
When using Discord's Reply feature it defaults to pinging the person you reply to, click @ ON to @ OFF to stop this - on the right side of the compose bar.
Well... you haven't said what actual problem you're having
Did you try just running the command?
no
Why don't you do that first and see if it works š
Just set up the repo
I did. 2nd step is to run the daemon but my system canāt connect to the docker daemon at unix://var/run/docker.sock is the docker daemon running?
Have a HA setup on a Pi + SSD, not getting any output on HDMI after powerup, and not showing up on the network. Possible to pull config before wiping the SSD?
i did sudo, i dont know about group
Partially. Do you have no backups?
Not my HA, helping out a friend, so no, no backup
You can use something like LinuxReader on windows to copy the core configs.
I've looked through these and can't find ~\config\backups
well, I can't paste an image.
hi Im new to home assistant. having trouble with installation.
WHAT IS YOUR trouble ?
where you installation home assistant
?I have home assistant green and . well me and my husband got it plugged in and didnt know what to do. it was all in code or yaml. My husband thinks he got ot on yje phone but the only thing that came up was the ring cameras. We cant get an interface . from what I see on youtube . we got a tablet for ha but I would like to get it on my desktop also but thats windows very fusturated
@slate bronze 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.
I didn't tell you where you can find it.
# find / -name configuration.yaml
/mnt/data/supervisor/homeassistant/configuration.yaml
# findmnt -T /mnt/data/supervisor/homeassistant/configuration.yaml
TARGET SOURCE FSTYPE OPTIONS
/mnt/data /dev/sda8 ext4 rw,relatime,commit=30
# lsblk --fs | grep -E "(/mnt/data|sda8|MOUNTPOINTS)"
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
`-sda8 ext4 1.0 hassos-data 9b0bfdd2-eb14-4b28-97a0-c63274ea5322 23.4G 20% /var/lib/docker
/mnt/data
In case it isn't clear the config directory is the supervisor/homeassistant/ directory on the biggest ext4 formatted partition with label hassos-data.
?I have home assistant green and . well
OK
Hi all!! I have been struggling with the "hassio.host_reboot" service. Mi config is HASSOS installed in a KVM virtual machine over Alpine Linux host, but when running the service Home Assistant stops working, it is not rebooting the system properly and only hangs doing nothing. Do anyone know how to reboot te VM from inside it?? Thanks and sorry if this is not the proper place where to ask (also sorry about my english grammar hehehe)
It it really doing nothing? It needs some time to stop everything and do the actual visible reboot
it seems not to be doing anything, but let me try it again and give it some time
it seems to shut down, connection to the web frontend is lost some secconds after running the service, but it is not responding anymore. As I say, I'll give it some time and check later if is running
Check the VM console
not working, it says "Connected to domain 'hassos'" but I cant do anything than exiting, i cant type any command or anything
Half an hour and not responding... restarting the host and running the VM takes less than 5 minutes
Not much to say if there's no picture to see what it shows and nothing to do if you can't enter a command.
ha host reboot would have been the command.
Welcome to Home Assistant OS.
Use ha to access the Home Assistant CLI.
ha host reboot
Post "http://supervisor/host/reboot": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
ls[ 2038.670084] reboot: Restarting system
In this case enter login and then reboot.
dont know how to send a picture and the "#" are not showing as text
To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.
Please use a code share site to share code or logs, for example:
- https://dpaste.org/ (select YAML for the language, and consider picking a longer expiry)
- http://pastie.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.
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.
thx
Check the add-on logs
#add-ons-archived can help, though #node-red-archived may be better
Hey there. Newbe here. I have a question regarding an installation of HAOS on an x86-64 NUC PC. ( I have a I5 one). I folllowed the steps from the Website and that wend well. Now it boots for the first time and i can see the Home Assistant welcome banner in the console. but no desktop is comming up is see a blinking cursor in the ha< line .. the ha> is green
Anyone an idea what wend wrong ?
Im not shure if i understand you correct, but try to go to http://homeassistant.local:8123/
Do see the getting started steps š
So i type the url in the consol?
That canr be right
Ok ill check my steps again. Most likely i missunderstand something
on your computer/ phone
Your phone, laptop etc
No hard feelings, everyone is lost sometimes. Glad we could help
OK, I have a problem:
I was running 2024.6.0, tried to update multiple times from the interface to 2024.9.0, but those failed but with nothing I could find in logs (I may be looking in the wrong logs).
I switched to using the cli and decided to attempt to upgrade version by version as that tends to be more reliable for most software.
I did an ha core update --version 2024.7.0
supivisor is now angry
2024-09-05 09:03:11.190 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
and ha core check never returns
[core-ssh ~]$ ha core check
Processing... Done.
Post "http://supervisor/core/check": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
but leaves nothing in the logs when I do ha core logs
Reboot the host?
Good evening,
I have an issue with the installation of HA on a SSD connected through USB to my Raspberry PI 5
It starts normally "OK" everywhere then "Waiting for the Home Assistant CLI to be ready" and the problems start.
".usr/sbin/hassos-cli: line 9: docker: Input/output error"
etc I will show you a picture
If you have any idea please
Is the SSD on a powered USB hub?
Yes
That rules out the usual problem
That image shows either power problems, cable problems, or a dead SSD
Well, everything is brand new :(
some kind of hardware problem there. how did you install to the SSD?
Hardware :
- Raspberry Pi 5 Barebone (Cortex-A76 / 4GB DDR4)
- Waveshare Power Supply For Raspberry Pi 5 27w - Type-c
- Patriot P300 SSD 128GB M.2 NVMe PCI Express 3.0
- LC-Power Case for Hard Drive M.2 PCI Express / SATA III with Connection USB 3.2 Type-C
So I used this "LC-Power Case for Hard Drive M.2 PCI Express / SATA III with Connection USB 3.2 Type-C" to connect the SSD to my computer first to install HA with Raspberry Pi Imager
Then I connected it on the blue USB port
rebooted multiple times in this process
deleted
I am stuck on boot screen after sd flash
ha>
What should I do here?
What so you expect more?
Starting Home assistant without a touch
You mean a UI?
Yea
I tried but canāt accesss, and the Pi wlan is not set so how?
I forgot the lab cable
I got an recorder error after upgrading core to 2024.9. It says that the connection to the database was lost during an execution, but I was able to connect to it without issues.Logger: homeassistant.components.recorder.migration
Source: components/recorder/migration.py:753
integration: Recorder (documentation, issues)
First occurred: 9:35:37 PM (1 occurrences)
Last logged: 9:35:37 PM
Could not update foreign options in states table Do you have any hints? I did not find any proper answer to this
And I do not know how to do new lines on mobile...
I have a solar Bluetooth charger. Can I control it over HA Bluetooth proxy even if itās a no brand name and not in the integration list of HA?
I'm running HA in a container with network_mode: host. A while ago I noticed mdns wasn't working anymore (also seeing this in my esphome container). Pinging any .local addresses turned up nothing. I've spent a couple hours today trying to figure out this issue but have gotten nowhere. Any recommendations of things I should look into?
You would have to try it for yourself and find out. no one can answer that for you
does anybody know if i can connect to esp out of my home network?
Depends... does that run ESPHome, Tasmota, or...?
I'm goin route of pi4 HAOS on sd card and read/write on ssd...
Is it possible to do it without ssd then add ssd later?
Or should I just wait until SSD arrives and do it together
I am using duckdns to access ha both externally and internally at home. Two iPhones are not able to connect every time when at home, but through 5G it“s finei It“s returning an URL error, while my Macbook connects fine every time. suggestions on what to look for?
Yes, you can move the data to the SSD later
Are the companion apps on each phone set to connect using the duckdns address when on the local network?
I'm trying to use caddy to set up a reverse proxy for multiple subdomains on my network. While troubleshooting I ran across this error message in the Caddy logs: Sep 05 17:22:25 nginx caddy[587]: {"level":"error","ts":1725574945.597386,"logger":"tls.obtain","msg":"could not get certificate from issuer","identifier":"home.domain.org","issuer":"acme-v02.api.letsencrypt.org-directory","error":"HTTP 403 urn:ietf:params:acme:error:unauthorized - Cannot negotiate ALPN protocol "acme-tls/1" for tls-alpn-01 challenge"} Is this going to cause issues with my Cloud cert eventually?
I assume you made your own certs?
I don't suppose you have a decent installation guide for this at hand? š«£
You install it as usual. When you get your ssd and add it you use the āmove dataā option in storage settings to move that to the ssd
I don't suppose you have a decent
Hey.. Another networking question.
My HA stopped connecting to the wifi. Running on metal , Pi 5
Ethernet connection still up.
I have a separate network for IoT and previously it worked fine. My router doesn't give options to allow connections between subnets.
I bypassed it by just using both Eth an Wireless interfaces at the same time.
Are there any commands so I could reset WLAN0 settings perhaps?
Hey.. Another networking question.
Can someone help. I need the real pi of my HA Pi, but donāt know how because the āip adrrā donāt work from the ha> terminal
ha network info
Thx
But my problem isnāt fixed
I am trying to integrate an ESP32 bt proxy into my ha but the ESP32 is connected by a 4G stick and not near around me and my ha is connected with my home network. How can I integrate it if I just can use the internal up Adresses?
Guten abend.
Daher das ich nicht gut bin in englisch gibt es hier jemanden deutschsprachigen der mir eventuell biĆchen helfen kann.
Für mich ist das alles sehr neu und kenne mich damit nicht aus.
Ich auch
Please keep it in English here
Unless you have bridged the two networks somehow that won't work.
@humble helm @primal wadi Here is a German server which has a Home Assistant channel: https://discord.com/invite/Wt42rpwQye
Hello! Me again! After a restart of the HA container (running on Synology NAS, Host seems fine), the ui came back up, but has since gone down, the logs do not indicate why the websocket / webui is hanging or even when it started to fail, how can I investigate this a bit more completely?
Did you check the log file or the docker logs?
log file home-assistant.log shows v little, v good point on docker logs, but considering the ssh works and everything else seems fine 'behind the scenes' I didn't think of it
If core has issues it might not be be able to log things and the container logs might still show something.
docker log for the container shows the same as the home-assistant.log file
complaints that some entities are taking too long to report (TRV's with low batt / disc. etc)
or maybe i'm not looking in the right place
docker logs [continer id] is what I ran from ssh
not sure where else to look, which is kind of what i'm asking for
log.fault is empty too btw
You could try to start it in safe mode. You can also try this: https://community.home-assistant.io/t/2024-5-tracking-down-instability-issues-caused-by-integrations/724441
Logger has different log levels: https://www.home-assistant.io/integrations/logger/
I haven't personally played around with it though.
v grateful, thank you
perfect! just what I was looking for, very appreciative @raven forge
asyncio was talking about some timeouts with authentication on one of the previous log files I did manage to pull off from a few days ago, it also showed a url of a webpage I was browsing on my home PC, right there in the log file which I found incredibly bizzare
hope HA aint spying on me š
In case you can't reach the UI you can also trigger safe mode by stopping HA, creating a safe-mode file in the config directory and then start.
Can I install HA on a micro sd card on which Raspberry Pi OS is installed or do I need a dedicated card for HA? I only have one Pi and would like to have other apps on it next to HA. I only found an installation guide for Home Assistant OS, which removes any other files on the SD card.
Is the right way to do this to actually remove Raspberry Pi OS and to use proper Debian instead?
you have the option of running docker on the pi and then HA as a container? š¤
I read that this is possible but then you have an "unsupported" version installed
The pi may struggle with proper debian, its not got the same underlying architecture
folks also don't recommend running HA on a PI in general, it's a little weak for when you get a lot of integrations running
oh really? back in 2021 when I did this it seemed everyone said Pi is the best option ^^
i'd recommend to crack on if you're just getting into it and want to learn what you can about HA and smart homes! It may also depend on what other apps you're looking to run on the pi but with any sbc you can start to run into resource constraints quite quickly
sbc?
i see wow... I was hoping to run NordVPN and HA on my Pi ^^
Container is a supported installation method.
That might not be too much of an issue, but i'd listen to @raven forge more than me
also, why NordVPN? just to mask your traffic?
NordVPN to put the entire home network behind a VPN
fair enough! my config (which works incredibly well with all the selfhosting and smarthome shiz I've got) is tailscale with the mullvad addon
allows me to create a fully private mesh vpn for my containers, endpoints mobile devices etc, and I can still configure an exit node in whichever country I want
And they have great docker integrations
but! alas I'm not here to promote, only mention what works well for me š
seems like docker is the way forward for you
wow that sounds like it's too high level for me, but it does sound great!
thank you for your help. I'll look into the docker solution
The kernel in HaOS doesn't support the graphics chip in my NUC. Is it possible to replace that with a newer version?
No
Can it use the UEFI driver?
There's no display manager in haos. Are you thinking to use it for hw acceleration?
If so then uefi probably won't do
You could submit it as an issue with the rest of your nuc details
Well, I was hoping I'd be able to see the UI so I could connect to wifi.
And also display a UI for it later, once this is actually installed.
you have countless ui in the form of any other device with a web browser
Not where this is going
It's headless, so using it as a dashboard+hub won't work. But you could choose the container install option instead
Wifi is fine for the clients. Not great for the server itself once you get many iot devices going
Can somebody take a look at this Thread? I posted logs that I could find...
I'm puzzled as what to do next...
Wifi randomly stopped working and I'm not sure what the error means..
Does anyone know how to completely remove Z-Wave JS?
Any idea?
Just got the info of update 2024.9.1, upgraded and it seems not to work
I increased the session amd execition time to 24 hours, without success.
Just upgraded to '2024.9.1', but now HA doesn't boot up. Just seeing 'A start job is running for File System Check on /dev/disk/by-label/hassos-data (1min 1s /no limit) in the logs, but the whole VM gets stuck
I'm guessing some file system got corrupted? I've tried shutdown and restart, but still hangs. What can I do?
Restored, good job I had backup. š
Hi guys and girls, I'm trying to setup a fresh virtualbox VM with the 13.1 vdi from home-assistant.io.
But when I come to "onboarding" creating a user it just wont go past. When i klick on "Create account" it does nothing, no error message ( on the webpage ) but also does nothing.
Anyone have any IdƩ why?
Are you using mixed case for your username? It requires lowercase for user names (known issue).
Yupp that was the issue, thank you,
Hello. I am installing a Hassos through Ubuntu on a new system. After I have installed everything, Hass has problems to launch as it cannot connect to the internet (even though it is connected to the LAN and can be accessed throug the local network)
yes, on both
It connects "at will" meaning usually it connects fine over LAN, but when it doesn“t I can switch to 5G and connect right the way
Hi all. Im runnin a HA in docker and running watchtower to update the images. But the two times it have updated the image all my settings and users have been lost. This do not happen to other images that im running. I know i can skip HA being updated by watchtower, but even when i pulled the latest image my self it happened. Is there any changes in the location of the configfiles between the updates?
did you mount something to /config in the container? otherwise all the config will be saved inside the containers filesystem and will be gone when it is deleted/recreated
No i did not do that. Will have a look into this and set it up from scracth again
Use compose file(s). Makes life so much simpler.
NSURLErrorDomain -1003
How do you guys expose haos webui to cloudflare domain? Any built in way?
As in... you're looking to expose externally?
There's a bunch of options with addons... Nginx Proxy Manager or Cloudflared are common. Any other reverse proxy will do as well.
Yes exactly. Thanks for the information
Would let's encrypt work?
Or do I need something additional?
I wish there was someone in Orlando that could show me how this HA works . Hubby wants to send it back cause Alexa can do the same (that's what he said).
Let's Encrypt will generate a cert for you to use. So, you could switch HA to just use that, too.
I'm using duckdns add-on with nginx
Hi i'm trying to follow these instructions and find them potentially outdated.
Anyone know how i can easy install this custom emoporia vue integration in my house: https://github.com/magico13/ha-emporia-vue
The UI screenshots for HACs are outdated but the main parts are the same. Install HACs, search for the custom integration and install it, then add the integration in HA
i just figured out HACS is somethign i need to install and have done so
HACS requests i reboot the hardware but i dont see that in those instructions either
The steps for setting up HACs are separate.
Do whatever it says, then when you have it, continue to the custom integration instructions
Yeah i've installed this emporia vue integration and restarted again but i dont seem to see it
ah found relevant click disregard
Question, i flashed homeassistant to a raspberry pi 2 via a 64gb sd card.
If i pull the sd card and stick it in into a intel i7 NUC will things generally work?
(how much does HA care about its hardware? i guess the rpi has no other disk)?
assuming this is talking about haos? raspberry pi and intel are completely different hardware platforms and cpu architectures, it won't work at all.
you can install haos on the intel nuc, then take a backup from the raspberry pi and restore it on the nuc. that will work fine.
cool thanks, overall this system seems quite well put together. thanks everyone
how hard is it to migrate my current PI instance onto a VM on a PC? want to move it over to something with a little more juice and stability.
that depends on your level of technical ability
try creating the VM and installing HA without migrating over
if you can't do that, then you'll likely have issues restoring a backup from a pi
i feel like i shouldn't have a problem...im gonna try to use the vmware solution since im more familiary with vmware
is there a downside to running it on a VM?
I haven't ran that way, but I don't think there's many drawbacks.
I've heard of issues with virtualbox
to migrate from 32bit haos to 64bit haos on a RPi 4, if i copy the config directory from old to new is that all that is needed ? the current 32bit RPi 4 is fully updated, running zwave and zigbee.
Create a backup, download it and restore that on the new host.
ok, thanks
if there are 32 bit addons/integrations, will they get migrated to 64bit once the restore and reboot happens?
also... a full backup, or just a backup of home assistant?
I think they are platform independent. The docker runtime used for add ons will take care of it
I migrated from arm to x86 some while ago and it worked fine
Make a full backup
As long as the add-on is available for that architecture, it should be fine
Hello. I have the issue that home assistant is constantly rebooting. Not the host but home assistant itself.
Its since this evening and i made no changes other then rebooting the host(that did not happen for a long long time)
How can i debug why this is happening? It stays up for like 1 min max before rebooting.
Its a mini pc with a n100 cpu that runs HAOS, without any virtual stuff.
It started happening when our vodafone ISP bridge device was rebooted.
Which im having issues with right now...no internet. But even if off/no internet, home assistant shouldnt reboot all the time because of this? š«
As you can see the drama started quite suddenly
Is there maybe a custom integration which breaks without an internet connection and crashes?
Is there a way to check in a log what causes this?
I disabled the things i think could maybe cause this but no luck
Well i cant anymore im exhausted, hope tommorow someone can help, i have no idea what more i can try. I shut down the machine now. No lights in the dark this evening for toilet runs etc
Maybe...but i bet theres a lot more to do then just restore that backup
First get internet back. Meanwhile i hope theres also something logged where i can see why haos is rebooting itself?
I notice cpu is also quite occupied, even though i disabled frigate the biggest hog of resources
Would appriciate any help to figure why its doing this
I just tried it, it gives a supervisor error that i dont have a internet connection, not allowed to continue with a restore. Why the heck does it want a internet connection to restore a backup?
I cant think of any freaking reason
Maybe to download the add ons from their repositories
To pull all the containers needed to restore the system for example.
Bah, well then no restore for me.
I booted to safe mode though, where its not rebooting all the time.
Isnt there a way to find out what causes this constant rebooting?
Safe mode disables the custom integrations, so sounds like it's one of those
custom integrations are always hacs installations?
Well, no
All HACS things are custom
Not all custom things are in HACS
HACS is just a downloader, anything it does you can do without it
yeah ok. i know when looking at those github pages that hacs uses as repo's, that all those custom integrations also offer manual downloads. i never used those manual methods. are there besides that, other ways thats considered a custom integration?
Anything in custom_components/
Cards live elsewhere, under www/
Themes could be almost anywhere
thanks.
Hello smart internet strangers. After a string of motorbike robberies in my area lately Iāve been semi-urgently tasked with an alarm, and maybe cctv in the future. Iāve had to stop them from paying for a cloud service such as ring. I already have a pi4 8gb and Iām brand new to home assistant, can I please have some insight on this potential setup? Cheers!
Keypad: ring v2
zwave stick: zooz 800
SSD: crucial bx500 for running HA
Motion sensor: ring motion detector v2
alarm: generic 12v alarm, will use the ring keypad to begin with
.
The alarm likely isnāt going to be the final one, just canāt find any alarms that work with zwave without breaking the bank.
This is going to be using alarmo in order to handle dis/arming
That setup seems alright to start out with.
Is there any reason HAOS could be a bad idea as opposed to running piOS w/ HA docker?
Not really. The only reason to go with Container is if you want to run other things outside of HA. Otherwise, HAOS is the way to go.
Good to know, thanks!
In my opinion HAOS is not as reliable as more common OSs like RPI OS (debian). Sometimes a OS upgrade makes it unbootable on certain hardware for example. I think this mostly applies to x86 though. Note that HAOS is not a "normal" OS. You don't have the freedom to install whatever you want outside of addons. If you're happy with HAOS' ecosystem and the "apps" (addons) it provides HAOS is much more comfortable. It's also the most used installation method so you should get the best support. I always assume HAOS unless otherwise stated. Others probably do the same.
I've installed the home assistant docker container on fedora using the docker compose file.
I'm not able to access home assistant via ipaddress/8123
I tried opening the 8123 tcp port in the firewall but that didn't help as well...
I have network_mode:host
Any ideas on what I can do to solve this?
Thanks
Do you use docker or podman? Can you share your compose file? Also check ss -lntp | grep 8123. You could also try to stop the firewall completely. At least temporarily.
I'm using docker.
This is my compose file:
services:
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- /home/fedora/containers/home_assistant:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
restart: unless-stopped
privileged: true
network_mode: host
ss -lntp | grep 8123 does nothing
Not a good sign. What do the docker logs say?
Here are the logs:
https://pastebin.com/GDaYtLQY
Seems fairly normal but it also looks like it restarts immediately. Can you follow the logs and check if it does that? docker ps might also show its uptime.
Thanks @tender wren , @rose valve
This is the uptime:
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9d88c9b8ed1f ghcr.io/home-assistant/home-assistant:stable "/init" About an hour ago Up 22 minutes homeassistant
Yes it does look like it restarts immediately.....
What hardware is this running on?
My old laptop
I'm asking because I've seen a similar thing where JEMALLOC fixed it but that was on a pi.
I'd try a different moint point. Perhaps ./config:/config.
It's also possible that fedora has restrictions against privileged or something but the official docker package should handle that. You could check journalctl for anything interesting.
how do I open port 8123. I think I'm doing it wrong....
Not sure on fedora but even if it's closed it should show up on ss.
oh ok
Wasn't able to get it running on 'network_mode: host' but was able to get it running by adding
ports:
- 8123:8123
to the docker compose file....
Don't know why the host mode didn't work.....
Might be a fedora thingy then. Did you install docker via their docs or directly from dnf?
Without host mode you miss certain things.
I installed it using the guide on the home assistant website.
What do I miss out on?
without the host mode?
Did you follow this to install docker? https://docs.docker.com/engine/install/fedora/
Yep
Then my only suggestion is checking journalctl.
I've only seen the problem if you install Docker Desktop by mistake
Docker Desktop is VM based weirdness
I'm using Docker Desktop.....
There's the problem
But I used the command docker compose up -d to set up the container
That is not what I linked to.
Oh ok I see.
I'll uninstall it then.
I'm a little bit of a noob so I installed it because the gui helps.
I've submitted a PR to add a warning to the install docs
https://github.com/home-assistant/home-assistant.io/pull/34664
Docker desktop has a switch to make host networking work: https://docs.docker.com/engine/network/drivers/host/#docker-desktop
Might make sense to explain why it doesn't work or link to that.
so i did the migration from 32bit to 64 bit, installing 64bit on a 'new' sd card for the RPi, and then was given the choice to treat it as a like new instance, or to restore a backup from previous. I chose to restore a backup, and after restoring from backup, and reinstalling the matter addon, all is good!
As a side note, i had also been using mariadb on the original, and just let the new one create a new db using sqllite, and now the 64bit version is all good. I really wasnt using the history much on it, so simplifying is good!
I have a problem with my home assistant, it is running on a pi 4B and I am unable to connect to home assistant aka :8123 website but all of my addons are working
the version is I think 2024.8.3 but I am not sure
it was working fine for more than a year before this
in the morning everything was working ok
later in the day I want to check the outside temp and it is just broken
Can you connect a keyboard and monitor?
I have it booted up with a monitor
core logs will help, hopefully
That's a lot of red
Is there a way for me to export it?
I have the home assistant nas addon and it is working
The log can also be found in the config folder
Please use a code share site to share code or logs, for example:
- https://dpaste.org/ (select YAML for the language, and consider picking a longer expiry)
- http://pastie.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.
homeassistant.log?
That's the one
May be worth trying a host reboot to reboot the computer
it failed
And?
Did it give you an error or other message?
I am just impatient
it rebooted
but
Post "http://supervisor/host/reboot": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
still nothing on :8123
I am going to make a backup
except for the one I sent no
I have updated the core and ran core start to try to force start it and it worked
I'm running home assistant as a docker container and I'm wanting to install a service which needs something called "mqqt", I'm assuming this needs to be a new docker container?
MQTT, and yes
I'm gettting this error when running the command docker compose up -d:
Cannot connect to the Docker daemon at unix:///home/fedora/.docker/desktop/docker.sock. Is the docker daemon running?
How do I solve it?
Running sudo dockerd doesn't seem to help.
Is Docker running?
Hello, I am new to HA and am just trying to test out the capabilities of a couple z-wave switches I purchased. I flashed HAOS to a brand new sdcard and am running on a Pi 3B+ (it is old but was never used and was new in box). I initially had HA running but had issues with the add-on store, so I reflashed and started over which worked. Now however, HA crashed and won't start up. am getting lots of extra logs while tailing including lots of "Bluetooth: ... Unabled to disable scanning" and "mmc0: timeout waiting for hardware interrupt", amongst other things. HAOS looks to be periodically restarting itself.
I can try reflash again but could this be caused due to the underpowered hardware? I am bit discouraged as HA seems to be considered the best way to coordinate devices in home but this has hardly been a seamless experience. I don't mind buying a Pi 5 but I really jsut wanted to test out a couple switches before deciding if I was going to move forward with them.
Thanks for any help š
mmc0: timeout waiting for hardware interrupt
``` that sounds bad - a power problem or failing SD card
Hi guys, I'm using HAOS inside proxmox and since the last core & some other addons update, I ran into a problem where I'm not able to open HA web anymore (infinite loading data...).
I saw this stacktrace in the log:
KeyError: 'recorder_instance'
2024-09-11 22:08:34.513 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140054077455040] Error handling message: Unknown error (unknown_error) Boom from xxx.xxx.xxx.xxx (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/connection.py", line 227, in async_handle
handler(self.hass, self, msg)
File "/usr/src/homeassistant/homeassistant/components/recorder/basic_websocket_api.py", line 31, in ws_info
if instance := get_instance(hass):
^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/recorder.py", line 76, in get_instance
return hass.data[DATA_INSTANCE]
~~~~~~~~~^^^^^^^^^^^^^^^
Any ideas on how to fix this? Unfortunately, I was stupid enough to forget to create a complete backup of the VM & in HA itself
Hi 2 All.
I have a linux with docker. I tried to use container, but without addons it useless. I'm going to install HA on linux. If I won't like it, is it possible to uninstall it without problem?
without addons it useless
Addons are just docker containers. Create them yourself.
You can't really uninstall an OS. At least that's not how I would describe it. Maybe you can virtualize HAOS instead?
how?
Depends on the addon.
Hello everyone, I have installed HA brand new on the Intel NUC, I can not access HA the Core info shows the following, can you please help me
2024-09-11 22:58:45.979 ERROR (MainThread) [root1 Uncaught exception Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 223, in <module> sys.exit(main()) AAAAAA File "/usr/src/honeassistant/honeassistant/main.py", line 209, in main exit_code = runmer.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run return loop.run_until complete(setup and run hass(runtine config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete return future.result() File "/usr/src/homeassistant/homeassistant/runner.py", line 157, in setup_and_run_hass hass = await bootstrap.async_setup_hass(runtine_config) File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 311, in async_setup hass await hass.async_add_executor_job(conf_util.process_ha_config_upgrade, hass) File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(self.args, self.kuargs) File "/usr/src/homeassistant/honeassistant/config.py", line 549, in process ha cont if version_obj < AuesoneVersion("0.50"): A File "/usr/local/lib/python3.12/site-packages/awesomeversion/awesoneversion.py in raise AwesomeVersionCompareException( awesoneversion.exceptions.AvesomeVersionCompareException: Can't compare (unknoun [20:58:46] INFO: Home Assistant Core finish process exit code [20:58:46] INFO: Home Assistant Core service shutdown s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped info: service fix-attrs: stopping info: service fix-attrs successfully...
Guess awesome version
Please use a code share site to share code or logs, for example:
- https://dpaste.org/ (select YAML for the language, and consider picking a longer expiry)
- http://pastie.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.
Not in a hypervisor partition (HVP=0) (VERR_NEM_NOT_AVAILABLE).
VirtualBox
?
The VM image you downloaded... which one?
VB 7.1.0 for windows
See that link
SVM AMD was not active
Visual Studio Addon
Afterwards follow this to embed it into HA: #general-archived message
Hardware is Intel nuc no VM i use the ha generic x86-64 image
Assuming your problem is the same, since you replied to a message of mine to somebody other than you
Hyper x disable is the solution?
Now I've noticed, sorry for the inconvenience
You need to do as you were asked and share that log on a code share site so that we can read it
What you posted was a stream of text that was impossible to understand
HAOS in a virtual machine on windows 11, is vm virtualbox the best software to use or do your recommend something else?
Unfortunately i can't use the sonoff zigbee dongle on linux so i must use windows
VirtualBox seems to have more issues than other hypervisors. Plus, Windows comes with its own set of issues. Itās supported, but we do usually see a lot of issues with it.
Why?
Idk, every time i try to do something with the usb dongle connected, haos freezes... i just bricked the os again just trying to update it (after setting every zigbee devices using windows because otherwise haos freezer during setup)
And i'm tired of rebooting every time and doing manual backups everytime i do something zigbee related.
Huh, thatās odd. Iāve not seen really any issues with people using the sonoff dongle in Linux with proxmox or anything.
Running HAOS bare metal? Or in a container?
I want to have a movie server with my haos server (plus other things).. should i try with docker?
I was finally able to update haos after disconnecting the dongle but it bricked again and won't connect anymore! P.s. i tried several linux distros, 2 pc's and it frezes every time
My personal opinion is to keep those kinds of things separate unless you have some beefy hardware to run it all on the same box. I like running Container because I donāt need addons and Container is dead simple to manage.
Especially for a media server if youāre going to want to transcode and stream 4k streams. Giving that a dedicated CPU/GPU makes a huge difference in quality (again, IMHO).
Thanks, unfortunately i think it's far too complicated and expensive for an hobby... i'll try with windows and if it won't work as i want (not crashing everytime i try to do something), i'll just keep the dedicated pc as a nas only, fortunately i only bought a temperature sensor and this dongle
lol I WISH this was still just a hobby for me. Damn near a full time job now. Hahaha
āOh! Let me write this automation real quick!ā⦠4 hours and 6 automations later⦠š¤£
This is what i wanted to do too š big home automation project and a small file server for my movies etc...
But it's far too complicated to even configure a dongle (yes, i spent days trying to fix, trying to configure, trying different linux distros... ) and the only way i found is using an os i don't want to use š
So, I solved that by not using a dongle. The only dongle I have is for my zwave stuff (a whopping 6 devices). lol
I'm trying to update it using windows... let's see if it still works
hi guys, quick question for a fresh install. I am using docker for my whole server, and used HA's container to manage everything at home. From what I understand, the container doesnt support addons and I will need either HAOS or Supervised install to install addons ?
That's correct. However, most addons are simply docker containers with some HA "magic" to get them to interact with HAOS.
You can usually find any addon as a docker container that you could just setup in a compose file alongside HA. You won't get the sidebar/ingress stuff though.
gotcha, and there is no container install of HA that I can run to get addons ? Also, what's more advised between HAOS and Supervised ?
oh ok didn't know this
Supervised is NEVER advised. Ever.
No... not even then
-# (but you could run supervised to get addons)
So Supervised it is !
jk
But don't. It's not worth it. It's a nightmare to manage and prone to breaking often.
lol
Ok I will install HAOS directly on my VM
Supervised is highly probable to cause problems
If you really need addons, run HAOS in a VM.
gotcha
TBF, I've never needed any addons that I couldn't run as containers.
Wanted to install this one and it didn't mention container so i didn't even know it was an option
but i will look up how to get them on my docker compose
if that can prevent me from creating a new vm for HA, I will gladly do it
https://github.com/bokub/ha-linky?tab=readme-ov-file#installation-standalone š (I don't speak French, but I'm guessing that would have what you need).
Oh, yeah, it gives instructions for docker compose as well. Easy peasy.
damn good find, it was at the bottom
lol I've been doing this a while š
After... idk... 20 minutes haos core is still updating on windows (and still responsive).. i'm tired of waiting, i'll just reboot the vm once again, best case scenario i'll stay on an older core update, worst case i'll need to reinstall haos from scratch once again
Hi !
I have an HA backup that I'm trying to import into my docker container. I understand that I can't import it directly as if I had a VM.
but I'm trying to take all the data content of my backup and put it in my container's config, but it always brings me back to the first configuration page
Thanks š
"Booting slot b" probably not a good sign š
Yeah, it started on the older version and the browser won't connect to haos... again don't think i'll try again
Sorry for bothering with my troubles! Unfortunately automation is not something for me and, after weeks of planning, installing and troubleshooting, i can't bear it anymore.
Your install is cursed. Have you considered an exorcism?
I think I read that Spook can perform exorcisms
but since it's literally a ghost, I don't know if I believe it
a little sus, as the kids say
hehe, i used to have HA a long time ago but moved out and now going to do it from scratch with new devices
and i think i didn't run the container
or maybe i did but without addons
Hi, I was trying to install HA on a raspberry pi 4. I downloaded HA on a sd card via Raspberry PI Imager. Then I put it in the Pi and gave the Pi power and I plugged it in the wifi router. After that I tried to get to the homeassistant.local:8123 but the website doesn't open. I also tried to get there via the IP adress, but that also didn't work. I also tried to download the software again on the sd card, that also didn't work. I have looked at the code on a monitor, but nothing I tried worked. I there anyone who might know what I can do to fix this?
What does the monitor show? Please also check ha network info.
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.
it shows the IPu4 IP adress, the HA version, the HA core, homeassistant.local:8123 en homeassistant.local:4357
the last link shows: supervisor: connected, supported: supported and healthy: healthy
Don't explain, show.
I can't find how to send a picture here
That's not really what I asked for but at least it tells me you can reach the observer URL so I can exclude some network issues.
Check ha core logs and ha supervisor logs.
Why censor a local ipv4 address?
i don't know I have not alot of knowledge about this so just in case so I don't share any too private information, sorry
No problem. See here for what is local: https://en.wikipedia.org/wiki/Private_network#
Since you can reach the observer URL I don't need the networking information for now.
do you mean to typ this on the monitor?
Into the CLI via keyboard, yes. It might tell us why core (HA itself) is not reachable. The supervisor might tell us a little bit too.
I don't have a key boardš¤¦āāļø
Do you only have a laptop?
yes, I put the pi on the tv. I do have a keyboard but it is bluetooth
I'm not sure how else to run commands to troubleshoot then. Some devices can be administered with a USB serial cable but not sure about the pi 4. All I can suggest is to give it some more time and perhaps reboot if it's still not reachable after an hour. Maybe it comes up.
okay thank you for the help. I will try again tomorrow and if it doesn't work then I will ask a friend to take a keyboard and then I will try later. thanks again
No problem. Feel free to ping me if you have news. I wish I could tell you a better option.
will do!
i take my words back, I found a keyboardš
that is the information I get when I typ core logs and supervisor logs
Hmm. I would have expected more output for the core logs. You can try ha core rebuild and then ha core restart.
Can someone help me to use my esp with multi ssid? I donāt het it working
ESPHome? Tasmota? Something else?
Esphome
Wifi:
Networks:
Ssid: āxxxyā
Password: āxxxā
Ssid: āxxxā
Password: āxxxxā
@primal wadi 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.
Wrong server āļø
Thx
hi, i have a Pi4 with HAOS and Zigbee2mqtt with Sonof E dongle, but the pi4 goes down very often with peaks on temp, memory, proc load each time they go up it is rebooting
i can show the graphs here if needed
i am wondering what can create these issues or how i can debug that
What Pi4 model? What add-ons? Does this happen when you do something (eg build an ESPHome image), or at the same time, or ...?
Pi4B 2Gb
It happens even when i don't use it
can i show some graphs here ? i don't find how to paste them
recents reboot : 8:36, 10:52, 11:21, 11:37: 11:53
Youāre running HA, Z2M and probably some other addons on a rPi with 2GB ram? Thatās most likely the issue. The minimum just for HA is 2GB and IIRC, Z2M is 1GB.
could be, but the crrashes occurs with memory load reaching around 1200MB , 66% occupation, but yes each crash occurs when memory load reach this peak
Yup. Youāre running out of resources. Memory initialisation thatās reported is only part of whatās being used. Linux tries to keep as many things as possible in memory. With only 2GB available, thereās barely enough for HA itself. Addons will consume more memory on top of that.
and at same time there is a peak on proc temp (45 to 55°C) and proc load 40%
ok ok, i think u put the finger on the right place š
That tracks. As the Pi is trying to clear up resources, the processor will have to do more work. More work = more heat generated.
so my idea to move HA to a VM on a windows desktop and keeping only the MQTT broker on that Pi4 could be a good solution ?
I wouldnāt run it on windows, but if thatās what you have available, then yes.
yes, i have a desktop running 24h and available capacity so easy to do on that PC, i will just need a link to a tuto explaing how to install Ha on such VM and having MQTT on a separate Pi4, have you some link to advise ?
For the windows install: https://www.home-assistant.io/installation/windows
MQTT can be just a docker container or a bare metal install on raspbian.
ok, i will try to find that for MQTT, and for tghe migration i can just restore a HAOS backup on the windows one ? But my VM can also be a Linux one, even on a windows host....
Yup. You can use HAOS in a VM on windows, but you might have issues. Some people do, some people donāt. We usually recommend proxmox for a host. But again, if you donāt have an available machine for it, then use what you have for now.
And yeah, just restore a backup and youāre fine.
hmmm, maybe is should buy a new pi4 with 4gb...... to be secure...
Not a bad idea. Your setup would probably be fine with more ram. But, if youāre going to spend the money on a new rPi, look into getting a mini-pc instead. They are usually just a bit more expensive and have way better stats than a rPi does.
mini-pc with proxmox ? or HAOS directly ?
Proxmox is the way to go. SOOO many benefits.
ahhh i didn't knew.... ok will check all that
ok for now i will try to move my HA to a HAOS VM on a windows desktop as said above, but i am sturggling to understand what / how i should install the sonoff dongle on the Pi4, already installed in the HAOS on this Pi4, but how to keep it alone and make the link with a remote HAOS ? which tutorial can i use ? i did many research and can't find that
Move it to the VM
ah not possible, the windows desktop is installed outside the house so i must keep the dongle inside
Ah...
Move HAOS to the VM, then install raspbian and docker on the rPi. Setup MQTT and Z2M as containers there and leave the dongle there.
Docs/tutorials are available for MQTT and Z2M on their websites.
Then, once you have all that done, set up the MQTT integration in HA to point to the IP address of the rPi.
so here a good pro i guess https://www.zigbee2mqtt.io/guide/getting-started/#installation
thanks for help, sorry but i really need good starting points , but i will do ! š
but as when i will have moved my HAOS to the desktop, i will have to remove the current Z2M integration from it and then install it on the PI and make the connection.... but will i be able to get back all previous stats for all current Z2M entities....
Yes. Before you remove the add on, copy the configuration files (or extract them from your back up). When you set up Z2M on the pi, put those files in the configuration directory BEFORE you start the container. All your devices and such will be there. You will probably need to edit the port mapping to your dongle. When you get to that part, ping me and I can walk you through how to set it up.
oh, thanks again, i will surely š
conf files is only the yaml for Z2M ? automation.yaml too ?
Just the YAML files for Z2M. automations.yaml is for HA.
and can i restore and start first my new HAOS on a VM before installing Z2M on the Pi ?
You can, but your devices will be unavailable and the Z2M addon wonāt start.
But if you have other, non-zigbee integrations, those should all work fine.
ok and i can delete the z2m on this new HA and then start installing Z2M on the pi
Yup. As long as you have the backup files. Make sure you have the backup files.
lol
HA full backup in progress and done...
starting the new HA on virtualbox
restoring HA backup in the new HA
ok, done, HA is ok on the new VM, now i can start installing MQTT on the Pi
Sounds like youāre making good progress!
up to now was quite easy š
now some linux things and here it comes more difficult for me š
writing of Pi image on the SD card seems very slow...
34%
50%
could it be a sign that this SD card has issues ?
80%
Possibly.
almost 12 mins to write it, validation now
quite ready to install MQTT
doing the apt upgrade
installing mosquitto broker now
I wonder why not put both on the same machine?
It was my recommendation to put Z2M and MQTT on the same machine (a rPi with 2GB RAM) because they can't put the coordinator on the machine they are installing HAOS on (Windows VM in a different location).
pi memory looks not enough and windows is in another building
so now MQTT is installed on the pi or almost
i did mosquitto -v for the version test
That's where ethernet coordinators shine. Assuming that other location is nearby, of course.
50meters from here same LAN
so now i guess MQTT is ready i chose anonymous access, i know no security but that's where i am
ready to start configuring z2m i think
I'd recommend following this (after above) which sets up both Z2M and mosquitto for you in a single docker compose file: https://www.zigbee2mqtt.io/guide/getting-started/#_2-setup-and-start-zigbee2mqtt
ehhh just checked back and no, i installed mqtt native !
Native is fine. I honestly had no idea that they posted blended instructions on the Z2M site. Well done to them for that!
Mosquitto is fine to run "native", I guess, but Z2M in a docker container is much simpler to manage. As in update and roll back and such.
but Z2M its not installed yet, only MQTT
Z2M docker is SUPER easy.
so i go docker for Z2M ?
@analog badge follow the docker install directions.
Yes.
(Actually this reminded me to go in and docker pull my Z2M lol)
Compose makes that easy: https://gist.github.com/DubhAd/9c2bd38957876bcd8e868be08da25655
Yeah, I got all that... I just haven't pulled a new version in a while.
docker is installed
I keep meaning to watchdog it, but with how critical Z2M is, I don't like to let it auto-update.
Snap, I'm on 1.39 still
You can subscribe to the github release notifications and use something like diun to get notifications when a new docker image is released.
I usually update my containers manually every once in a while when there's something interesting or I have too much time on my hands.
I just went to 1.40.1... living on the edge!
I don't auto update anything
Oooohhhh why didn't I know they offered this?!
lol
Recently two Docker images have had breaking changes that auto updates would have totally messed up
Have you seen container-mon š
I have not. Great... weekend work... thanks Tinkerer š
ok, what should i do now, i guess i should open docker to work in it ?
Well, create the compose file first, move your config files to the mount point and then start the container and look for errors.
Basically just follow this: https://www.zigbee2mqtt.io/guide/getting-started/#_2-setup-and-start-zigbee2mqtt
If you can read it, that is. They have messed up something with the theme. Switch to dark mode at the top right. Left of the search.
I recommend leaving the -d (detached/background) off for the first start and until everything works so you can immediately follow the logs. Use CTRL+C to stop/quit.
trying first to find my dongle with dmesg command but impossible to see it
Run dmesg -Tw, then plug it in. Also check lsusb -vt once plugged in.
Which dongle is is?
Not the path I'd expect. Does ls -l /dev/serial/by-id/ show anything?
We should probably head over to #zigbee-archived.
maybe
V
lrwxrwxrwx 1 root root 13 Sep 13 17:01 usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231102142912-if00 -> ../../ttyACM0
ok ! thanks up to now !
And use the long path š
@restive cloud I converted your message into a file since it's above 15 lines :+1:
Is there anyone who knows how to fix this?
hello š , i had HA on a rpi 3B+ for a while now and yesterday HA stopped working completly i was able to ping the ip but i couldnt get an response on the webUI so i restarted it and left it for a while hoping it would fix itself but nothing happened so today i decided to do a fresh install. i followed the guide on HA website that uses rapberry pi imager. i installed ha on the sd card and plugged it in the rpi and waited a bit then on the "http://homeassistant.local:8123" page i got "An error occured while installing Home Assistant, check the logs below for more information." i will paste the logs in, any help is appreciated
I don't see anything useful in log.
neither could I, only error I found was ā2024-09-13 20:07:10.632 ERROR (MainThread) [supervisor.core] Update '2024.08.0' of Supervisor '2024.09.1' failed!ā Which is not really helpful either
Hi all,
I hope this is the right channel.
After the installation I played with the "Map" menu on the left, and now it's just empty. how can I reset to default?
I'm using a docker-based install connected to a "host" docker network, (just following the guide) and homeassistant works pretty well, but periodically I need to go in and update the IP addresses of other containers like mosquitto and frigate when they change. I'm guessing my options are either setting manual docker IPs, setting up a full DNS server (pls no), or taking my chances on a bridge network and risking some autodetection may break?
Just use static reservations for those IPs in your router
they're virtual IPs created by docker
I get that. Give them real IPs
but they're all running on the same hardware, how would my router know how to differentiate them without unique MAC addresses?
Putting them on the host network gives them the host IP, then just specify the ports
oh you're saying also put all my other services like mosquitto and frigate also on the host network?
Yes
yes I suppose that would be simple. I honestly have no idea why sometimes we use bridge networks, sometimes host
You should also just be able to use the container name if you don't want to do that
any idea if ubiquiti routers allow static reservations?
yeah but container name only works if the containers are all on the same network
They're on the same docker network, right?
Well, they could be
homeassistant and esphome are on host, everything else is on the default compose bridge network
Alternatively refer to them through the "host" ip.
meaning host:port ?
Yep.
i don't understand why that doesn't work sometimes though
Expose ports for those containers
For example the docker host is named "mars", and I go to home assistant and try to add Frigate using the url http://mars:5000 and it says "failed to connect"
but if i lookup the docker IP of 172.18.0.3:5000, that works
ugh because its not on the host network, right
Depends what name server it uses and whether they are aware of mars. You could check that with docker exec or just use the ip.
Yep. Don't use docker ips.
No I'm saying the internal docker IP is the only thing that works
Both host IP:port or the hostname:port don't work
Run docker exec frigatecontainername cat /etc/resolv.conf
You can also run docker exec frigatecontainername nslookup mars instead.
Use the host network or specify the ports you want to expose and then just use the host IP
That's what most people do
i think i will switch to that method
Don't ever use docker IPs directly
yeah, they're annoying
Please also try my commands. I'm curious.
# This file can be edited; Docker Engine will not make further changes once it
# has been modified.
nameserver 127.0.0.11
search mydomainname.com
options edns0 trust-ad ndots:0
# Based on host file: '/etc/resolv.conf' (internal resolver)
# ExtServers: [host(127.0.0.53)]
# Overrides: []
# Option ndots from: internal```
To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.
lol that's larger than intended
I've never really mucked with resolv.conf files, so not sure what I'm looking at
That basically tells the container which DNS servers to use. In this case it's docker's own so it can resolve other container names.
127.0.0.11?? no idea who that is, must be docker internal dns?
i'll do anything to avoid running my own DNS server. So i think I'll switch everything over to the "host" network
Okay now the question is what does nslookup mars on the host say?
er, mars is the host though?
Yes.
okay lets find out
Address: 127.0.0.53#53
Non-authoritative answer:
Name: mars.mydomainname.com
Address: 192.168.1.6
heyyy i got the code formatting, one things going right for me
Looks good. The second command here should be able to resolve to the same ip: #installation-archived message
The docker DNS should proxy to the host's IIRC.
Looks like you use systemd-resolved which should work fine with docker.
OCI runtime exec failed: exec failed: unable to start container process: exec: "nslookup": executable file not found in $PATH: unknown
does that mean nslookup isn't installed?
i can try from another container on the same networkj
Address: 127.0.0.11#53
Name: mars
Address: 192.168.1.6
Name: mars
Address: 172.17.0.1
Name: mars
Address: 172.18.0.1
then a bunch of IPv6....```
Yes it's not installed. I'm mobile so I can't give you tested commands. Looks fine to me š¤·
i need to do a whole networking class in all of my freetime
This is getting a bit off-topic anyways š
it's been really informative though, i appreciate it
help with hacs, i can't access it via the terminal
Try `wget --help' for more options.
ā ~ wget -0 - https://get.hacs.xyz | bash -
wget: invalid option -- '0'
Usage: wget [OPTION]... [URL]...
Hi guys, I am new to Home Assistant world, just got my homeassistant green yesterday and trying to install it today but no luck. Opening the Home Assistant App on my iPhone, it comes up with Welcome screen but when I click on CONTINUE button it's just scanning for Servers and can't find anything, even if I add address manually http://192.168.1.196:8123 still no luck. Please can someone help with this? Thank
according to github issu this should have been fixed, but for me the error persists.
Iām in the process of moving my Home Assistant installation from one Docker host to another. I assumed it would be as simple as copying over the /config directory and then starting the Home Assistant container on the new host. However, when I access the web interface on the new host, Iām greeted with the onboarding procedure asking me to set up my Smart Home from scratch.
Iāve gone through this process multiple times and Iām certain that the paths are correctly mapped in my Docker setup. Despite this, it seems like Home Assistant is not recognizing the existing configuration.
Iām quite lost on how to successfully move my installation to the new Docker host. Any help or guidance would be greatly appreciated!
Interestingly, when I just go thorugh the process of setting up a new home, some devices from the old installation show up, but most are not there
You have to do a deep copy (rsync-avh <source> <dest> does it perfectly). Your /config/.storage/ directory probably did not copy over.
I did use rsync -avh :/
AHHH, I got it!!
Instead of copying over the config folder from the old docker host, I copied all data from a backup I just created
Huh⦠thatās weird because thatās the method I use all the time and I havenāt seen the onboarding screen in years. lol
But, you got it fixed. Thatās what matters. š
Yes, I was puzzled too. I stopped the container on the old host and rsynced everything over, just as I did it with all the other container data
Did the same from the backup...but there it worked
One thing I do is when Iām moving container mounts is to use a bash test to make sure .storage (and other files/dirs as well) exists.
Could also do that with a compose health check as well.
yeah, I should probably have been more thorough. But it's still strange that rsyncing from the Backup works and not from the original config dir. I am now thinking the problem was perhaps related to permissions and some things did actually not copy over
thanks for your quick response!!!
That would do it for sure.
need some help understanding/fixing DNS lookups. My add ons including core are not using the dns server set in HassOS nor in the dns container.
normally if I run a container on my dev machine and then do DNS lookups in that container it will use the host dns which points to my router which has a DNS server that resolves LAN subdomains.
so I'm scratching my head how to fix this.
If I use the terminal and do a dig on HassOS directly it works fine. So the "host" is resolving why not the containers.
ipv4:
address:
- 10.0.0.3/24
gateway: 10.0.0.1
method: static
nameservers:
- 10.0.0.1
ready: true
fallback: true
host: 172.30.32.3
llmnr: true
locals:
- dns://10.0.0.1
mdns: true
servers:
- dns://10.0.0.1
can't anyone help me with HACS?
maybe what's your question?
I can't get it installed
wget -O - https://get.hacs.xyz | bash -
is neither read nor can I insert it in the terminal
ā ~ wget -0 - https://get.hacs.xyz | bash -
wget: invalid option -- '0'
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
nothing more
are you running HassOS?
No, I need to install it first.
So you don't have Home Assistant running yet?
HA is active
so you must be running either container or core then. If you intend to the get HassOS/supervised intstalled on some dedicated hardware or a VM I'd wait to install hacs. container/core is really only a "partially" functional and doesn't natively support addons which is why you can't use the easy install method.
HA is installed on a Rasberry
What does
No, I need to install it first.
Mean as an answer to whether you're running HAOS?
I want to use it
at to wget try this wget -O - https://get.hacs.xyz
it should output the script that will be run by bash | bash -
It does not work.
Look, are you running HAOS or not?
If so, use the addon to install HACS as described in the docs
Use the addon. That command line is not useful to you
As has already been said several times, it does not
okay, but i can't get that addon in the store?
Well, backing up I'd first succeed at getting HassOs installed. What hardware are you trying to run HassOs on?
Follow the instructions: https://www.hacs.xyz/docs/use/download/download/#to-download-hacs
running container/core alone does NOT support addons
That isn't container or core
I mean to do you have a raspberry pi, are you trying it on some mini computer or did you buy a ready to go solution from HA?
see link.
yes i have a ras. pi 4. the ha is installed on an sd card. I installed HA with the rasp pi software
so you followed this right? https://www.home-assistant.io/installation/raspberrypi
HA is already running. I want to install HACS now.
yes
Ok then you do have HassOS running (behind the scenes on the host/rpi). So don't use the wget install follow the addon install.
there I go to my link?
click on the link I provided.
as is says To add the HACS add-on repository to your Home Assistant, select this my link.
btw you have to have a github account to use HACS.
i don't understand it. i added it, i started it. I don't see it in integrations
i have github acc.
so you already linked HACS to your github account
ok, one thing at a time. You already did this? https://hacs.xyz/docs/use/download/download/#to-download-hacs-ossupervised
is there a german chennel or discord where communication is easier?
including restarting? there are 4 bullets.
can you read the english instructions ok?
i work with translator
it's the understanding that i'm missing. i just don't understand the logic to follow the steps
sorry no Sprechen Sie Deutsch :(.
i have no problem translating this for myself, but i don't really understand the instructions
Translators are not very precise. try here https://www.ingos-home-assistant.de/
you need to search or ask for someone to help you in German. There are lots of folks who use home assistant from germany.
So the addon is displayed in the menu - Addons
good luck!
no you have to search for it once it is installed then you will see it. follow instructions here. https://hacs.xyz/docs/use/configuration/basic/
be sure to reboot first.
see bullet #3 on that page.
the problem is that it cannot be found there