#installation-archived
1 messages · Page 54 of 1
you may want to switch to NetworkManager & use Cockpit for managing it instead - I've done so for the sake of ease when first setting up the VM
just a tip, when setting up a bridge, likely what you'll get caught up on is the fact that your server will identify as a new device to your network after doing so
as such, it'll receive a new IP from your DHCP server, as it re-establishes the link with a new MAC address unique to the bridge - so if you're SSHing in, you'll lose connection & have to reconnect after figuring out what the new IP is. unless your router/modem has a DHCP reservation feature, in which case, you may want to delete the old reservation for your server's IP, then reserve it again with the new MAC address given for the bridge connection
I have home asssistant in the app of true charts (like true nas scale app)
can I have hacs with add-ons?
i cant see the store but I already installed HACs
I actually did switch to NetworkManager when I installed cockpit, I just created a bridge using cockpit and it looks like my server has disappeared from my local network lmao
Run “ip addr” and see what the bridge’s IP is, then try to access Cockpit through that IP - chances are what I’ve described is exactly what happened, it got a new MAC address and therefore was assigned a new IP
Would stick around to assist more - however it’s far too late for me to remain up, so uh if no one else ends up helping you further with that in the morning, I’ll reply when I’m awake
Nope, it doesn't have an IP address. Welp, it's debug time lol. Thanks!
does the slave device still have one? that might be the issue
Slave didn't have an IP either. I just rebooted the server and now the slave has an IP, the bridge doesn't
make sure the slave device has no ip configuration and that you set it on the bridge instead
Hacs is not add-ons. Hacs is custom integrations
You can get hacs you can't get add ons with that install method
Do I have to disable DHCP too? What should I set?
if you use dhcp, then disable dhcp on the actual ethernet/slave device and instead enable it on the bridge
Which setting should I use?
- Link local
- Manual
- Shared
- Disabled
The bridge already has DHCP on
disabled id think
so, im fck up?
I might have missed it. What kind of installation do you have? Home Assistant OS or container?
its container, truenas scale runs apps as containers in a kubernetes cluster
but it can run vms i think, never tried that
I should have read all. Time for a coffee 😆
Well you don't need to run addons, so no
its on kubernetes
i dont know
im guessin its a container
why its so? addons are not that good?
As Cal said, there are no add-ons with a container install
it can run vms.. so you could just try that instead if you really need to run ha on your nas
On a container install you have to set other containers up yourself
oh okay, now i get it
Add-ons are just other containers
Howdy - Running haos in proxmox. Today it has decided not to boot, it gets stuck in rescue mode. The error I see is sulogin: tcgetattr failed: Input/output error tried to find what causes this and I can't find anything - any ideas?
do you see any failed systemd units during bootup?
I could not, and I couldn't see anything obvious in journal. I just got it to start by resizing the drive and running systemctl default
I guess it was out of space?
maybe
any chance you left some debug logging on? or auto backups but nothing to delete old ones?
Potentially - going to have to go through and see what I have missed
so i pulled home assistant on docker on first try i got the onboarding screena and all went well untill i needed to restart the container and now it does not recognize my credentials. after deleting the data folder and recreating/restarting it does not give me the onboarding screen anymore and now i m stuck here
it creates a hidden directory .storage in the config directory in that it will place files that save the user data
make sure you also delete that, or just delete the whole config directory and recreate it
rm -rf does not seem to remove . dirs then mhmm
Hi, Homeassistant does nog respond when i try to connect using its IP. I am able to ping the adress. Im also able to connect to HA using my domain and the cloudflare addon
Does anyone know how i can fix this? Thank you! :)
My network discovery app says that the raspberry is on the right ip
It does if you delete the whole parent directory or an appropriate glob in directory (like .*)
i have two glass button, zwave that i consuming throw zwave-js-ui
one is glass 3 gang and the other one is glass 9
in glass 3 i can see the show as field
but i don't see it on glass 9
how can i fix it, even manually
a) Please don't crosspost (also posted in #general-archived)
b) If it is a question about ZWave: head to #zwave-archived
@tacit field I converted your message into a file since it's above 15 lines :+1:
Wth lol
nice
is a rasberry 3 to slow for HA?
i want to move HA from micro SD Card to normal SSD what size should i buy 120-256-512 GB
often it is too slow, yes. depends on integrations & automation amount and your tolerance for pokey UI.
anything > 50G will work well. i'd grab the 256 of those listed.
Is either the slave link or bridge link down?
what power-saving hardware do you recommend?
Checking with “ip addr” show at least say the bridge is up, if not try to bring the link up on the bridge
that's a big discussion point but short answer is ODROID N2+, RP4. NUCs work well and often better price/performance.
i3/i5 6th - 7th generation should be fine ?
@feral drift I fixed everything and said it with this message, but the bot converted it to a file lol.
Basically I edited my netplan and that fixed it
Thanks a lot for your help!
oh, good to hear! i didn’t use netplan for it myself since I had issues just getting that to even start to work lol - I think in my case, precisely what I did was make the bridge in cockpit, let it drop the connection, find its new IP and resume from there
make sure you also change your VM’s network config accordingly
(previously elaborated on that back up here, while trying to help someone else)
In my case, sadly creating the bridge either with nmcli or Cockpit just disabled my connection (nmcli just showed the bridge as if it was trying to get IP from DHCP). Perhaps my issue lies in netplan itself, but since by adding 3 lines to the default plan it allowed me to create the bridge painlessly, that’s my goto fix for now.
is it possible to create a .well-known file, so external hosts can check it without login
No
HA is not a general purpose web server
DNS validation is likely what you want
yes, I know, but the problem is, that I have lost my 2FA/backup codes to cloudflare, which handling the dns :/ And I need to place a .well-known file or change in html (meta tag) to show that I am the owner of the account
Spin up a web server
Also, that's impressive to lose both the 2FA app and the backup codes. Cloudflare also support WebAuthN for MFA.
I saved in 1Password, but somehow when I changed to cloud version, it was lost in sync :/
i think its easier to transfer the domain to an new account
sounds like it
Good luck doing that without being able to release the domain from the old account
Easier would be running Apache/Lighttpd/some other web server to host that file
actually I might not need cloadflare as proxy anymore, because i want to test cosmos - which also have that security function
in the last 10 minutes you could have spun up Apache and have it serve that file already, probably 5 times over
nopes, because the dns is not created for the ha-domain, its a tunnel/proxy handled by cloadflare
You can stop HA and have the web server run on the same address and port that HA's on
but its a HA add-on which makes the cloudflare proxy
there is no firewall rules - its a tunnel
#add-ons-archived may be able to help
I have already moved the domain to a new account at cloudflare, it was easy, As long I can manage the nameserver at the domain registry 🙂
so i finally moved frigate away from HA to a proxmox LXC container with GPU decoding. Now im left with a oversized Virtual HA for Home assistant. Any way to shrink this down again?
i once expanded it in proxmox, then let HA grow to fit
My RasPi with HassOS is stuck in a bootloop and I FINALLY got the serial console working, but sadly I have no idea, what's the problem. Can anybody help please? https://pastebin.com/CZCpviCb
is that running from an SSD?
It is. Migrated it about a year ago.
And are you using a powered USB hub for it?
I'm using an "original" Raspberry Pi power source, I think it's 3A. I'll check it.
Do you have other USB devices connected?
Because a lack of power can cause all sorts of weird stability problems
Nope. The power adapter (5.1V 3.0A) is connected directly and only to the RPi.
Yeah... so I'd be looking to add a powered USB hub
Where? Why? It was working for year(s) without a problem.
Between the Pi and the SSD
I've seen a lot of stability issues without one, because the Pi just can't provide enough power when it's run nearer the limits
and what's the "No valid slot found"?
I don't believe it's a power issue - RPi takes 6.5W peak, SSD takes 0.5W peak and that's still below 50% of the power supply I use. There's plenty of room for any overhead and no way the Pi and the SSD would consume 15W - it would burn within seconds if it draw that much.
It has been the case before, tinkerer is providing advice based on what we see coming into the server every week
Try #hardware-archived and please read the pins before posting
oh ok thanks
Hey so I installed HACS through the command line and tried to open it and it wouldn't let me then it went away and now I can't do it through bash anymore. Would HA have something in place that doesn't let me install it that I need to turn off or something?
No
The only command line thing you do with HACS is download it, everything after that is done in HA's UI
Yeah, I've watched the videos it looks easy but something popped up and shut down the process now I can't download it again and I can't get it from the UI I didn't take a picture of what it said but it looked like Ha watcher shut it down. I figured I would do it later but I can't.
Were you using some video guide or just following the installation instructions on the hacs website?
ive got an aqara g3 camera which is homekit, but i lost the pairing code. any way to get it?
Is it not written on the device itself?
Do I have to HAVE ethernet
When installing it virtually on windows
Or is fast WiFi ok
Ethernet is the most reliable when it comes to virtual machines
ok trying out HAOS and set up a VM on UnRAID (working)
restored from a HA docker core backup (some stuff is working!)
However, minor issue - network auto-logs in as a wall panel [user], which doesnt have admin rights. Any thoughts on how to change the config.yaml in the VM?
(if I log out it just auto-logs back in again - is there a direct user based URL to force the user change?)
ok updated NGINX to the VM IP to allow external access - so i could log in as the admin
why whenever you update the internal core, supervisor, os, etc via gui, it doesn't refresh the page so you think the update failed
it does?
the only time it may not happen is when the OS updates
but all others have feedback because the supervisor or core is up during that time.
supervisor had update...... it spun when i hit install..... after a few minutes it stopped spinning still showing there's an update and the popup still there
had to refresh a few times before it vanished
because you weren't patient
you don't actually need to ever install supervisor updates, that will happen on it's own. And the message will go away after the next version check.
can you also use a m2. ssd in the external housing instead of a 2.5 inch ssd in the external housing to install HA on the rasberry ?
That would likely depend on the housing I suppose. In the end it's a USB connection either way
then a normal ssd would be enough , is it really problematic to run HA on a micro sd card ?
Depends on how good you are at automating your backups
they say a micro sd card is not suitable for continuous operation of HA
Yes the msd isn't really suitable for anything beyond light use
And "they" are right
But if you have automated backups you can at least recover easily when it fails
You should do that either way, it's important to keep backups of important things 'somewhere else'
Yeah, but nobody listens to that
they say a micro sd card is not suitable for continuous operation of HA
🔁
is it possible to insert a usb memory stick into the rasberry and install HA on it ?
sorry
No
thanks then I will probably take an SSD that you can use later when you change the hardwareok
And use a powered USB hub for that, or you'll be back later
wanted to connect the ssd directly to the rasberry without a hub
That's a bad idea
Don't let me stop you though, if you want an unstable install and disk corruption then that's up to you
ok its better to connect a powerd usb hub to rasberry
That's what I said, yes
a recommendation for an active usb hub ?
I know you should pay attention to the amperes of the supplied power supply
Search the history, there's been a few suggestions - and options do depend on your country
#hardware-archived probably has more useful suggestions than here
Hi :)
I run HA-OS
Network mount for backup have failed at some point, and it look like backup kept going on the local folder rather than the mount (lack of mount folder RO permision ?)
Now i'm stuck because HA is blocking the mount "Cannot mount Freenas_Backup at /data/mounts/Freenas_Backup because it is not empty" and i can't find the /data/mounts under the ssh addons ...
The layer of container mean i don't know how to fix this
Please let me know if this is the place to ask as I’m new here. I’m currently running HA sighing virtual box on a dedicated windows machine with other services such as Plex/steam gaming servers. I’m trying to move away from using virtualbox. Would my best route be to use docker? I feel like most of my integrations will be simple to migrate over as it’s mostly api connections but I think zwave is the one that is going to be the most difficult.
well I did a quick search of the discord and found my answer 🙂
heya guys, can i use the rpi5 for HA already?
HAOS for RPi5 is still in Beta and not fully ready yet. A Container install is possible.
thanks for answering. so i have to wait cause it will be stand alone and exchange for the pi4, or i switch to beta path
The Beta is not ready for real use yet.
sad, however i have time. thanks again^^
Hey folks, bought a new SD card and a clean usb to use as a data drive on my pi3b HA. I cloned the card but before I had issues where it wouldn't install the new updates and randomly kept crashing during installs. I thought my SD Card was faulty but now I wonder i it wasn't faulty AND my install is corrupt as the cloned card seems to have the same issue. Should I rather do a fresh install on the card and a restore from backup vs using the possible clone and its issues?
Hi guys, A few weeks ago I've installed home assistant supervised on a raspberry pi 3b+. I installed Debian 12 (on a SSD drive, no GRUB), OS Agent and the Home Assistant Supervised Debian Package according to the official supervised-installer guide. Then I restored from a backup and everything is working as expected. This week I've updated Debian (apt update && apt upgrade) to install a new kernel and after reboot the Home Assistant Observer is reporting Supported: Unsupported (cgroup_version). Everything seems to be working fine but I'd like to fix this issue. After reading some google results and looking at the forums I'm still unable to find a way to setup cgroup to use v1. Any help would be appreciated!. Thanks in advance!
See what the installer does: https://github.com/home-assistant/supervised-installer/blob/5b8fd2b0f45012c88a661126e0b38656326a2df1/homeassistant-supervised/DEBIAN/postinst#L163
The message should have showed you this link which suggests to re-run it: https://www.home-assistant.io/more-info/unsupported/cgroup_version/
Also see this:
- https://github.com/home-assistant/architecture/blob/master/adr/0014-home-assistant-supervised.md
- https://wiki.archlinux.org/title/cgroups#Enable_cgroup_v1
Supervised isn't really as good choice. What's the reason for choosing it?
is there someone who tried HA Container on an immutable linux distro?
Currently at work and signed into ha app on my.phone. is there a spot to see what my url set up was so I can access my system from work? I remember setting this up when I fisrt started the system up.
Settings > Companion App, then tap on your server at the top of the list
Thank you!!! Christmas party at work today so nothing to do in office. So figured why not mess around in HA. You just saved my day. Lol
Enjoy the party :^)
🤣
My VM isn't getting an ip from my network, it should be 192.168.1.x and it is getting this one: 10.0.2.15
I installed by doing this:
virt-install --name hass --description "Home Assistant OS" --os-variant=generic --ram=2048 --vcpus=2 --disk <PATH TO QCOW2 FILE>,bus=sata --import --graphics none --boot uefi --hostdev 003.003
The VM is running, HAOS booted without errors.
@timid gorge it needs to be using a bridged network adapter
How would I do that ? I'm using Cockpit on Fedora Server.
Hello, im stuck on installing HA on a rasbery pi 3 b, i have it so far that i get to the "waiting for the home assistant cli to be ready" and went to homeassistant.local:8123 and got the [supervisor.host.sound] Can't update PulseAudio data: Failed to connect to pulseaudio server
You might be able to do it in the network manager. I've only used guides for Debian based distros, so searching for "fedora bridge network" should get you there. Then it would be available to cockpit I assume and in turn used by the VM
gotcha, thanks.
as of yesterday, home assistant is no longer accessible via the web browser or iphone app (i've restarted multiple times). I connected a mouse and monitors to my RPI4 and it says this "[WARN] Home Assistant CLI not starting! Jump into emergency console...
Anybody available to please help?
when i open up HA observer, it says this a bunch of times:
s6-supervise watchdog: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise supervisor: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
What hardware is that on?
They said pi4
I installed home assistant on a usb stick and boot it via a rpi3. Is there a way to figure out what the system is currently doing when displaying "Preparing Home Assistant". Show Details seems to be not that informative...
Hey guys I'm having issues with a fresh install of HA when I type in the HA ip I'm getting 500 Internal Server Error
Server got itself in trouble
You could try this at the CLI: ha supervisor repair
I reinstalled HA and this solved my issue
hey guys, i've been trying to make some custom rest sensors and keep running into an issue - most of the time when i restart HA, i get this error on my rest component "TypeError: 'NoneType' object is not iterable", but i don't know enough to know how to fix it or what to do or where to look - does anyone have any suggestions?
for reference, it has this in the error log: "File "suburbCoords.jinja", line 3, in template
TypeError: 'NoneType' object is not iterable"
and suburbCoords.jinja is a custom template i made which does this:
{%- set value_json = state_attr('sensor.suburb_coordinates', 'entries') -%}
{%- for x in value_json -%}
{%- set testPostcode = x["postcode"] | int -%}
{%- if testPostcode == postcode -%}
lat={{ x["lat"] }}&lng={{ x["long"] }}
{%- break -%}
{%- endif -%}
{%- endfor -%}
{% endmacro %}```
although sometimes i also get the error "Template error: int got invalid input 'unknown' when rendering template '{% from 'suburbCoords.jinja' import suburbCoords %} {% set postcode = states('input_number.postcode') %} {% set coords = suburbCoords(postcode | int) %} https://www.racq.com.au/ajaxpages/fuelprice/fuelpricesapi.ashx?{{ coords }}&fueltype=37' but no default was specified" instead, and i have no idea why or how to fix it
I have an old Odroid N2 4GB RAM that I just put a fresh install of HA on, and I would like to connect it to my Aqara water leak sensors, is the Home Assistant Sky connect dongle all I need to get that all up and running?
I want to migrate HA to another machine. So far I've read creating the backup and importing it is most of it. What about the Zigbee dongle and all it's connected devices? This dongle will have another mount path on the new machine. What is there to look out for?
You should be using /dev/serial/by-id/
That won't change, and you don't need to do anything
Hmm, right. forgot about that unique ID. Well, then I'll give it a try.
Hey folks, what is the best way to update HAOS when running HA in a VirtualBox VM? Updating the OS has seriously messed up my installation on a couple of occasions
has anyone deployed the haos ova qcow2 image to a lvm-thin datastore on their proxmox node?
just importing to the local datastore keeping it as a qcow2 image works fine, boots right up. trying to import or convert to raw then import to the lvm-thin datastore doesn't work, it can't boot.
i figure i must be missing a conversion step or qcow2 -> lvm-thin just isn't supported
My wifi provider changed, and now when I try to connect to HA running on my raspberry pi 4b locally, it just doesnt work.
I have both ipv6 and ipv4 addresses for it
well, that's nuts... qm import disk apparently doesn't know how to do this and neither does the 'move storage' option in proxmox. i manually created a lvm thin volume then dd the raw image to the lv and it boots fine.
so the dd of the raw image wasn't actually sparse i used the 'move storage' function again to see if it would sparse the disk, which it did, but now it doesn't boot again.
well, emu-img convert -O raw -o preallocation=off haos_ova-11.2.qcow2 haos_ova-11.2-sparse.raw actually created a sparse image
and dd if=haos_ova-11.2-sparse.raw of=/dev/mapper/2tb--hdd--vg-vm--102--disk--1 bs=8M conv=sparse status=progress actually writes the sparse data to the lv
and that boots
just a generic import like so qm disk import 102 haos_ova-11.2-sparse.raw hdd-2tb does not work
Hello everyone! I have a question... I have an old X86 system. And I been trying to install HAOS onto it. There is one formatted HD in it, 984 gb, formatted (Fat32).
If I load Ubuntu on a USB, boot from it, TRY (not install), I don't see the image file as it's written on the 2nd drive...
If I try to install straight from the HAOS image on a USB, it looks great, but then jumps to [WARN] Home Assistant CLI not starting. Jump into emergency console
Why do you convert it to a raw one in the first place
Did you make sure it has the uefi stuff configured?
In theory the qcow2 image should already support thin provisioning so no conversion should be required
Or could it be that the sparse version acts differently to the normal one
Alternatively you could try out the installation script https://tteck.github.io/Proxmox/ from tteck
importing it as qcow2 wasn't working so i tried a bunch of things
uefi / secure boot stuff was all fine
when installing HAOS via the Ubuntu method. can I extend the restored partition to take up the entire drive after its done?
somehow qm disk import was just corrupting the disk regardless of what format the image was
This worked fine for my LVM-Thin: <#1162789585894514748 message>
Hope this is right channel - Proxmox - LXC running debian 12 - an install script but koek? MQTT - Job for mosquitto.service failed because the control process exited with error code.
See "systemctl status mosquitto.service" and "journalctl -xeu mosquitto.service" for details.
error code stuff in there
having baddd luck. goal - 1 mqtt container, 2 zigbee2mqtt containers LXC 2 POE ethernet routers, 1 for house, 1 for shed. probably should have stuck with addons which worked fine and added poe coordinator and firmware the other for routing mode.
different from the issue i was having with tailscale but in the proxmox host, go to the console shell, cd to /etc/pve/lcx and nano the .conf file there, add the following and restart your HA vm
lxc.cgroup2.devices.allow: c 10:200 rwm
lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file
ah cheers. ill try that.
try it and let me know
strange i cant cd into etc eve though ls shows it
run ls again and ss
cheers
let me know if it works
same error, could haos addons of z2m or mqtt be interfering?
i might recreate the lxc later n redo it. maybe a freak error
are you in the homelab discord? they know more about proxmox related things than most here probably do
yeah join the homelab discord idk if i can send an invite here without banhammer
homelab is dangerous for my wallet
same
i got optiplex x 2 so far, want nas 4bay with gpu for jellyfin, a frigate nvr that fits a 1-3ru case, 16-24port poe switch and a second 2.5gbe switch for normal network. maybe dahua cameras, coral ai. been loving home assistant.
and run a 9ru rack
should fit above a doorway neatly.
Try running /usr/sbin/mosquitto -v as mosquitto (su -s /bin/bash mosquitto) or check the first output of journalctl -u mosquitto.service. Also check /var/log/mosquitto/mosquitto.log
cheers, ill check it when i get home later.
Using wifi? I just finished updating my installation on my pi3b and one of te big issues is that the wifi kept dying on the pi casing either the supervisor or host internet to be lost. Used a spare cable directly into my wifi router and it works much smoother. Also, it takes a LONG time for it to start up on a fresh install. 20-30 mins. I also got the PulseAudio error initialy but that was due to being unable to contact the network properly.
Hello, I am trying to remotely access Home Assistant thru tailscale vpn and got the Home assistant machine incorporated in Machines. It is Connected. Now, how to go from here? How do I open Home Assistant?
su: user mosquitto~ does not exist or the user entry does not contain all the required fields
/usr/sbin/mosquitto -v worked !!!
legend
703246308: mosquitto version 2.0.18 starting
1703246308: Using default config.
1703246308: Starting in local only mode. Connections will only be possible from clients running on this machine.
1703246308: Create a configuration file which defines a listener to allow remote access.
1703246308: For more details see https://mosquitto.org/documentation/authentication-methods/
1703246308: Opening ipv4 listen socket on port 1883.
1703246308: Opening ipv6 listen socket on port 1883.
1703246308: mosquitto version 2.0.18 running
not sure it's using my config i had but its working. guess ill have to see if the z2ms work
whats teh method to make it an autostart service.
and edit it's config yaml
hey i am running a homeassistant supervised installation on debian, but since a few months I have a weird issue that $something drops the DNS servers from the main interface and thus HA/* can't access the internet anymore, plugin updates fail. Most interestingly it is still able to get update informations.
I got two VLANs setup on the machine for the ZHA and z2m controllers so they have their own isolated low traffic network(main net caused the esp32 to freak out sometimes).
Apparently the supervisor does this https://paste.stejau.de/087d9850e8b1 after a few days/weeks. It does not matter if i clean up.
Any idea why it might run amok here and how to properly persist DNS Settings?
I put them into NetworkManager and the UI multiple times but they are gone after a few days :(
complete guess, but DNS is usually configured along with DHCP lease. leases usually last for a day or so (depends how configured), which might explain why DNS config changes after a while
sorry, i should have mentioned... all three interfaces have static network config
got annoyed when discord told me my message was too long :(
and I don't see a dhcp client on the machine(checked just to be safe)
i have vague but bad memories of network manager. i would guess that's responsible. there ought to be some logs somewhere explaining what it's doing.
yea sadly a supervised install really really wants that monster
hrm this is plausible.
the machine rebooted for updates and upon reboot it looses dns servers
i have yet to attempt to install HA itself. AIUI, supervised seems the least overhead option without sacrificing add-ons, but is not supported in ubuntu (but is in debian). "has strict requirements you need to follow." i expect there's a good reason for that, so when i do tackle it, i guess i'll use kvm. what distro are you hosting the supervised container on? is it really worth going that route over kvm?
debian :P
well, at least that's a supported OS, i think...
yes i guess it is, as i run custom networking and stuff like backup/monitoring which I hate splicing into existing appliances
i really really hope its not systemd-resolved
testing something really quick
i sympathise. i'm too old school to be comfortable with containerised stuff, but i will have to join the 21st century (at least the last decade) eventually.
upon each reboot supervisor will create a new set of connections in networkmanager
nm must be configured somewhere.. is this nm instance running inside the container? it's not, is it?
no its on the system and the hassio_supervisor container interacts with it
Try mosquitto rather than mosquitto~ and don't continue if there's an error. You should not run this as root
at least your config won't get muddled by hassio. bad news is you have to figure how to configure nm to use the right DNS servers.
Very few recommend supervised.
thats the issue, hassio muddles it :P
but hassio's inside a container isn't it? how is it muddling nm outside? unless the container also uses nm, and it's the config of that that's messed up...
alternatively, the nm (or whatever) inside the container is trying to fetch config from the nm outside the container, but nm outside hasn't been configured to supply the correct DNS
the Hassio Supervisor connector interacts directly with various host services so it can configure Network and other stuff to its liking
and ensure a "round" experience
container not connector
oh
How do I swap to another user, basic q I know but I forgot my Linux stuff lol
With the the command I gave you earlier. You only need the -s because it's not a normal user.
The issue was that i did not add the ifupdown plugin to NetworkManagers config but then used /etc/network/interfaces* to configure the stuffs. After changing this it appears stable
The solution is apparently to move all config towards network manager completly
yep that was it. grml :) works now and since its still a bullseye I will upgrade it to bookworm.
https://github.com/home-assistant/architecture/blob/master/adr/0014-home-assistant-supervised.md
It's probably assumed you're using a vanilla debian 12.
when i last looked it said deb11 :P
and i was annoyed as i initially installed it all on a deb12, so now i can finally upgrade
yes, nm expects to have full control. mixing config methods does not work (which is why i have bad memories of it!)
and here's me upgrading from stretch...
'cos the docker docs don't say anything about support for stretch, and well, stretch is 5 or 6 years old now!
They still have packages for it but stretch is deprecated and the install script warns about it: https://download.docker.com/linux/debian/dists/
it's long since past time i upgraded all this stuff. i've had a note on my whiteboard to upgrade my workhorse and VM machines, as well, since christmas of '21, perhaps even '20. maybe i will do this christmas, because those are still running 18.04.
but upgrading them will be much more of a headache than these pi's
My debian upgrades were mostly pain free
that's exactly what i did but with 11.1 and 11.2 images and i got the same broken result. didn't try 11.0
they both run webservers, and IME apache upgrades have nearly always been painful. this time will be worse, because i think they might still be using FastCGI.
plus a bunch of other stuff that i've mostly forgotten about.
but someone's bound to moan when it breaks.
Hello guys, new around here and have been doing some home automation initially with EIB/KNX, later on RF / Zwave with various controller hubs and now thrilled to be moving on to Home Assistant for personal use! I bought myself a nuc and thought I’d hook it up to my projector for some streaming/surfing and want it to handle my home assistant with cloudconnect.
@raven forgereinstalled mqtt, works it seems, now on to zigbee2mqtt i get this error https://imgur.com/a/nbnbLhL
Are you sure it listens on that port?
Any ideas on how to achieve this in a windows environment without any major drawbacks? I’d like compability with many existing plugs, dimmers, shutters from various brands.
not sure, what port do you think it'd be
https://tteck.github.io/Proxmox/ im following this guide
ha it was 1883
its worrrkinggg
yesss i see the z2m page.
Not a fan of such scripts. You're just creating a black box.
what's that
In this case a VM/CT that you don't fully understand how it works. You didn't make the choices.
Is this a good place to ask about bad gateway errors?
hi guys! I'm trying to install a custom addon from github, and I get this error:
"The command '/bin/ash -o pipefail -c apk add --no-cache python3 py-pip && pip3 install --upgrade pip' returned a non-zero code: 1"
anyone got any idea?
Omg I get this error too!!!
My MQTT page always refuses to connect no matter what I try. What did you do to fix it?
what mqtt page
The one where u add in the docker compose file and specify the mqtt server it needs to connect to
Then on the HA it will appear as a tab to click
Like a side bar
all of what you just said does not make sense
You're either going to use an addon, which does not use docker compose. That will show up on the sidebar. Or you're going to use a container, which does use docker compose, and it will not show up on the sidebar.
Hmm sorry I made a mistake. The docker compose file installs moquitto and mqttzigbee. After which I had to go into the HA config file to add the mqttzigbee into the HA side bar.
Within the mqttzigbee config file. I point it the seever url to my mosquitto server which is running and alive. However I get that error message shown above in the imgr link
did you create a docker network for them to talk on?
Ok this I do not know…
Man, if you are going docker route, you really should learn how the containers interact together
otherwise you should go HAOS
I tried to make it a learning experience for myself to learn about docker. Do you have any guides I could read about?
I'm sure there's plenty of guides out there that may work
I know theres a bridge network within docker with a 172. Smth ip address
I haven't looked for any
So the key words I would need to search for would be ‘docker network for different containers’?
i only managed to use ZHA successfully
just look for a tutorial that has 2 docker containers talking to eachother. Or look up an HA MQTT Containered tutorial
I"m sure there's plenty out there
I tried to do it for zigbeemqtt and thats where I hit my road block
Hello everyone, im installing HA on a debian 11 VM and i get this error when i type this command :sudo apt install ./homeassistant-supervised.deb. Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'homeassistant-supervised' instead of './homeassistant-supervised.deb' Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: systemd-resolved : Depends: systemd (= 252.5-2~bpo11+1) but 247.3-7+deb11u4 is to be installed Breaks: systemd (< 251.3-2~) but 247.3-7+deb11u4 is to be installed Recommends: libnss-resolve but it is not going to be installed E: Unable to correct problems, you have held broken packages.
can someone help me please ? I already asked to chatGPT and nothing worked
Use code blocks. Don't use supervised. If you insist use a recent debian and read this: https://github.com/home-assistant/architecture/blob/master/adr/0014-home-assistant-supervised.md
The problem I wrote here about few days ago is still there - a following boot loop: https://pastebin.com/TN50zXqd (read over UART)
@humble mirage and @manic bane recommended a powered HUB for my SSD so I bought one but it was just waste of money as the result is the same. I also replaced my Raspberry 5.1V 3A power source with an even more powerful one, so I don't know, how much more power it can drain and where? What amperage do I need? It was working flawlessly for at least a year with the 3A.
Does anybody have any suggestion other than that I need more power?e
thanks, i did it then reboot my system but idk how to restart home assistant?
Right now I have HA running in docker container.
Since I have a spare x86-64 machine I'm thinking of installing HA on it. Would this allow me to run addons as ESP Compiler, config editor and other cool stuff?
Also is there an easy way to migrate everything from docker onto this new machine? I assume backup on docker machine and restore in standalone should work but just in case there are any "gotchas" I have to look for
If you put HA OS on that machine, you certainly will be able to run add-ons. Migration is just a matter of backing up as you mentioned and restoring, no real gotchas there
Awesome. I'll give it a go 🙂
put proxmox on and run haos in a vm. it's great. run on a dell optiplex/tiny sff server. throw in 32-64 gig ram and play around. low power use and really fun to play with.
i went from one of them micro pc's to proxmox vm in 10-15 minutes i think
restore from backup was easy
just remember to pass through the usb dongle
if u get a second optiplex or hp, whatever, u can run cloned home assistant so if one blows up, you load the other in about a minute. just use the same usb port.
proxmox helper ve scripts in google helps speed it up if ur lazy like me.
A ethernet coordinator is a better choice when sharing it between multiple nodes.
hi i recently switched to homeassistant core and it is working. but scince there is no option to load from a backup in homeassistant core i just replaced all the filles with my old homeassistant filles and this worked great. until i logged into one of my non admin family member account every non admin account is also admin no matter what i change in the gui. i think i have to change something in the yaml but i don't know where home assistant handles the admin rights and stuff. could someone point me to the right?
Hi ! Is there a way install homeassistant x64 on a 4 GB drive with 4 GB Ram? Fujitsu Futro S520?
4 GB is very likely to be too little. You can flash it but during install it will probably run out of space while downloading and extracting all the docker images. Assuming you meant HAOS. Just plain HA should be doable depending on the distro and installation method.
I have started a restore and it's been going on for over an hour... Is this normal or is there a way to check if it's actually doing something?
I backed up the docker config and started restore on a fresh HA OS install
i don't know if it's doing anything but you could looks at your processor usage and see if that is doing anything
or if you disk usage is changing
I have a "headless" setup but I can reconnect the monitor to check what's going on
Connect it and follow this: #installation-archived message
If there's no recent activity or nothing happening after some time it's either finished or hit a snag.
login as: pi
Pre-authentication banner message from server:
| Please note that SSH may not work until a valid user has been set up.
|
| See http://rptl.io/newuser for details.
End of banner message from server
pi@raspberrypi.local's password:
Access denied
Any ideas?
Using putty to be able to configure the pi
You likely need configure ssh before you can use it. But that doesn't sound like it's related to home assistant at all
Uh@idk where to adk really, also the sd card name is bootfs not boot
How can I get HASS companion working on Galaxy s5? It doesnt seem to work right now
I can enter the address of my server, but it doesnt laod from there
(looking to make a dashboard // security camera out of it)
Can someone please clarify something for me;
If I flash the HA OS image onto a USB device and boot the system from it. Does it automatically copy the HA OS onto hdd or I have to do that somehow?
I can access the HA just fine but for example config->storage is showing the USB device as the disk. Do I just move it to the SSD?
Is there a reason there isn't a HAOS ISO and installer? Like you would with a normal Linux installer? An Ubuntu ISO for example?
How can I get HASS companion working on Galaxy s5? It doesnt seem to work right now. I can enter the address of my server, but it doesnt laod from there (i'm looking to make a dashboard // security camera out of it)
Folks using container install, how do you handle all your certs? I'm going deep down the rabbit hole. HA is no problem, but now to display iframes, I need each container (eg esphome, nodered, grafana) to have certs as well. I'm using lsio swag for everything so it's getting a bit hard to figure this out in my head the best way to do things. I'm using internal DNS records as well on my router, so that it could work externally.
Single wildcard cert used by the proxy used on all hosts is how I've done it. The cert setup doesn't need to be complicated
That's what I have. I guess I just need to add a server section for every docker container
Why would you need that if you're using a reverse proxy?
Right, but I now need to proxy my containers that HA uses. https://i.imgur.com/WMSAkS8.png
The hairpin NAT or DNS override
Yeah I'm using DNS override locally.
Still, why do the containers care?
Every container that I want in an iframe, nginx needs to know, proxy it and have TLS.
That's in nginx, not the containers themselves
Yes
Anyway, just trying to figure out what you meant with that comment
Sorry, maybe it wasn't clear.
I think we're saying the same thing 🙂
grafana is the only one that doesn't seem happy
I had to hardcode the grafana IP in the nginx config (set $upstream_app 192.168.1.33) . It wasn't happy with the container name. The other 3 works with the container name just fine.
Maybe it's a bind thing within grafana, but it's supposed to bind to 0.0.0.0 internally according to the docs.. anyways, it works.. the less I touch grafana the happier I am 😄
I had a lot of issues trying to integrate grafana into HA and gave up. It just doesn't look good
Maybe the new HA historical stuff will eventually enable me to ditch grafana
I have port forwarded my installation and used the lets encrypt addon to allow https connection, and this has resulted in access through:
https://ha.gower.stream:8123
What would the process be to have this the same way but without the need for the port at the end (no 8123)
morning guys, not sure what channel to use, so maybe this thread must be moved somewehere else.. my issue is that the storage on my tinkerboard is running low, i would like to migrate the data folder to an usb stick. Stick (sandisk 128Gb) is recognised in Hardware, but i cannot migrate the data folder through UI.. No suitable disks are found... any ideas??
Is the stick bigger or equal to the installation drive?
yeah, 32 integrated, 128 external
You could try to remove all partitions on the USB stick
freshly out of the box, formatted fat32
its mounted in hardware-all hardware; dev/sda
but it says; subsytem : Block
Good morning,
I live in a student residence which provides open wifi. The connection to the network goes through the browser.
I recently ordered the YI Home camera but I can't get it to work. Is there a solution please?
This is not HA installation related. And please do not crosspost
Please do not cross post. Read the channel description, post it and wait for folks to respond. Crossposting wastes people's time as they're unaware of the help you're getting elsewhere.
If you don't get any responses after an hour or more, and your message is no longer on screen, it is fine to re-post or post a link to it.
Is there a way to obtain or configure a HAOS VM/Install with just the kernel, cli tools and docker capabilities? There seems to be no way to get matter/thread/multipan working reliably as standalone dockers (tried with three different systems now) without some patches to the kernel that HAOS incorporates but I don't want a full blown HASS VM running and all my ideas with just removing the unnecessary containers fail as supervisor restores them
figured it out... it seems to be a regression in the matter-server itself. While stable (5.1.1) gives me major issues, 5.0.1 (the version HAOS still uses) works fine
You would forward port 443 to 8123
thanks
sorry for the trouble
but what way round does wan and lan mean
for ports
is lan the local llike 8123
and wan what it is exposed as
so 443
Exactly. Wan is the public network. Lan is your local network
Thanks
Can anyone look into this please? (When available.)
Can someone help me with some errors? I'm trying to figure it out but I don't know what to do. Server with truenas scale and I try to install HA in VM. After installation I get some errors and I believe are from some permissions...
https://ibb.co/wgyxZCm
https://ibb.co/q9KknX7
https://ibb.co/cyFRyPk
Hey everyone, and happy holidays 🙂
Can someone please help me, im a bit lost...
Im trying to flash Home Assistant OS onto a SSD ive got hooked up via a external enclosure...
The SSD is 1TB
But everytime i flash the image via rpi-imager im ending up missing hundreds of GB....
They arent under unallocated when checking with KDE Partition Manager....
What am i missing?
Can you share what lsblk -o+LABEL,FSTYPE,MODEL says for the drive? HAOS will grow the data partition at boot so I wouldn't worry just because it's small immediately after flashing.
Give me a sec 🙂
sdb 8:16 0 953,9G 0 disk RTL9210B-CG
├─sdb1 8:17 0 32M 0 part hassos-boot vfat
├─sdb2 8:18 0 24M 0 part squashfs
├─sdb3 8:19 0 256M 0 part squashfs
├─sdb4 8:20 0 24M 0 part
├─sdb5 8:21 0 256M 0 part
├─sdb6 8:22 0 8M 0 part
├─sdb7 8:23 0 96M 0 part hassos-overlay ext4
└─sdb8 8:24 0 1,3G 0 part hassos-data ext4
sr0 11:0 1 54M 0 rom 200110171222 iso9660 hp DVDRW GUE1N
As code block and with headers (description at top) please. That output has a specific formatting and alignment that one wants to preserve for readability.
What is the formating for a code block on discord? Im not that used to this platform 🙂
Three backticks at start and end each: https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline-#h_01GY0DAKGXDEHE263BCAYEGFJA
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.
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS LABEL FSTYPE MODEL sda 8:0 0 238,5G 0 disk SanDisk SD8SNAT-256G-1006 ├─sda1 8:1 0 256M 0 part /boot/efi EFI-SYSTEM vfat └─sda2 8:2 0 238,2G 0 part / rootMX23 ext4 sdb 8:16 0 953,9G 0 disk RTL9210B-CG ├─sdb1 8:17 0 32M 0 part hassos-boot vfat ├─sdb2 8:18 0 24M 0 part squashfs ├─sdb3 8:19 0 256M 0 part squashfs ├─sdb4 8:20 0 24M 0 part ├─sdb5 8:21 0 256M 0 part ├─sdb6 8:22 0 8M 0 part ├─sdb7 8:23 0 96M 0 part hassos-overlay ext4 └─sdb8 8:24 0 1,3G 0 part hassos-data ext4
Use three (3) backticks 😉
But that looks as expected. Perfectly fine.
Great 🙂
Thanks for the help 🙂
hey guys, happy holidays to y'all! still struggling to get my fresh usb thumbdrive to be recognised to be used as datadrive...:-( it gets mounted, but cannot select it in UI to start migration... any ideas?
visible in Hardware as SDA1
do i need to mess with udev rules first or is it possible to stick it in and migrate the datafolder right away?
Hey, folks! Installing ESXi, but it's throwing a license expiration error. Anybody run into this before?
hi and merry xmas!
i am trying to install homeasisstant supervised in an debian 12 vm. i am using this guide https://community.home-assistant.io/t/installing-home-assistant-supervised-using-debian-12/200253
after the step: "apt install apparmor jq wget curl udisks2 libglib2.0-bin network-manager dbus lsb-release systemd-journal-remote systemd-resolved -y" the hostnames/domains could no longer be resolved. Before this step, everything worked perfectly
/etc/resolv.conf: nameserver 127.0.0.53 options edns0 trust-ad search .
Can anyone help me?
so, is that the right DNS server? IIRC that would be a local-onbox dns server.
can you nslookup or ping anything by name?
check that you can get to the internet - ping 8.8.8.8
trying changing the nameserver to 8.8.8.8 or something
8.8.8.8 is google dns
Don't do that last part. Check resolvectl status. Do you have a good reason for picking supervised?
ping 8.8.8.8 works fine.
i could not ping anything by the hostname.
i have changed the DNS entry in /etc/systemd/resolved.conf and now everything works fine
You're circumventing systemd-resolved that way
yep but i have no idea who i can fix it without circumventing systemd-resolved
You seem to have ignored my previous message and the comments in the config. Restore the file's contents and read my message.
ok i will do it. vm is rebooting.
uargh... i dont know why... but now it works without the manipulation in /etc/systemd/resolved.conf.
You probably just had to start the service but I don't know how you tested. I also don't know what the command returned or why you picked supervised.
Greetings, I have installed 11.2 via rpi imager onto new SD (Samsung Pro Ultimate 128gb), being used in RPI4, on the display I can see it goes through the init process, resizing and setting up swap. Eventually, I get to starting CLI, the display goes blank. At this point I get mixed results, sometimes I am able to reach the GUI and the gui will tell me there is an error, usually something about a container. Sometimes the GUI is not available. Or sometimes it will look like everything is ok in the log and say something supervisor setup complete, and that is it. I have tried installing the image on the SD card several times and starting over. Any suggestions or guidance on what is causing the issue with installation?
Hello, can somebody help me? I am trying for hours already to run nginx reverse proxy for HA to have it under SSL/HTTPS, but I am getting 502 Bad Gateway ...
My nginx configuration: my host machine is 192.168.0.110 where is port 80 a 443 forwarded and my HA is HAOS via KVM on that host machine
server {
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/domain.xyz/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/domain.xyz/privkey.pem;
server_name domain.xyz;
location / {
proxy_set_header Host $host;
proxy_redirect http:// https://;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade"; #syntax change here
proxy_pass http://192.168.0.73:8123;
}
}
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.
There is a community guide you can follow for setting up a reverse proxy with homeassistant https://community.home-assistant.io/t/reverse-proxy-using-nginx/196954
This also includes an example configuration file
I tried this one, but I will try it again.
nginx: [emerg] bind() to [::]:80 (98: Unknown error)
nginx: [emerg] bind() to [::]:443 (98: Unknown error)
nginx: [emerg] bind() to [::]:80 (98: Unknown error)
nginx: [emerg] bind() to [::]:443 (98: Unknown error)
nginx: [emerg] bind() to [::]:80 (98: Unknown error)
nginx: [emerg] bind() to [::]:443 (98: Unknown error)
with that nginx configuration
Seems I found the issue, I had added a case / fan to my RPI4, when I removed it, everything started to work normally, install completed.
Thanks for reporting back. How was the fan powered? GPIO or USB?
ye idk how the ssl it just doesnt work :.. so many hours of trying
I am running the latest verion of HA on a rpi4. It keeps crashing at random times and I am trying to find the logs prior to rebooting. The problem is that the .log file is cleared upon reboot. I have extracted the /var/log/journal directory and all its contents but I cannot run journalctl on the CLI. I have tried it on my WSL ubuntu instance but it says (Failed to open files: Protocol not supported). Any tips of how to view logs from before reboot?
Maybe there's a .1 log file?
yup. i saw that one, it did not show anything out of the ordinary. but since this was not the first time that it happened, i was hoping to dig further back in time
Ideally one could check the docker logs but I think they are not kept.
somebody help with 502 bad gateway ssl pls?
Maybe this can be useful? https://community.home-assistant.io/t/how-to-get-to-your-log-after-restart-restore/387662
Yup I did that. That's the issue I mentioned with the journalctl stuff. I exported the entire directory and I'm unable to read those files
Try the host access way described there. No need to transfer things somewhere,
hey guys I'm running HAOS and just got a "Available space is less than 1GB!" warning. It's installed on a 32GB partition and I cannot see what is using the space. I already deleted some backups so its not that urgent anymore but is kinda strange, see attached du and df outputs: https://imgur.com/a/8dWQsL9
You need to run this on the host directly to see all
how though? forums seem down, so no help there 😦
Noone can help with set ha to https when it is running in vm
somehow no subdomains are loading for me on home-assistant.io, but i got it now thank you
seems esphome is using like 4.5GB, need to research whether that is normal or not, influxdb uses another 3.xGB which is normal i guess, the other addons are way smaller
the big chunks in /mnt/data are
15.3GB /mnt/data/supervisor```
in supervisor the backups and addons folder is the big one with the addons mentioned above, so that seems ok to me
what about the /mnt/data/docker folder?
Some directories there are mounted twice but IIRC this is where the "file systems" of the containers are stored. ha supervisor repair might delete a few old images.
didn't change anything
Here's how it looks in my test VM
# du -hs /mnt/data/docker/* | sort -rh | head -n 3
9.0G /mnt/data/docker/overlay2
23.2M /mnt/data/docker/image
700.0K /mnt/data/docker/containerd
# du -hs /mnt/data/supervisor/* | sort -rh | head -n 3
25.1M /mnt/data/supervisor/addons
10.1M /mnt/data/supervisor/tmp
4.5M /mnt/data/supervisor/homeassistant
In overlay2 are the mentioned "file systems" for the containers.
I only have these addons installed
# ha addons | grep name
name: File editor
name: Advanced SSH & Web Terminal
name: Glances
name: Studio Code Server
name: Mosquitto broker
so about the same, just that i have a few more addons running, so everything seems to be ok here, just that i need more space 😄
thank you very much
If you want a more interactive way to explore your storage see here: #general-archived message
Just copy paste all in the shell and tada 🪄
i think thats all info i need, just need to see if its normal that esphome uses this much space but even if its normal, i will expand my file system 🙂
have a nice rest of christmas 🙂
Had power outage last night and the mini pc apparantly didnt turn on(not there, away this xmas). Expected the installation or OS to enable auto power on when power is detected, but i guess not. Is there a way to make the system restart automatically when power is back on?
That's something to configure in the BIOS/UEFI. It's often called something like restore power.
See here for some examples: https://www.google.com/search?q=restore+power+boot&tbm=isch
Intel NUC with Ubuntu.
Would appriciate some pros thought on KVM/virtualbox or proxmox as its hard to grasp ones needs on beforehand.
virtualization is the advantage and most of the things that goes with it
personally i use it for haos as it is much faster to create and rollback backups of the whole vm compared to having ha do it
Interesting. Will make sure to check it out before my itching fingers start installing.
Read about BT compability issues from NUC integrated chips to HAOS but guess it doesnt rly matter what sandbox I use
it shouldnt matter for this tho passing through pcie device capabilities may be a bit more difficult
the recommended way of bringing b2 functionality to ha would be by utilizing external devices acting as b2 proxy
like esp32s or some smart plugs
Yeah I briefly read something on the matter - that means you use a secondary units BT controller do the BT connectivity and then link it to HA-unit IIRC?
yea somewhat like that
Well thanks a bunch mate. We’ll see how it goes 😊
Hi i have problem with installation HA on hp compaq 8000 sff elite
I have a disk with haos and i see on the web page i need to use uefi but i cant se uefi option in bios, is it possible to run HA on this pc?
The 8000 series has no UEFI
The first ones with it were the 8200s.
You should still be able to run HA, just in a virtual machine.
ok how i can do it?
The card that came with said to install on GPIO red+ pin 1 and black- on pin 14
Might have been too much power then. Are you using the official PSU?
It is what came packaged with the rpi along with the case with built in fan, from Vilros brand, it is a 3A adapter with a switch built in on the cord.
Strange.
The case is Aluminium, could have possibly been shorting somehow, I didn't go back and try just the fan, don't care at this point as it is working and I don't want to possibly damage anything.
but what i did just notice, the fan says 5v 0.1A , but pin 1 is 3.3v, I have 2 separate documents from the kit that says use pin 1.
Hi guys i need some Help please, i try to link my Home assistant with alexa but it's not working, i dont want to pay nabu casa,
I have my home assistant exposed with cloudflare. it's working well, i disabled all security (bots mode, waff)
When i try to link my home assistant into alexa i have this message: "alexa unable to link the skill at this time. please try again later home assistant"
i followed this tutorial: https://www.youtube.com/watch?v=T_jnNsNvnco&t=429s&ab_channel=HassAssistant
The result when i try to link : https://imgur.com/a/AIIKWmm
I will appreciate some help 🙂
Thank you guys 🙂
with a default install on a pi am i running HACS?
Only if you installed it
yes with pi imager HAOS
but nopt with the standard raspberry pi imager right?
With either. You need to install HACS
Hi everyone
I encountered an error like this during the installation "[supervisor.host.sound] Can't update PulseAudio data: Failed to connect to pulseaudio server"
please help me
Hi all, my HA UI has gotten extremely slow on Android, chrome and PWA.
I've a windows nuc running a virtual box HAOS.
Core 2023.12.3
Supervisor 2023.12.0
Operating System 11.2
Frontend 20231208.2
Hey y’all, I have Raspberry Pi5, and when I find the image for Hassos, it’s not available. I can only find the available image for Pi4. Will this work (hassos of Pi4 to hardware of Pi5) and are the dev people going to develop hassos image for Pi5? Also, happy holidays!!
@wind ice @grand pivot what i supposed to do please i didn't understand, i have a good image of HAOS with hacs, i'm completly lost lol
what configuration i need to put in hacs ? what is the link with alexa and home assistant
I'm trying to run a pod as a rootless user on AlmaLinux 8, Let's say "dave" for an example. I have a docker-compose.yml file attempting to make binded mounts on a directory I've created under dave's home folder. Dave has access to the podman group and may run related commands without sudo appended, when running this compose file via "podman-compose up" command it fails to run giving an exit code.. reviewing the log I can see that is failed to create directories within the binded mount point, thus I gave dave permissions via "sudo chown dave:dave config" this error is no longer present in our next attempt, howevere it's now complaining that the application in this case "Home Assistant" failed to start due to not being able to capture dhcp packets... I'm assuming this is due to the minimal security policy chosen for this Almalinux 8 Instance, I would like to follow best practice and run pods in a rootlees environment to limit the damage if a container was to theoretically break out into the host system.. at least I would like to do this if possible atm I foresee this being a tad annoying.. thank you for your time.
Share your config, your commands and their full outputs. The HA docker image runs HA as root, btw.
Is there a way to install HA on an exiting Pi OS without loosing functionality?
i.e is there an installer package rather than a complete Pi image?
There is not an installer package. A docker installation of HA would be best for existing OS.
I'd recommend the docker method.
Thanks. I was looking at the options last night but even the Docker container method seems to loose some functionality. Why would it need to be containerized anyway?
It doesn't but it comes with some benefits like service management (start on boot, restart on failure), logging, version change at will, more pain free upgrades (python/venv pain), etc.
All you lose is addons which are just docker containers.
I see. OK.
Thanks for confirming that.
HAOS is an ecosystem of containers. You can run HA itself as a single container without everything else. You have all the same integrations and custom integrations available
I have never used docker for anything before. All I need for now it to integrate with MQTT. My fist idea was to use Node-red, but HA seems to be popular. However it seems to have the most complex install process (apart from the Pi image).
The best way to learn something is to have a need for it. Docker is a great technology to know about. I run Node RED with docker too.
Can anyone help me on how to get the Aqara mini switch working. It shows up in my device list (connected via matter to Aqara m2) but only shows the battery status. It sees the events when I push the button but I can’t add automation. I tried some of the blueprints available but they don’t see the device. #360726982251642880 #confused
if you see events in homeassistant you can create automations for those..
Hey pardon my ignorance everyone, my Docker-ized installation of Home Assistant looses all its configuration upon restart. I'm assuming its because the virtualization isn't persistent and that i need to give it a volume, is that correct?
If so, how would i go about doing that on a Mac running Docker Desktop?
From what i understand, i cannot natively access the Docker's file/volume structure using Finder on the Mac (is that correct?) so i guess that would mean id need to use the Terminal to create volumes, correct?
I also have Portainer container installed if that helps my case.
Gracias in advance.
Running HA on a Mac with a container install isn't supported
You need to use host networking, which it doesn't support
ok, would it be better to just intsall a VM within MacOS then, and run everything in there?
Yes
If i need to run Homebridge, Scrypted, and Octoprin, do you think running them all in the same VM may bring challenges of their own?
I'm running this via podman which supports rootles containters
however, I am trying to run the container as root for testing
docker-compose.yml file:
services:
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- ~/tmp/config:/config
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
privileged: true
network_mode: host```
Please use three backticks for multi line code.
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.
oki
Host is Almalinux 8.9
which is being virtualized in the Xen hyoervisor
container engine is the latest stable Podman version
and I've opened port 8123 on the built in global firewall within the "Host"
I'm getting an exit code 0
podman shows the container running
however can't access the web gui
oh and I'm getting an dhcp can't capture packets error on a regualr user
Like I said, show the commands and their full output. Don't describe it, show it.
@astral kiln I converted your message into a file since it's above 15 lines :+1:
ignore the port mappings line, I was just expermenting, I'm aware that's not needed when using the host networking
Can you try these commands? <#installation-archived message>
while running the container detatched?
LISTEN 0 128 0.0.0.0:8123 0.0.0.0:* users:(("python3",pid=67314,fd=8)```
nc said command couldn't be found
I'm not familiar with alma, you might have to install it. You can see that there's something listening so everything "looks" alright. Does a plain http server work?
haven't tried that
Try that then. Perhaps you have a firewall enabled?
I do but I've opened the 8123 port on the system firewall
I'm starting to wonder if this is due to the secuirty policy I selected when setting up my instance of Alma
I cannot tell you that.
I think I'm gonna spin up another vm and see what happens when I don't integrate a minimal policy
update, Home Assistant via Podman is now accesible via web gui on the 8123 port on a regualr user when disabling the security policy, however I'm still getting this error.
2023-12-27 17:10:01.016 ERROR (SyncWorker_5) [homeassistant.components.dhcp] Cannot watch for dhcp packets: [Errno 1] Operation not permitted
this is in a fresh demo VM almalinux 8.9
@astral kiln I converted your message into a file since it's above 15 lines :+1:
how would I adapt this into a compose file? --cap-add=CAP_NET_RAW,CAP_NET_BIND_SERVICE
Please google things first.
I did, and couldn''t find anything
You should google how to google then 😄
https://docs.docker.com/compose/compose-file/compose-file-v3/#cap_add-cap_drop
I simply searched for docker compose cap-add.
I'll admit that was simpler then what I was searching, ahaha
I found this
covers the same thing but different argument
my quarry was - how to add a CAP to a docker compose file
good news is it worked
however I've got a warning pop up now
2023-12-27 21:12:55.266 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
seems to be a common issue?
Unless that happens often I wouldn't worry about it.
should I consider changing databases now, as that one forum user suggested? will this be an issue in the future?
I'm assuming the db was damaged due to be bringing the container up and down so many times?
I'm very terrible at python but last I checked it sets/deletes a "marker" to validate that it closed the db correctly. If that exists it will complain. There's also a time element at play but I didn't research further.
understandable
You can simply stop HA and delete the db but I don't think it is damaged irrecoverably that easily.
good to know, this was a test anyways
as it seems to work now, I'm gonna reconfigure my AlmaLiunx 8.9 VM for my containers to not use a securty policy, then I'll implement the compatbilty arguments into the compose file.
I would assume the - privileged flag is needed in order for HA to operate correctly in a container enviroment, yes?
also, would you suggest I take the time to configure individual docker/podman networks for each container?
or since I'm dedicating this vm to exclusively run pods, should I just let them use the default host network?
I can't possibly remember all the things it's used for but one would be to easily find devices like a ZigBee stick without having to pass it through manually. Host networking is for things like discovery. I had a good reference with more details but I can't find it right now. I'd recommend sticking to what the docs recommend as much as possible.
got it, thank you for your help. I really do appreciate it
https://github.com/home-assistant/core/pull/105488
how do we find this raspberry pi 5 image? what tag is it?
I will add after further testing Home Assistant seems to work fine on the system with minimal french security policy
i found it...: ghcr.io/home-assistant/raspberrypi5-64-homeassistant:stable
I've got a docker fella saying that using the net cap additions is a bad idea security wise, I'm vaguely aware.
after hours of troubleshooting I'm not really sure If I wanna change gears but their suggestion was to use HAOS in a VM, which I could do in a few minuets on my XCP-ng Host, it's based on the Xen hypervisor... assuming there's no hurdles that you might be able to warn me about.
they was also concern about the privileged flag but that seems to be needed if I don't wanna go through manual configuration.
what would you suggest?
at the end of the day security and stabily is my priority
Well I run HA in a docker container in a debian VM. I'm not much of a fan of HAOS for various reasons I don't want to get into right now.
I don't really see the point in your case. Whether your alma VM has that cap or the HAOS VM. What difference does it make?
that's what I'm asking? what exactly is the compatibility argument providing that makes this work? and what's security concerns that come with it?
Would the HAOS VM also have this under the hood?
if so then I would only seeing that eating more performance then necessary even though my server is OP and more then capable
Would the HAOS VM also have this under the hood?
I'd guess so.
well I would guess since it's an operating system it would have it's own kernel thus it as had direct and full access to the entire system
which would be okay for a dedicated VM
but assuming your running multiple services containers on a single VM like I am
if HA was theoretically to break out of containment, let's say a vulnerability was used. they could acces the "host" vm's kernel and make changes possibly alter other Containers
again this is theoretical thought based on this security article
Sure but I'm not the right person to talk security to. I'm embarrassingly lax with it.
which in the HA vm's case or a dedicated docker like your using, this just isn't very concerning since it can't escape further... however that'a not considering IOT Smart home stuff.. I guess it would be annoying at most perhaps privacy invading
and if one gained access to the HA instance in the first place I think there would be bigger issues in the network
such as poor tunnel or firewall security
My IOT stuff is in a VLAN which can't initiate connections to most other devices. I mostly use tasmota and ZigBee devices and my HA is not directly publicly accessible either.
I try to be reasonably smart about things but I still want some ease of use and not inconvenience myself too much by not using any "smart" devices such as a robot vacuum.
Would rather build my own robot vacuum to be honest
I like your setup though, that was my initial idea for the setup but VLAN's didn't work out
Media devices and such are kept on a separate internet connection
All my home lab stuff is kept on it's own internet connection since getting decent speeds/internet bandwidth is tough here
I know about Valetudo but I'm kinda not interested in fiddling with it. I just want it to work. Maybe I'm getting old :p
Well if your up to it sometime, I gotta try to pick your brain on why you don't like HAOS. 🤭
As that's the probably the direction I'm going, I just realized without the network mode line it can't use other ports for certain migrations.. so I've gotta change gears
Adding card to Lovelace.
Hey everyone, Today I got some aduroSmart Eria spots GU10. I have a ZigBee 3.0 stick and am trying to connect them but the stick wont discover them. I have same Aqara sensors connected aswell and they connect and work fine.
#zigbee-archived can help with Zigbee stuff, assuming those spots are Zigbee
ah thanks, will do!
is it common to get a lot of errors during the first startup of HA?
Depends on the errors
[supervisor.docker.interface] Can't install ghcr.io/home-assistant/amd64-hassio-supervisor:2023.12.0: 500 Server Error for http+docker://localhost/v1.43/images/create?
i'm on virtualbox with windows host
You need to share more than one line
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.
@sudden granite When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
fatal: unable to access 'https://github.com/esphome/home-assistant-addon/': Could not resolve host: github.com
fix your DNS
okay. I did a bridged connection in virtualbox and had assumed it would grab dns from dhcp?
It should have, assuming your DNS isn't broken
pardon my noobness but i can't seem to get ifconfig working in the console
Type login to get a command prompt
(ifconfig is also ancient tech)
ping google.com seems to work, don't think it's dns
been a while since i've been at a linux console 😛
Please, stop tagging me @sudden granite
@sudden granite When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
Once more ☝️
sorry i guess i don't understand the point of or the culture surrounding discord, but i thought it was standard to click "reply" to somebody you're replying to. I will turn off
should I look elsewhere for installation support?
That's why #installation-archived message
There's also only two of us here, reply is pretty pointless
Try ha network info, ha dns info, ha resolution info
Others can help you debug your DNS
HAOS and DNS issues. A rare sight.
i remember having dns issues the first time I installed years ago. was trying a fresh install today because everything was broken. ha network info shows a valid dns address for docker
Try
nslookup ghcr.io
nslookup ghcr.io 172.30.32.3
nslookup ghcr.io 1.1.1.1
i get a non-auth answer of 140.82.114.34 so dns does appear to be working
172.30.32.3 should be the ip from ha dns info. It's the Core DNS container.
Share the result of all.
That looks fine to me. What does ha resolution info say?
goes off the page.. sorry I don't know how to scroll up in the console window
Try ha resolution info | less. See here for some tips on less: https://linuxize.com/post/less-command-in-linux/#less-commands
So since names can be resolved though all the things I'd run ha supervisor repair and perhaps try a reboot. Maybe it can fix itself.
willco
thanks for the help. i'm a bit out of my depth. it's rebooting now
so it's been at [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/amd64-hassio-supervisor with tag 2023.12.0. for a few minutes now
hoping that's a good sign
no luck https://dpaste.org/ERycD
this is on a vanilla VirtualBox (.vdi) downloaded from the site
You might get more information if you do docker pull ghcr.io/home-assistant/qemux86-64-homeassistant:2023.12.4 yourself.
Also check ha host logs.
i'm way outside my depth I think i'm going to call it on this install
thanks for your help though
i'm trying to migrate my Home Assistant Docker installation to another server, copied the volume to the new server and restart it using the same docker-compose.yml, yet I'm just greeted with the Onboarding screen like it's a brand new install
You didn't copy all the . directories and files
i tried both a docker cp, and using a backup extracted from HA itself
Just make a backup and extract it on the new server
yeah that's what i did... docker cp the entire volume, dump it onto the new server and started it up
i tried creating an account, it does seem to pick up some of the config (automations, one integration in my configuration.yml), but most of the integrations and user accounts are missing
You missed the files and directories
which ones
All
did an ls on both volumes and they look identical
ok yeah i see what you mean.... seems like docker cp missed those
Like i said, make a backup and extract it
interesting that the internal backup doesn't capture those either, i tried that as well
that's what i tried as well
It does
it created the core_2023_12_4.tar ball
It would be worthless if it didn't
did the trick... thanks, replaced the entire _data with the tarball
now just need to figure out how to get HTTP_PROXY working
seems to be a mixed bag where some respect the env var but others don't, and all of the ignore NO_PROXY
I have a raspberry pi 2 model b, is there a tutorial I can follow to set up home assistant from a fresh USB?
Just follow the standard HAOS instructions, but dig out the install link from GitHub
Don't do it though, the Pi2 is terribly underpowered
What does home assistant need all that power for?
Taking over the world
The Pi3 is the minimum spec worth using, and even that's borderline
The main problem is a lack of RAM
I thought it would be a good use of a pi because it doesn't need much processing power
I'm gonna have at most 10 devices on the network and no other services
Assuming you're going to add no add-ons then it should be ok... slow, but ok
OK then I won't use it. I thought it had a lower footprint than that
What would be a better device?
Any small form factor PC from the last decade
#hardware-archived has a long history of recommendations
What about an android TV box
Problem is that these small PCs use too much power.
I have a nexus 5, but that's basically the same spec as the raspberry pi
Then Pi4 + powered USB hub + SSD
Because SD cards die with little warning
At least 2 GB
Why does it need a powered USB hub?
To ensure you don't under-power the SSD
Ohhh that's what you meant
Or don't, and then come back here later complaining about stability problems
I have one of those USB3 wires that breaks out the power line that I was gonna use for a wiiu hard drive before the nand bricked itself
The power coming from the wiiu isn't enough
Seems like $100 is the expected price
I'll be back in a few months when I can afford it
I have problems installing homeassistant. It pulls a rotten 2023-1-7 version which produces a "Illegal Instruction" when typing hass
Here is the error message when trying to install 2023.12.4 version
installing on ... what?
rpi zero w
Ooof
well, there's your problem
With pip install I take it?
sebastian@raspberrypi:~ $ source /srv/homeassistant/bin/activate
(homeassistant) sebastian@raspberrypi:~ $ pip3 install homeassistant==2023.12.4
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
ERROR: Ignored the following versions that require a different python version: 2023.10.0 Requires-Python >=3.11.0; 2023.10.0b0 Requires-Python >=3.11.0; 2023.10.0b1 Requires-Python >=3.11.0; 2023.10.0b2 Requires-Python >=3.11.0; 2023.10.0b3 Requires-Python >=3.11.0; 2023.10.0b4 Requires-Python >=3.11.0; 2023.10.0b6 Requires-Python >=3.11.0; 2023.10.0b7 Requires-Python >=3.11.0; 2023.10.0b9 Requires-Python >=3.11.0; 2023.10.1 Requires-Python >=3.11.0; 2023.10.2 Requires-Python >=3.11.0; 2023.10.3 Requires-Python >=3.11.0; 2023.10.4 Requires-Python >=3.11.0; 2023.10.5 Requires-Python >=3.11.0; 2023.11.0 Requires-Python >=3.11.0; 2023.11.0b0 Requires-Python >=3.11.0; 2023.11.0b1 Requires-Python >=3.11.0; 2023.11.0b2 Requires-Python >=3.11.0; 2023.11.0b3 Requires-Python >=3.11.0; 2023.11.0b4 Requires-Python >=3.11.0; 2023.11.0b5 Requires-Python >=3.11.0; 2023.11.0b6 Requires-Python >=3.11.0; 2023.11.1 Requires-Python >=3.11.0; 2023.11.2 Requires-Python >=3.11.0; 2023.11.3 Requires-Python >=3.11.0; 2023.12.0 Requires-Python >=3.11.0; 2023.12.0b0 Requires-Python >=3.11.0; 2023.12.0b1 Requires-Python >=3.11.0; 2023.12.0b2 R (LOTS MORE OF THIS)
ERROR: Could not find a version that satisfies the requirement homeassistant==2023.12.4
Because you didn't read the docs...
||Python is outdated||
See Prerequisites
Your experience though is gonna suck
RPI3b+ is the minium hardware you should use for HA
512 MB of RAM, and a single core CPU
this is just the start of the issues you'll have
(homeassistant) sebastian@raspberrypi:~ $ python3 --version
Python 3.9.2
(homeassistant) sebastian@raspberrypi:~ $
Seems they shipped a rotten version
The 1970's have called and want their computer back
Update your OS, it won't help, but it'll be less outdated
Then buy something better than a Pi Zero
ooh its for a alarm integration, so I want the HA to be able to run on the battery if power goes, and the spc-web-gateway software only supports bullseye, nothinh later
can only pull 750mA from the supply so I needed something more efficient.
A Pi2 should be ok
But 512 MB of RAM... yeah, that's not gonna fly
It'll spend most of the time swapping
aha even if its just core and spc-web-gateway running? and just a bare bones HA with a few MQTT integrations and shelly integrations?
Try it
All you need to do is build Python 3.11 from source, should only take a couple of days
And then 3.12 in March
which version does not have the "illegal instruction" bug before 2023-1-7 ?
HA's install will probably take 6 hours
Start with Python 3.11
3.11.7
You'll need to install the packages listed at https://blog.ceard.tech/2017/12/upgrading-python-virtual-environment#prepare-the-system and then to install pyenv
The build proces will probably take you over a day
Ouch yea that will take quite a bit on a Pi2
So - probably a very newbie question. Installed the docker image and have it running. Config dirs etc. are populated with files as expected. However - I cannot connect to http://<hostname>:8321/. Have tried localhost, ip, etc. but no luck. Any tips/ideas?
Does the container run on the host network?
yes
PS: it is port 8123 not 8321
yeah, sorry - typo . meant 8123
Right, so if it is on the host network, there is nothing to forward or do
so, some ideas might be: firewall? (like ufw or similar)
Anything in the homeassistant.log file that might indicate an error?
2023-12-29 00:26:15 2023-12-29 00:26:15.894 WARNING (SyncWorker_6) [pyroute2.netlink.rtnl.tcmsg.common] tcmsg: [Errno 2] No such file or directory: '/proc/net/psched'
2023-12-29 00:26:15 2023-12-29 00:26:15.895 WARNING (SyncWorker_6) [pyroute2.netlink.rtnl.tcmsg.common] the tc subsystem functionality is limited
everything else looks ok
its on apple silicon (M1)
Yeah same issue
you aren't running on the host network
that is not possible on those platforms
Thus we don't support running the Docker image on Windows & MacOS
ok, thanks. Maybe this should be clearly stated in the installation docs.
@alpine barn if you're running docker desktop or similar you can get the ip of the VM the containers are running on somewhere in the settings - use that and the port 8123 if the containers have host networking. Although as Frenck said it's not supported.
Yeah, well, you will run in more "weirdness" along the way. Home Assistant needs/uses the host network capabilities for quite a few things, which won't work (e.g., some forms for discovery, snooping/sniffing and broadcast network communications)
And may get you into weird/unexpected behaviors
using a VM might be a better route to take in that case
thanks for input. Will try a VM instead.
hmm compilation failed.
gcc: fatal error: Killed signal terminated program lto1
compilation terminated.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1199: Programs/_freeze_module] Error 1
make[3]: Leaving directory '/root/Python-3.11.4'
make[2]: *** [Makefile:770: build_all_generate_profile] Error 2
make[2]: Leaving directory '/root/Python-3.11.4'
make[1]: *** [Makefile:746: profile-gen-stamp] Error 2
make[1]: Leaving directory '/root/Python-3.11.4'
make: *** [Makefile:758: profile-run-stamp] Error 2
Given youre running on very anemic hardware, anything is possible
@feral aspen I converted your message into a file since it's above 15 lines :+1:
Or just get better hardware
oooh wait, its OOM:ing... thats why lto1 kills. since swap by default is only 100M. So need to increase that...
Or get better hardware
get better hardware. If you need HA to stay up if the power goes out just buy a UPS.
I have a problem with starting add-ons. I reinstalled ha on a ssd and backed it up. But now I have all the addons not starting even though there is a Run on startup option. I have tried starting them manually but they don't work. I have tried rebooting, what can I try?
@icy copper I converted your message into a file since it's above 15 lines :+1:
Hey everyone,
I’m in a bit of a bind with my attempts to set up Home Assistant (HA) on my trusty Raspberry Pi 3B. 😓
I’ve followed the official instructions to a T (https://www.home-assistant.io/installation/raspberrypi) to flash the Home Assistant OS (HAOS) image to my SD card. However, when I power up the Raspberry Pi, it seems to be stuck in a deep slumber - no green light, just a solid, non-blinking red light. Not to mention, zilch activity on the Ethernet port either. 🚫
I’ve tried two different SD cards and rewritten the image multiple times just to make sure it’s not a fluke. Plus, I’ve tested another OS on a separate SD card, and it runs like a champ on the Pi. So, it’s not the hardware’s fault.
To shake things up a bit, I even gave the latest HAOS versions a shot - “haos_rpi3-11.3.rc1.img.xz” and “haos_rpi3-64-11.3.rc1.img.xz” from https://github.com/home-assistant/operating-system/releases, but alas, no luck with those either. 😔
I’m reaching out to you for a lifeline! 🆘 any ideas, guidance, or tips would be a lifesaver right now. I’m super excited to dive into Home Assistant, and I’d appreciate your support in making it happen.
Thanks a million! 🙏
Trying to install HA on my raspberry pi in a docker container but it's stuck constantly with status: Restarting (111) and the logs just say this over and over:
s6-linux-init-shutdownd: fatal: unable to iopause: Operation not permitted s6-linux-init-hpr: fatal: unable to reboot(): Operation not permitted s6-svscan: warning: unable to iopause: Operation not permitted s6-svscan: warning: executing into .s6-svscan/crash s6-svscan crashed. Killing everything and exiting.
Please share the whole command/config, which pi you're using and which OS. Code blocks over multiple lines should have three backticks.
finally the compile came through
I'm using a raspberry pi 4, I ran sudo docker compose up -d. My yaml is:
version: '3'
services:
homeassistant:
image: ghcr.io/home-assistant/raspberrypi4-homeassistant:stable
container_name: homeassistant
network_mode: host
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
volumes:
- /home/pi/docker/homeAssistant/data:/config
restart: unless-stopped
That should just be ghcr.io/home-assistant/home-assistant:stable
Just tried that but get the same errors sadly
all the add-ons work in the background, but I cannot display their functions, for example when I click Zigbee2Mqtt it asks me to start the add-on, but the devices work fine. Same with all
I’m installing ha on Intel Mac using virtualbox. Stop loading upon boot. Getting error 126. Exec format error
i know the reson. you're using raspberry pi OS right?
Yeah
@zealous zealot I converted your message into a file since it's above 15 lines :+1:
you can read about disabling JEMALLOC here: https://www.home-assistant.io/installation/linux#optimizations
there are pi specific containers so his image is fine. See here : https://github.com/home-assistant/core/pkgs/container/raspberrypi4-homeassistant
raspberry pi container needs the in docker compose yaml:
environment:
DISABLE_JEMALLOC: true
or else it will crash on startup.
it runs fine without this if you're using raspberry pi Ubuntu image but raspberry pi OS requires this.
Try using the normal ghcr.io/home-assistant/home-assistant:stable image as explained in the docs: https://www.home-assistant.io/installation/raspberrypi#docker-compose
Pretty sure PUID and PGID is not used by these images. What OS, OS version and docker version are you running? How did you install docker?
And those were deprecated ages ago
Thanks! This worked!
version: '3'
services:
homeassistant:
image: ghcr.io/home-assistant/home-assistant:stable
container_name: assistant
volumes:
- ./config:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
restart: unless-stopped
privileged: true
network_mode: host
environment:
DISABLE_JEMALLOC: true
Please provide the information here just for reference: #installation-archived message
Hello - A few months ago I had home assistant up and running great with a virtual box vm on an Ubuntu host (using a wireless network card). However, after getting back from a trip I had some network issues and since then I have not been able to get Hass OS to access the internet A few symptoms, 1. I can't connect to my Nabu Casa account, and alot of devices don't work when trying to set up the integration. Unfortuantely the Ubuntu host cannot be connected through ethernet long term, however I tried that and had similar issues. Please Help!
ahoy! Running hass os using KVM on Debian stable. Hitting a brick wall with sound. How do I best make the hypervisor's sound device available to the hass VM? I'm thinking maybe networked pulseaudio? I wasn't able to find a guide sadly. Mostly I want to get TTS to work.
Normally TTS is sent to media players, not local speakers
I got that far, but I haven't found a media player that would make sense in my scenario - I do want to use the local sound device, I'll happily create some "media player" setup that enables this, but the one thing I tried (mpd) didn't seem to fit
VLC is one people often suggest
I'd probably suggest you stop trying to get the sound device working in HAOS and run the media player on the host
that's what I meant, I tried that but didn't find instructions to set that up
will VLC work headless? I'm hesitant to spin up X/Wayland just for that
No idea, I'd guess so, but never looked into it myself - no need
seems so, just installed it and it starts on my ssh session. I'll see if I can make it work with TTS.
yup, that worked! Rather heavyweight at 200mb dependencies for VLC lol but, eh, whatever.
aaand it (VLC) segfaulted, blergh.
Hi all, is Rasp Pi 3 B+ still supported?
I'm getting this - [supervisor.docker.interface] Can't install ghcr.io/home-assistant/raspberrypi3-64-homeassistant:2023.12.4: 404 Client Error for http+docker://localhost/v1.43/images/ghcr.io/home-assistant/raspberrypi3-64-homeassistant:2023.12.4/json: Not Found ("No such image: ghcr.io/home-assistant/raspberrypi3-64-homeassistant:2023.12.4")
You can find all the supported boards/devices here: https://github.com/home-assistant/operating-system/blob/dev/Documentation/boards/README.md
got it to work with MPD, I think it's the better fit. VLC is the ultimate swiss army knife but operating purely as daemon for remote play isn't exactly its specialty.
Please, whats the best way to tell if my HA is running on HAOS or docker, on my Pi4 ?
If you don’t know it’s haos lol
http://homeassistant.local:4357/ if this loads you have the supervisor so most likely haos
Confirm in settings
8123 is my port
Click the link lol
Home Assistant observer
Ya
So thats haos ?
Settings -> about will confirm it
It doesn’t show OS 11.2 or something?
Yup Operating System
11.2
Then it’s haos
Supervised and haos aren’t the same thing
However both use the supervisor
lol
Look at the installation docs it specifically lays out the differences
Thanks, yes, I saw that, but didn't see a way to tell which I had
I was confused as when I run Docker Info form the terminal I get
Containers 13
Each addon is a docker container
If you instead used the docker home assistant install method, you would not have addons or the supervisor, you would manually create and manage the containers which would replace your old addons
You’re fine where you’re at
Setup offsite backups via an addon if you haven’t already
I'm troubleshooting why WOL wont work and I found via googling it had issues when using Docker. But since I have HAOS I assume that this manual page should be applicable to me?
https://www.home-assistant.io/integrations/wake_on_lan/
despite docker being used for addons?
You’re going down the wrong rabbit hole for wake on lan issues
You should troubleshoot the client not home assistant
Some NICs (the drivers really) don’t support booting via magic packet
I've got wireshark running and setup WOL from my PFsense firewall, so I am sure that a packet from another device on the LAN reaches my PC
My intel nuc in my gaming pc won’t turn it on no matter what I do but it’ll wake it up from sleep no problem
I chased it down and I think it was a windows update that updates the NIC missing a feature
I said fuck it and just make the computer sleep and it works lol
yeah, I had to install a Windows 8 driver to get the intel interface loaded that allows Wol to be enabled
I changed multiple things in windows
I also had to disable fast boot in bios
https://thegeekpage.com/wake-on-lan-not-working/ I think I used this checklist too
ty
Hi... First time HA user. I just fired up a haos image on a Hyper-V server. Not a Windows Workstation. I used the vhdx image. I put it on the external switch, where all my other VMs live. It doesn't take a dhcp address from my network, just shows up with a docker network. Can anyone here point my in the right direction from here...? 😋
Never mind... I found the problem, I have both IPv4 and IPv6 addresses... 🙂
@brittle sail Thank you for your help - with my docker question excluded, I found that it works if I set the WOL port to anything other than 7 or 9
Is it fine to have a static ip addr and dns defined manually (not using network manager) in a supervised installation? Any drawbacks?
Why does the installation page for VirtualBox say bridged connections over Wi-Fi are unsupported?
https://www.home-assistant.io/installation/windows/#hypervisor-specific-configuration
Bridged WiFi isn't really a thing
That's interesting because I've ran HassOS in Vbox w/ bridged wifi for over 3 years now
It plays games to make it work. Sometimes it does, sometimes it doesn't
If it works for you...
Don't think I have anything to worry about then hah
Has xcp-ng guest tools been moved to the main branch yet?
Just installed a generic x86 image as a vm under my xcp-ng host and I'm not seeing the management engine detected
Use the VM specific images.
I do not see one specific for xcp-ng 🤷
Use one of the OVA ones: https://github.com/home-assistant/operating-system/releases
I see the OVA mentioned but I don't see a release download marked as open virtual appliance.
What's the OVA provide differently compared to the generic x86 release
Click the Show all * assets
You have to check the build files. Can't do that easily on a phone.
I expect them to.
the backup and restore is probably significantly slower than reloading it as qcow
Anyone here uses relays to trigger a certain event?
And if I wanna connect all my devices to a relay controller, then connect it to HA. Is this possible?
anyone here can help me out installing a NHL api in home assistant
I'm having issues getting through setup. https://dpaste.com/2S8L8BZ8G
So I set up HAOS on bare metal but I'd like to have a writable Linux root of some sort (whether or not connected to HA); what's the best way to do this? I also have Scrypted currently running as a HAOS add-on.
Should I convert to HAOS in a VM?
the host only has 8GB of RAM though, so that might not be the best option
I'd recommend running it via proxmox VE. 2G of memory is probably enough for the VM.
Yeah, but Scrypted would require more RAM I think (I'm using it for HKSV cameras)
You can always allocate more later. PVE needs roughly 1.1G for itself.
What would be the best way to migrate a hassos vbox install to a generic x86-64 install?
Create and download a backup and restore it on the new host
after a year of not touching haos hoping one day I'll come back and then magically work it still isn't working this is my logs now
I've installed HA on a rPI 3B. through the rPI imager, specific OS, Home Assistant.... I want to integrate with Tasmota. With that specific OS install, can I shell into the base OS, and install misquito/mqtt? If so, how?
Install the mosquitto #add-ons-archived instead it will spin up a container with an mqtt broker for you.
Read the docs page it’ll go over a username and password for it. You can just make a home assistant user TLDR
seems to be empty... "mosquitto" is not a found addon/integration.
I was in the wrong location. thanks!
happy new year 😛
I can confirm that's the case, much easier to install as well. Thank you.
Can anyone help with my issue?
Do you seriously expect people to know what you're referring to?
Let me help you out by linking to it as I don't expect a lot of people to go through the effort of finding it: <#installation-archived message>
You should describe it a bit more though.
You were the reason I didn't want to come back here. I'm out
The only time we talked to each other was [when I asked for more details](#general-archived message) just like right now. Apparently that's highly offensive and inappropriate.
We need details to be able to help. Describe what kind of issue you're having so we know what to look for in that log you shared.
is it not recommended to use docker or something similar on a rpi 4b so I can install pihole on it as well?
wouldn't that mean not installing the home assistant os well
You can use a docker install on a Pi, but Adguard is also available as an addon for HAOS
Hi everyone,
Relatively new to the world Home Assistant & PI.
My Home assistant was working well on my Raspberry BI for some weeks now. Recently, I had to restart my Home Assistant but have had no luck getting it back to life.
It is booting to the command line with the below message,
"Waiting for the Home Assistant CLI to be ready ...
[WARN] Home Assistant CLI not starting! Jump into emergency console... "
Is anyone with an idea on how to get this sorted?
Still looking for help from the brains trust
fatal: unable to access 'https://github.com/hassio-addons/repository/': Could not resolve host: github.com
DNS and/or Internet issues
what would be a way to fix this problem?
What does docker ps and ha host logs (I expect this to fail) say? Also check dmesg -T and journalctl.
The simplest way would probably be to re-flash and restore a backup. Are you using a SD Card?
hi, soo i have been trying the past 6 hours to get home assistant os working with the KVM (virt-manager). i just end up in the UEFI or EFI shell. i did exactly as instructed on the website under https://www.home-assistant.io/installation/alternative for KVM.
except i didnt add the channel, since it was already added.
If im in the Boot Order Menu it doesn't even show Home Assistant or the Virtual Hard Drive but if i go onto add booting option it does show hass. i just have no clue how to add the boot option since it looks complex af. i tried it several times with downloading the image again or remaking the virtual machine.
i did export it tho and didn't use the zipped file ^^ and neither did i select use ISO file, i did select import existing disk image. even tho once i tried that, it showed up in the boot menu, but just couldn't boot (obviously)
Secure Boot is disabled too and also can't start and it doesn't matter which firmware i use.
My Raspberry Pi 5 is running on Raspberry OS x32
the solution i found on the home assistant forum by one user with going into fs0: and then editing the startup.nsh didn't work either since the startup.nsh file is completely empty
Anyone knows a solution for me? I just want my home assistant to work 🥲
i have barely knowledge with linux tho.. noobie just starting to work with it (:
and since i have been struggling so much with trying to get it work in the virt-manager i thought about giving docker a try. is it easier / worth it?
I recommend docker for the biggest flexibility. If you want to virtualize I'd recommend proxmox VE. Are you trying to virtualize on a pi? Why 32 bit?
At the start some website told me to run on 32bit, didn't really know why. I might just try reinstalling to Raspberry Pi OS 64bit and install proxmox.
I want to virtualize since i wanna run multiple projects or have virtual machines to fuck around with and test out stuff. I have seen the video from NetworkChuck explaining how to install EsXi with vmware, but that was all for the raspberry pi 4 so I didn't know if it works out
yellow home-assistant whit CM4 lite and ssd. Does ssd install but not working cant get into serial, what to try next
Hi, I just got my Rhasbery PI 5, but i don't think Home assistants supports it yet. Is there any announcemnt when it will be available ?
hey when i boot my laptop on home assistant with a external hard drive, home assistant stuck on a start job is running for wait until kernel time synchronized and reboot
how can i stop it and boot on ha ?
u can try installing it on a VM or with docker and as soon as its available you can backup the VM or Docker version and restore it onto the HA OS
I'll also be waiting 😄
Has anyone linked Aqara M2 hub to home assistant yet?
home assistant literally hates me