#installation-archived
1 messages · Page 70 of 1
I’m really struggling to get home assistant installed and one of the mods from the HA community suggested posting here to see if anyone can help. Here’s the link detailing my situation but I’ll gladly repost specifics here if it would be helpful: https://community.home-assistant.io/t/error-installing-home-assistant-on-green/748358
I’ve now encountered errors trying to set up HAOS on a RPi 5, RPi4, and most recently a Green.
Received the Green a few days ago, connected to Ethernet, and was able to access it via http://homeassistant.local:8123 1 but installation encountered errors (log below).
Troubleshooting:
Restarted the green and was unable to connect
Tried performing a factory reset per the instruction guide and I get stuck per the images in the link above
set a static IP for it via my router
forwarded port 8123- Removed this per one of the mods suggestion.
set my DNS to use google instead of the net gear router default
Set the static IP to utilize DMZ - removed this per one of the mods suggestion.
Multiple router reboots
I still encounter the same error as in the link above.
Tried removing the SD card used to attempt a factory reset and was able to connect via http://homeassistant.local:8123 1 again but still encounter installation errors.
Updated log file in the link above. Any suggestions for how to proceed?
If you plug its ethernet cable into your PC or laptop, do you get internet access?
Hi, I can not start the addons a nm the backup config: Logger: homeassistant.components.hassio.handler
Quelle: components/hassio/handler.py:615
Integration: Home Assistant Supervisor (Dokumentation, Probleme)
Erstmals aufgetreten: 21. Juni 2024 um 10:52:02 (64372 Vorkommnisse)
Zuletzt protokolliert: 11:42:45
Timeout on /backups request
Timeout on /supervisor/info request
Timeout on /core/info request
Timeout on /os/info request
Timeout on /info request
Hope anyone can help me
Try to repair the Supervisor in a terminal with the command ha supervisor repair
Thats the solution. Thank you very much
Well, finally got a hub. after a few days, no crash. And I have the feeling that HA OS is much faster now vs without a hub.
Curious if I should create a seperate Vlan for Homeassistant? Keep everything on its on Vlan?
ONLY if you know what you're doing in terms of VLANs and routing and mDNS.
i do but not sure if worth doing?
It's not
HA is local by design, it needs to talk to other devices on your network that you want to connect it to, so separating it out wouldn't be beneficial there
Thank you
Any idea why I’m getting: “haos-flash[3271: curl: (6) Could not resolve host: version.home-assistant. io”?
Without more information I can only suggest DNS issues.
Hey, just installed HA in a virtual box vm. Works fine up until onboarding where I'm getting a 500 on the create user step. Any ideas?
Object { error: "Response error: 500", status_code: 500, body: "500 Internal Server Error\n\nServer got itself in trouble" }
body: "500 Internal Server Error\n\nServer got itself in trouble"
error: "Response error: 500"
status_code: 500
<prototype>: Object { … }
onboarding-create-user.ts:194:14
value onboarding-create-user.ts:194
handleEvent lit-html.ts:2018
What additional info can I provide? Here’s a link to the issue I created with more info https://community.home-assistant.io/t/error-installing-home-assistant-on-green/748358/33
Ah, now I remember you. Can you answer this? #installation-archived message
Yes I do.
Hi,
I am running HAOS x64 on HP-thinclient 720
I am unable to update Home Assistant Core.
This is what I get after clicking install.
failed to call service update/install. Error updating Home Assistant Core The name is not activatable.
Please share the whole log
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.
A hard reboot (power unplug) fixed it.
Unable to bootup my raspberry pi 5
Hey all, I am migrating my HA to another machine and was wondering if once I restore the backup of the old to the new, if it makes sense to assign the same IP internally as it had before? Just trying to ensure I don't have any issues with any wifi deices or whatever once I move over completely.
It's probably what I'd do as well.
Scam link
Yeah. Mods are pinged, will be gone soon
I pinged them also, looks like he blasted it in every channel
Hey @tender wren, you familiar with mosquitto/MQTT at all?
It depends
I posted something in add-ons, having a frustrating issue with homeassistant selectively discovering devices from MQTT
that would be an #integrations-archived question. Discovery is handled by the HA mqtt Integration, nothing else.
Thanks mate
when you post, make sure you include what you're trying to have discovered.
Not sure where to start with figuring this out, but my home assistant instance seems to no longer be able to interact with any local network integrations or features.
- I can't access homeassistant.local but I can access it via nabucasa
- MQTT can't connect to local broker but confirmed that local broker is running fine
- LocalTuya cannot connect to any wifi devices that I have
- I've confirmed that I'm still on my local network, with the same registered local IP from router, and I made no other changes
It was working for past year +1. Over last week I saw some connectivity issues. 1-2 days ago, it's stopped functioning 100% connecting to local
Did you ISP change anything in your router? Firmware update or anything?
I use starlink, to a personal router, so I dont think anything changed there and I'm not seeing any recent firmware updates on my peplink router
Can you ping other devices on your local network? What are you running HA on?
ha is running via virtualbox
and I can see the clients of my PC and HA setup on my router list. I can see the mqtt events using that PC and mqtt explorer
If you go to the console, can you ping from outside of your VM instance?
I'm on a laptop. On same network.. I'm remoted into my NUC devide that is running the VM. What should I be running and what should i be pinging?
You need to access the VM console and then try to ping out of it to some remote address. www.google.com or something.
I just killed my VM and rebooted it because it was in headless. everything is now working
I dont understand how. I've rebooted and restarted 20 times in the last few days troubleshooting
Welcome to technology magic 
I wish I knew what is going wrong. It has been intermittent for 1-2 weeks. And usually reboots (rebooting the VM, the NUC running the VM, my internet, and my router) eventually fixes it. BUt I spent 6-8 hrs troubleshooting it yesterday because NOTHING would get it back up and running. I even rolled back home assistant backups, downgrade various addons/plugins. Uninstalled/reconfigured. And obviously did several reboots.
Any idea how to get to the core of what is happening via old logs or something?
Generally no. But you mentioned Virtualbox which is notorious for having issues. Some people have great luck with it, other times it is nothing but headaches.
it's been coasting along great for 1+ years now. Relatively untouched. Just HA updates
Any Windows updates or Virtualbox updates recently? That’s pretty much the only thing I can think of unless 2024.7.2 might have an issue. But, that would be in the HA logs were that the case.
I rolled back 2024.7.1 and 2024.6.2 earlier and neither fixed at the time. Right now it's running 2024.6.4. I hadn't seen any bugs reported from others in any of the versions.
And, no.. I have auto-updates off. I dont think the Virtualbox has auto-updates, but I can double check
Yeah, not sure tbh. We generally don’t recommend running HA in Virtualbox on Windows as there’s just so many places things can go weird for no reason.
what's recommended? I want to use the NUC I have to run HA
Linux (usually Debian) with proxmox is what we usually recommend.
But, if you’re not using the NUC for anything else, you could just do a bare metal install of HAOS.
I live off grid (travel full time in RV). My main home systems are running of HA, but I'm not tech-savy enough to leave windows because it gives me official redundacies that haven't failed me (i.e. when HA stops working, i can still use teamviewer to remote into the device from anywhere since windows keeps me on and connected to internet) I still have google home, and the apps that every other smart device comes with to access directly as long as my internet stays up.
I'm afraid if i go to HAOS or linux that if something screwy goes on, I wont be able to access anything remotely, which would be an issue
Am I being short-sighted or overly worried?
And when I say main home assistance. I have solar and battery bank setup, and that is my power source. I use victron (VRM is a backup that seems to always work remotely) but we have pets onboard, so making sure temps are good, and power is there is important
Then Proxmox could be your solution. You have access to the console/screen of your VM trough proxmox Web interface.
Yeah, proxmox on Linux is simple to setup and wouldn’t be too much of a learning curve at all.
It is so convenient.
"I" won't install bare metal
I don’t run HAOS at all (I really should), but generally, bare metal install is the safest of all the installation methods.
Thanks for the input. Now that this magically started working.. my generator magically stopped working.. onto the next problem
Hello folks, I have an issue to Connect remotely my HA. I use a HTTPS redirection URL with SSL certificat and the error message I have says : NSURL domain error- 1004. By local IP I can get access but not via the external URL.
Hello, I have an issue where every maybe 5-7 days HAOS seems to die and I can't connect to it via the app or browser using the internal ip.
I'm running it in a Proxmox VM which by all data seems fine even when HA is unreachable. The ip also responds to pings (outside of the host).
There's nothing useful that I've found in the logs, nor any indication of the VM running out of resources. As a matter of fact, the proxmox graphs indicates that HA might have been running the whole time.
Any ideas where to start troubleshooting? A reboot of the VM solves the problem.
hello, I wanted to play music from homeassistant (running on ha os) to my audio device which is a dac connected over usb (using the spotify connect addon) but i get really bad quality.
I already changed to another output profile but to no effect. I think it may has something todo with the default sample bitrate but idk how to change that as configurations in /etc/pulse/deamon.conf seems to be ignored.
Are there other ways to change the pulse audio settings?
On other linux os i got no problems with this dac.
“Nothing useful” doesn’t mean much, to be honest. Do you still have the log? I would say that next time it happens, grab the log and post it. There might be something in there.
AFAIK, the pulse audio package should work the same on buildroot, Im not 100% certain of that though.
i have not gotten very far with my homeassistant . I want to reset and start all over. What is the best method?
do i have to reinstall?
-Ignore- not paying attention
Great but?
Are you sure you want to proceed? [enter YES to confirm] YES
ERRO[0006] Unexpected server response. Status code: 403
Unexpected server response. Status code: 403```
I have rebooted and tried it again
Oh. I expected your system to be in a proper state. In that case you might want to check ha supervisor logs and perhaps ha host logs.
ah ok
recommendation for naming conventions for devices
Completely up to you. My preference is [room/area]_[device_type]. So, a presence sensor in my kitchen is kitchen_presense_sensor and then the entities below that in the same format.
thanks
100% disagree
How so?
So - was in here earlier talking about issues with my local network. Got it working magicaly lafter day(s) of trouble shooting, all I did was reboot this morning.
Now not working, but I have a specific time that hopefully I can see something in the logs to tell me what's going on. Can anyone give some guidance on what I should pull
@gloomy orbit your issue sounds similar to mine.. have you had any luck?
Will reply when I get home. 20 mins
@proven grove you said "bare metal install is the safest of all the installation methods", which I disagree with. Bare metal is harder to manage (snapshots, rollbacks, backups, remote access, cloning etc); plus you can't run >1 thing on the box at the same time. IMHO proxmox, even if you realistically only run a HAOS VM on it, is better and maybe even easier (especially with tteck scripts).
Of course, this is on a minipc etc, not a rpi, where running native haos makes more sense.
all IMHO of course 🙂
True, but that’s something that new users that don’t have technical experience need to be eased into. I don’t disagree with you, but with users that don’t have Linux/VM experience, HAOS bare metal is the safest option. As they learn, that option changes. I don’t disagree with you, but supporting people who are all over the spectrum of new and experienced, I tend to go with the easiest option.
I look at this from more of a support role, than what is considered “best”, if that makes sense?
I wouldn't describe Installing HAOS bare-metal as trivial either. You need to fiddle with the BIOS/UEFI, flash a USB stick, boot off of it, flash HAOS to internal disk etc.
Yeah, all that stuff is kindof error prone. It's all a trade off eh
So still think this is just a VM issue or is there something we can pic apart from the logs?
That’s my suspicion.
Issue resolved and came back. Is there something I can share from logs that may help?
Please provide/link to context. You can't expect everyone to know what your issue even was.
Anyone has migrated from HA on RPI (with supervisor/HASS OS) to a docker based HA version? Ive got quite a lot of config/lots of custom components through HACS etc, looking for any experience/advice!
Basically, all you need to do is backup your /config folder from your existing install and copy it over to the mounted folder on your Container install. Then, once you start the container, all your integrations and such (minus addons) will transition over.
Addons are completely out of the equation now I assume, so the Ring MQTT addon etc is a no go now... Damn.
Might not be a feasible migration then.
Oh I see - it would just run as its own container as well
Well, yes and no. Addons are basically just docker containers with some special "magic" added to them for HA integration. You can usually find container versions of the addons and run them that way. You won't have the same ingress into HA, but the functionality is virtually the same.
Right - lots of readng to take place.
Appreciate the help!
I may well be back... 🙂
I installed all my components with HACs, but through just having a complete copy of /config to the new /config folder mapped through to my container, these should all work? Dwains Dash etc.
Assuming you copied it completely. Hidden directories and files included.
anyone know why i can`t create any accounts? when i use the Onboarding, i press create account and nothing happens. after some time it refreshes to login, but the account does not work.
I check command: ha auth list, and it shows Users: []
Which browser do you use?
Yeah, but as @raven forge said, do a complete copy (include hidden directories).
tried opera and chrome
Make sure the username is only lowercase, no capital letters
Not that one should have to care about that when using a modern browser but I've seen issues with firefox and restoring backups for example.
I also saw that setup/onboarding issue mentioned in one of the bugs on github but the term to find it escapes me at the moment.
but i then need to reinstall the whole HA to get back to onboarding? i cant create account with a command line or something?
and users should show with "ha auth list" , right?`
I found it: https://github.com/home-assistant/operating-system/issues/3459
Apparently you can't create an account via the CLI. You could try if you can restart onboarding some way. Yes, when called from the right place it should show the user list.
If all else fails you can try ha os datadisk wipe to start fresh.
Anyone able to help me get to the root of what kight be happening here? Was suggested that it might be that I run via VM? Issues just started in last 1-2 weeks. 3 days ago is when it stopped altogether. Then a 1 in 20 reboot fixed it. Then it stopped working again...
#installation-archived message
And you've checked that the LAN IP is still correct? You've tried that rather than homeassistant.local?
Yes. I've tried LAN and I can't connect still
But I can see in my VM the connection, and it hasn't changed.
It worked for half the day yesterday, then stopped.
Was going to post photo but looks disabled. Recommended site like pastebin for photos?
Looks like Ill still need to insdtall the MQTT broker iteslf seperate as well
Yup.
@still citrus Please use imgur or other image sharing web sites, and share the link here.
Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.
This all looks good and normal to me.
https://imgur.com/a/RBiy3rf
Why do you have two network interfaces on the same subnet?
What networking type in Docker do you generally use for Home Assistant? Host? Macvlan?
Host is required.
Would macvlan not work?
It would, but only for external device. Macvlan cannot communicate with bridge or host networks.
The docs are also pretty clear that you use host
Lots of integrations in HA rely on broadcast/multicast
Not using host means those don't work
I'm actually not sure why that's happening. It may because it has a wifi and LAN conection? I dont recall if that was normal or not but I haven't touched the NUC settings or VM settings in over a year and it has been working. Not sure what would cause the changes.
What are you recommending I do/?
Why do you have both LAN and WiFi?
The VM should only have one connection to the network
I dont know how/why it uses both. I'd assume it would fail over to wifi when needed. I'm not sure if I ever noticed it would connect to both
For whatever reason - I think wifi dropped. And HA is working again (literally kicked on 2 minutes ago, because a bunch of automations started firing)
I just checked the connection again, and it shows ONLY one IP now. Maybe when it connects to a both networks, it has IP communication issues.
I live off solar power. Everything runs on 12V DC systems (For the most part). The ethernet switch happens to be on the AC system. In low power states, LAN powers off but wifi still works. this is why I have both
Then get power to the LAN
Easier said than done.
Any systemic way to make sure it only uses one connection at a time and prioritizes LAN
THanks
So, no idea how to fix this SSL error guys ?
Hi, did you had an issue for remote access via httpS ? I had something similar I think (SSL error)
hello, ive had a weird thing happen, i boot haos off an external drive on rpi4, ive had some crashing issues in the past but now its not getting past uboot, it spits out a few timeout lines after finding the disk and then shuts down. all the files are still on the disk, so it shouldnt be a disk corruption.
So, no idea how to fix this SSL error
Hello all you geniuses!! I have installed HA Supervised on my RPI4. (It runs klipper, so HA OS wasn't an option.) I gotta be honest, the devs behind all this deserve some kind of award! So My question is this - When you install Home Assistant Supervised installation, do you have to do anything special to get a secure (https) connection while connecting to the server from within the network? I am getting all insecure connections, and I don't think I did anything that would affect this.
Well you've managed to do an unsupported install.
There shouldn't be any difference in the setup for https, but honestly considering you've deviated from the install docs, it's not really possible to say what the problem is without a deeper dive.
Supervised experts aren’t easy to come by, either, but someone may pop around willing to help figure it out with you.
Thank you Missy. Seems like if you use the supervised install (https://github.com/home-assistant/supervised-installer) and you have any problems, the response from the community has the tone of 'You dug yourself into this, dig yourself out.'. I realize there can likely be issues directly related to this type of installation, but there are going to be loads of issues which aren't.
Why did you go with Supervised over Container?
You happened to walk in here the same day I had this very discussion with someone, so it was top of mind to share the information. 🙂
I did container first, but quickly found that I couldn't install an add on which I needed.
Add-ons are docker containers
You just need to set up docker containers for any #add-ons-archived you want and configure them.
Overall the amount of work is considerably less than Supervised, and easier to support 🙂
My search results indicated that there was no way to install the add on when using the docker install. Not knowing enough to second guess the information, I backed out of that method.
The biggest issue with this kind of installation is that one of the requirements is that you do not run any other software on it: https://github.com/home-assistant/architecture/blob/master/adr/0014-home-assistant-supervised.md
The operating system is dedicated to running Home Assistant Supervised.
No additional software, outside of the Home Assistant ecosystem, is installed.
So it's basically no different than HAOS but you have to put in all the work.
I'd suggest trying again with the container install, and set up docker containers for anything add-on you would like. None of the add-ons need to be an add-on, they're containers for convenience in HAOS
The alternative is to run HAOS in a VM. But on a Pi that's not a good idea—you're already limited for resources.
I personally use the container HA install. Also have a container for zigbee2mqtt, esphome, mariadb, etc
It’s not much more effort than using addons with a supervisor either
Interesting... Is there information you can point me to which could help me to do that?
(Rosemary?)
Honestly, you just need to find whatever the add-on is that you're interested in, and use the docker compose files to set it up and run it. (Docker compose is recommended just because then don't need to save the docker run commands every time)
E.g. Zigbee2MQTT has the docker compose file here: https://www.zigbee2mqtt.io/guide/installation/02_docker.html#docker-compose
Zigbee to MQTT bridge, get rid of your proprietary Zigbee bridges
I clearly need to learn more about Docker.
And HA's docker compose is here: https://www.home-assistant.io/installation/linux#docker-compose
You can even set up a single docker compose files which has dependencies, so Zigbee2MQTT doesn't start before Mosquitto, for example
Maybe I should be proud of myself for getting this far... Everything else is going fantastic! Using ESPHome, and have 5 devices running on it.
ESPHome works as a container too! 😄
These are the docker docs on dependencies and startup order: https://docs.docker.com/compose/startup-order/
But perhaps, is there a direction someone could send me towards with information on problems with insecure connections in general, which might apply? Starting over sounds.... like a TON of work, for a problem which might not be too hard to fix in my current state.
Is it a problem? Do you need SSL on your local network?
The other add on is ewelink.
If you do a backup, you can restore the backup easily. And doing backups is highly recommended 😉
It's not hindering me too much, however I have the feeling that when I try to make voice assistant devices, I will need secure connections for mics etc. From what I ran across today...
Most people don't use a secure connection locally. Just on reverse proxy
Oh goodness, that is SO true! I actually close my drive on my Windows system on a regular basis.
(Clone)
Or you can use Nabu Casa for $5/month and support the project, which also handles the voice assistant stuff too.
There is no ssl local connection by default with any of the install methods. That’s something you would have to configure yourself in any case
I'm using Nabu Casa now, and plan to sign up after the trial. So am I worrying for nothing?
Really????? That's awesome!! Then there is no problem!?
Probably, you shouldn't need SSL
You might need https to configure devices for ESPHome via a cable, but there's a public ESPHome for doing that with, or you can connect with your Nabu Casa URL for it.
Ok. I'll just continue as I am, and deal with any speed bumps when they hit. Thanks everyone! Sorry to take your time.
Definitely set up an automated backup system, one day you will be grateful to have it 🙂
I have multiple ones on my Windows system. No idea how to do it on the Pi at this point. Is there a specific tool I should be researching?
And keep backups on another device. Just for the case fecal matter impacts the rotor
I have a question regarding my current HA setup.
Im running Win10 on a lenovo intel 5th gen with HAOS on virtual box.
My current HA consists of a media server, frigate nvr ( im using cpu power, can't seem to pass through the graphics card)
Some of my other integrations are Local tuya, xiaomi, hacs, broadlink, qbittorrent etc.
I am noticing frequent crashing of virtual box... Also the nvr using the cpu is really heavy on the pc. And for some reason it wont save on my network drive.
Also im running a qbittorrent client on this win10 lenovo, plus a Minecraft server.
I started on ubuntu but it was so problematic and took forever just to set up basic things so I jumped to windows.
Any other way to do this? I don't want to have 3 different machines running at my house for this?
How about Proxmox VE? #hardware-archived message
How much memory does your PC have and how much memory did you give to the VM?
Currently i have 12gb of ram, im dedicating 6gb... Maybe I could give it more i guess
I could try proxmox ofc i just hope it supports external usb not like vmware haha
Okay so im checking the # u gave me, and that would probably do the trick haha. I just home my pc will be enough
6G should be more than enough for HA. Maybe check the event viewer for why it crashed.
Damn these vbox logs are a mess, i recall it was something about "instruction cant be read" something or something like that... And the vbox crashed AFTER you clicked OK
@tight brook Is there some reason you need to run windows natively? Maybe you should do it the other way around? Run proxmox natively, and run Windows (if you need it) in a VM?
Trying to pass gfx windows->proxmox->vm is .... too many layers, almost certain to fail.
Yeah that's what im checking out Right now i see no problem with this kind of setup . I just hope it's not too complicated to set up, i managed to set ehat i have but yeah
I have Mac and Windows VMs, alongside all my many LXC and VMs for home automation stuff.
There's a couple of good guides, and using the tteck scripts makes setting up many common proxmox apps a "one line wonder" (including HAOS)
this is a decent from-scratch guide https://www.derekseaman.com/2023/10/home-assistant-proxmox-ve-8-0-quick-start-guide-2.html
My proxmox boxes are both lenovo thinkcentre 6500T and 7500T boxes, with 16GB of ram. They work great.
I was thinking of upgrading from my lenovo its a 8yrs old t430 laptop so not really a monster ahaha
But yeah thanks for the guide, seem like a weekend of work tho haha
It's not that bad ;). Creating a HAOS VM takes about 60 seconds, once you have proxmox installed.
I,just hope i can migrate everything smoothly from my current setup.
I just hope it wont mess up my Bluetooth devices and ssl certificates
Where are those stored now? In your HA?
It will almost certainly break some stuff, but you can fix it. The hardware device-IDs will all change, from whatever vbox made up to whatever proxmox made up.
Just Do It 🙂
People in this channel can help you in realtime
AFK shower time.
I will haha, i can't have virtualbox crashing on me everyday, im too dependable on HA
You can buy a used thinkcentre like mine from eBay for like $100-120
Small, cheap, fast enough, new ssd
eg https://www.ebay.com/itm/235642083439
Lenovo Think Centre M910q Tiny Intel i7-7700T 2.9GHz 16GB DDR4 WIN11 256 m.2 US$100
Would probably want a new/bigger disk though
anyone ever runned the UI on the server?
Wut?
Not if you are running HAOS. If you are running docker on raspbian, you can do it with the desktop and a browser in kiosk mode. But, this is unsupported.
im running HAOS
Then there's your answer. HAOS doesn't allow for that.
hello, freshie here, trying to install home assistant on an n100 pc. I follow the installation instructions through ubuntu, but when i get to the "create my smart home" screen i try to make a new account but i can't go forward. the Create Account button doesn't do anything and i get a 500 Internal Server Error. any idea?
Make sure your username doesn't have capital letters
Okay guys imma be death honest with yall im super new to this and i have no clue what im doing right now so i got the following question:
i have a intel nuc running linux is it possible to run homeassistant on the docker that i can access with my desktop?
if that is possible i also have a SONOFF ZigBee usb that i wanna use with the nuc to find zigbee devices i have a remote and a lamp right now working with zigbee will that be found within home assistant?
Yes to all your questions. But if you're not already running docker and are hosting a bunch of other containers there, there is no reason for running HA as a container afaik. But you can: https://www.home-assistant.io/installation/#advanced-installation-methods
yeah so i want the container but i cant really finda good video on how to set it up im glad i can use my zigbee usb in my nuc and find the zigbee stuff i have
Just follow the docs that @gloomy orbit posted.
where can i find the docs?
thanks will try and see how far i get
is it possible to multi-home an HA Docker install on two differnet macvlan networks? if so, what does the docker-compose.yaml look like for that? I can't seem to get it to work.
Well... mostly no, because HA requires you to use host networking so that things like multicast/UPnP/etc work
I use macvlan and everything works fine generally, but recently I had issues trying to turn-up Frigate and CodeProject.AI containers that were on a different subnet/macvlan network - the APIs just wouldn't talk, even though I could ping and saw sniffer traffic.
Turns out I had MTU issues; my HA macvlan network's MTU was 9014 but wheN I manually set it to 1500 everything started working.
The reason I was thinking multihomed would be better would be for better detecton of devices if the HA server was on my LAN, my IoT VLAN, and my Camera VLAN (for instance).
I've been thinking about switching over to host networking (since it's way more normal) but don't want to lose out on my LAN being able to receive broadcasts, etc. -- e.g my PleX server won't be detectable unless it's on the same VLAN most likely, among other things.
VLANs and HA are just a massive pain - particularly if you ever want to use Matter
is the premise that all the communication has to be on the same layer 2 network w/Matter?
Yes
Same as for UPnP/zeroconf and others
And trying to be "smart" with reflectors usually just breaks stuff
Yeah, at some point I will likely separate my HA docker machine from my non-HA Docker containers into a different machine/VM and will probably bite the bullet and convert to host networking at that point
Seriously? That’s it? I’ll try today, if it works i won’t know whether to laugh or cry
Yeah, it's a bug
HA only accepts lowecase for usernames, but the frontend doesn't validate that apparently.... I think the fix is in but not yet released
my home assistant loses connection when I install esphome devices or any big install. I'm not sure where to look to find the reason for the lost connection.
What hardware are you on?
i use a zimaboard

Generic x86-64
I have deleted all the dashboards that were having problems, checked my network and still looses connection?
i also disabled IPV6
Check the logs (host, core, supervisor) at the time
hi can i setup HA on nas? if yes then is it a good idea?
Depends on the NAS make and model
Most NAS devices are not very good at things other than being a NAS in my experience.
hey so i tried running homeassistant on docker
and right now i have the container running but i can only access it from my nuc and not something else in the network
i have the same ip as the nuc but cant access that port any idea as to why?
Please share how you started it and how you access it.
i deployed it on portainer
Name: homeassistant
Image: ghcr.io/home-assistant/home-assistant:stable
Restart Policy: Always
Network: Host
then i see its running and when i go to myipadress:8123 on my nuc i do see the start up page
but when i do it on my main pc i get the error connecting to server
it shares the same ip
and its a fresh ubuntu install on the nuc
Please use one of the documented ways so we can help best. I recommend compose. Portainer can read compose files as well.
Can you also check and share the local ip adresses of your PC and the NUC?
127.0.0.1
No I meant one of these: https://en.wikipedia.org/wiki/Private_network#Private_IPv4_addresses
127.0.0.1 can not be reached by other devices.
And the other one?
i see
LOL
thanks\
i kept trying to connect with 127.0.0.1
instead of the ipv4 one
thanks legend ❤️
You can probably replace the ip with the NUC's hostname as well. Depends a bit on your networking setup.
How would i find the hostname?
hostname in the CLI of your NUC or check the prompt. It will probably look something like user@hostname:~#.
i see lots to learn loving it so far new to whole homeassistant docker and linux
Yeah it's a lot of stuff to learn at first.
okay so next question haha i got a sonoff zigbee usb in my nuc how can i add it to home assistant and how will it find other stuff?
right now i got only one zigbee device to try it with being the styrbar remote from ikea with zigbee
If you use privileged as documented HA should find it: https://www.home-assistant.io/installation/linux#install-home-assistant-container
If not you have to use ls -l /dev/serial/by-id/ to find the path to the device and add it to the container yourself.
Like I said, best to follow the docs 🙂
You might want to see whether ZHA or Zigbee2MQTT is a better fit for you but for that there's #zigbee-archived which also has helpful pinned messages.
Hi, I have a recurring problem with HA dying every 3-4 days. It responds to ping, but I cant access it via the GUI or SSH. Looking at the proxmox logs it seems to get a surge in in traffic, then - boom dead. Also disk read going up a lot.
Any clues what might be happening here?
Maybe a bad custom integration. Restart to safe mode and observe, if it still happens.
If you're having problems with your updates to your configuration:
- Check the troubleshooting steps
- Check your log file - remembering you may need to set logger to
infoordebug - Explain what the problem you're having is - sharing configuration, errors, and logs
Might need to resort to that, but not super keen on running it in safe mode for 3-5 days
Yes, I will increase logging
Not sure on this, but this looks a bit suspicious?
2024-07-17 18:25:13.029 WARNING (SyncWorker_40) [homeassistant.helpers.frame] Detected that custom integration 'edgeos' calls hass.async_create_task from a thread other than the event loop, which may cause Home Assistant to crash or data to corrupt. For more information, see https://developers.home-assistant.io/docs/asyncio_thread_safety/#hassasync_create_task at custom_components/edgeos/core/managers/home_assistant.py, line 77: self._hass.async_create_task(self.async_send_heartbeat()), please report it to the author of the 'edgeos' custom integration
Also logging a lot of these 2024-07-17 18:24:23.588 WARNING (SyncWorker_57) [custom_components.edgeos.core.managers.home_assistant] Update in progress, will skip the request
Looks like the integration author needs to fix that. You should log an issue here: https://github.com/elad-bar/ha-edgeos/issues
(I think that's the integration you're using)
Do you think that could be the cause of it crashing? I find it strange that it happens so seldom. But the error states it quite clearly... I'll disable it and see if it happens again at least
Yup. It's crossing thread boundaries and that's a bad thing to do. It was fine largely ignored in the past, but there have been changes to HA that prevent that kind of bad behavior.
Cheers!
It worked 😘
Anyone know how to use / enable a POE_HAT with LED screen on a device running HASSIO OS?
That's not supported in HAOS. It's a server and doesn't have a GUI. Your best bet would be to use a Container install and setup raspbian desktop with Chromium in kiosk mode.
Pretty much this: https://github.com/klamann/raspi-poe-mon
I've got it running on a Pi4 w/ the Terminal add-on enabled.
Aw rip. :3
It would have been for the GPIO connected OLED screen, not a specific display / homeassistant related setup.
Just temps, cpu, fan control, etc.
Hmmmm... GPIO support has been deprecated and I know that HAOS doesn't support it (well, not officially at least. There is a custom integration (I think) that enables GPIO support. https://github.com/thecode/ha-rpi_gpio
That might work?
Interesting, although this doesn't get me to running the python code to actually power the display itself right?
You can create a python script in HA and use that.
It'll be a bit tricky if you need to load custom packages though. In which case, you could use something like AppDaemon or pyscript.
I don't think I'm experienced enough with HomeAssistant to achieve something like this, just getting started; maybe in a couple weeks / months I guess.
Honestly surprised this hasn't been brought up by others in the past, but fair enough. 🙏
Appreciate the quick response. 🙂
No problem! It's actually not that common because you can display those things on your dashboard and not have to see your rPi. 😉
That's fair! I just have LCD on this hat I'm using so figured it's always useful in a pinch / for quick debug etc. Especially also cause it has a fan that can be controlled via GPIO which sorta feels like leaving preformance on the table ahaha.
lol well, yeah, but HAOS doesn't have any kind of fan control anyhow (well, outside of using that integration I posted before).
Heyo, newbie here. I just bought a Beelink N100 to run HA on. I want to also run some other dockerised apps off the same machine. Can I use HAOS and install docker on that or will I need to install linux/ docker and find a HA docker image to host HA?
No need to find it, it's in the docs 😉
HAOS doesn't support non-add-on software, so if you want to run random Docker containers you can't use it
You could install Proxmox and run HAOS in one VM and everything else in another
Is there a benefit to using proxmox over just docker containers for everything? I've not used any VM stuff before. Also do you have any suggestions on youtube vids/ guides on installing proxmox on a new barebones machine? I'm very new to all of this
The idea is that through virtualization you have 2 "PCs". One can run HAOS and the other all your docker containers or whatever you want.
I used this a couple of months ago to control a fan, it worked then at least.
Ok, not sure what channel to ask these questions...
I'm new to HA. I'm trying to figure out Switches vs Plugs vs Bulbs.
In my office I have 8 standard bulbs in standard recessed ceiling lights on one switch. I would think it would make sense to just get a switch for that room, right?
In my living room I have 3 lamps plugged into the wall. Two of them are on switched outlets, the other on a normal outlet. That one makes sense to replace bulbs.
I have a couple hallways with a single light and single switch. What makes sense here?
Now for the fun ones. Dining room with a chandelier and two switches. Can't replace the bulbs, but are there two way smart switches?
But smart bulbs for accent lamps where you may use colour, smart dimmers/switches, that can be used even if HA is offline, everywhere else.
What about 2 or 3 way switches
hey fellas! quick question, in order to keep energy bill low, i am considering installing home assistant on a pi 3b+
now most likely it will connect to ble devices and zigbee
so i think it should be enough for that
i suppose i could give it a go for video
It'll be ok, but not good
I'd use a Pi4 as the lowest sane option, with a powered USB hub and an SSD
At that point you're in the same power ballpark as an old i5 laptop, which will perfom better
thats the only issue with the pi 4 is the amps
requires at least 3, right
also regarding the zigbee connection, can you recommend a cheap zigbee usb
The SkyConnect or whatever they renamed it to is cheap
Also, the Pi3 only has 1 GB of RAM, that's already a bit borderline, plus SD card lifespan is shocking. Don't do that to yourself.
do you happen to have a link
sorry just wanted to make sure i got the correct one, https://www.seeedstudio.com/Home-Assistant-SkyConnect-p-5479.html
almost considering these, https://www.aliexpress.us/item/3256805084701578.html
That's maybe ok, maybe not... up to you if you're happy to risk wasting money
Me... I'd spend the money on something from Tube or SMLight
i have rolled the dice with aliexpress on other items before and it went well
but once in a while i do buy brand name
You asked for advice... it's always up to you if you listen
i just dont have that many zigbee items
oh i appreciate it
and you are right, i mean just get something that works from the start
well its still prime day
Well... whatever you decide to do ... good luck with it ... you're gonna need it
lets see if its cheap there
@humble mirage i will say this tho, it seems this aliexpress zigbee uses the same EFR32MG21
So?
There's a world of difference between good RF design and assembly and mostly good enough
The folks in #zwave-archived have a lot of experience of sticks that behave very differently despite being the same - and the same goes for #zigbee-archived
Anyway... go buy the cheap crap, but don't say I didn't warn you
i suppose i could ask in there as well but i was just trying to find something cheaper than 30 bucks, considering this is my only zigbee item
but in all honesty i do appreciate the advice
Really? Because all you've done is push back against it...
not pushed back just asked if there might have been an even cheaper version
well the only reason i am using this is to use a third reality smart plug
@humble mirage but wait i think i might be able to just connect to it via ble
@oak wyvern Discord isn't like IRC, you don't have to tag people on every response. Keep in mind that every time you tag somebody, they get a notification ping. That can very quickly become annoying and people may block you.
When using Discord's Reply feature it defaults to pinging the person you reply to, click @ ON to @ OFF to stop this - on the right side of the compose bar.
whoops, sorry about!
but i can just connect to via ble, correct and not get a zigbee usb device
i will give that a shot before i start
Hello everyone, does HA works on rPi 5?
From the docs, yes
https://www.home-assistant.io/installation/raspberrypi
Thanks a lot
Do I need an external ssd?
The pi 5 still needs a powered USB, right?
You can get NVMe hats now, so not necessarily
Thank you guys
Not even that expensive. Looks like a good option.
If you must use a Pi that's the best way IMO
Hello, i would like to ask some help with setting up HA on docker installation (ubuntu) with z2m + mosquitto broker. if anyone able to assist me would be much appreciated.
What do you need help with?
setting it up, i dont understand what i need to do, i mean i have a HAOS setup also but its not working well, there i just add the integrations and its added. but with the docker setup i dont understand how to link it all together
I have HA running, that is not the issue, my issue is with getting z2m and mosquitto to work with HA
All you need to do is set those up as separate containers. https://www.zigbee2mqtt.io/guide/installation/02_docker.html#docker-compose is for Z2M and this one is for MQTT: https://github.com/sukesh-ak/setup-mosquitto-with-docker?tab=readme-ov-file#5-create-docker-compose-file-called-docker-composeyml
Yes i have read these articles, couldnt get it to work, i dont understnad why i am sure i am missing something hance i ask for help
with the process
When you say you couldn't get it to work, what failed? Can you give me some more detail there?
I got the following errors when upgrading to the latest version, running in docker
2024-07-18 08:51:45.957 WARNING (MainThread) [homeassistant.components.hassio.handler] Found incompatible HTTP option 'server_host'. Watchdog feature disabled
2024-07-18 09:15:25.105 ERROR (MainThread) [frontend.js.latest.202407100] Uncaught error from WebKit 605.1.15 on iOS 17.5.1
ReferenceError: Can't find variable: Polymer
module code (/local/battery-entity.js:1:36)
You have hassio there... that's not going to be the case on a pure Docker install
Do you really run Supervised?
Did you used to run HAOS/Supervised and restored a backup on a Docker install?
I’ll be honest, I installed this back in 2018/2019 and had very little idea as to what I was doing haha not that I know much more now.
I remember I had hassio on a Pi and then I moved to a NUC running docker and I liked the backup feature on hassio so I followed a tutorial to install hassio in docker, maybe it was the Supervised install
What does he info page say?
https://my.home-assistant.io/redirect/info/
Also, you can (and should) remove the server_host line, and the old hassio integration if you're really on Docker
I get 404 not found when I put in my url
Looks like I have containers running for homeassistant which has hassio parameters but also hassio_supervisor
Then you have either HAOS or the cursed Supervised
Probably the latter
The best thing to do is to move to HAOS, or move to Docker, but either way stop running Supervised
Sounds like I’m in for a weekend of tinkering. Once I get HAOS or docker running properly, would I be able to restore my old backup?
Yes, but use HAOS
Can I install HAOS on an Ubuntu server that I am using for other services through docker?
No.
But you can install proxmox and use it in a VM.
@formal pawn 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).
Sorry tinkerer
Any downside to installing Supervised instead? I like having the add-ons feature which core and container do not have
YES. Don't do it. You'll hate yourself later.
lmfao 
Seriously... install proxmox and setup HAOS in a VM.
Or, go with Container and install addons as containers.
Thanks, I’ll do some research. Never used proxmox before
LOTS and LOTS of forum posts on how to install and use it.
Perfect, appreciate the advice!
Would I need to create 2 VMs, one for HAOS and another that I move my existing docker setup to?
Yup.
Damn, I have quite the weekend in store!
You could even run a KVM VM on your Ubuntu box
Thanks, I’ll look into that. I’m not familiar with VMs on Ubuntu and still not super familiar with docker so having to move it is kinda daunting
If you're not familiar with VMs I recommend something like proxmox VE. Otherwise you might quickly come to hate them if you use something more CLI centric or involved like virsh.
Hi all, while reinstalling HA on RPI4 with docker and portainer, i have the issue that it does not find anything on my network on the setup? Is there any easy solution to fix this?
Did you use host networking as per the docs?
I thought i did, but obiously i did not. Thank you 🙂
Hi, I'm trying to connect my zigbee dongle to HA. HA detects well the dongle, but it's after to configure it, I click on "erase network parameters and create a new one" then it says "Loading the next step for ZHA" but never stop loading... it loads for infinite and my VM crashes, or a error message pops up and stop the loading... I flashed the firmware of my dongle to reset and be sure that it doesn't come from the dongle, but I still can't connect it to HA... I tried to erase virtualbox, my vm and download everything back but it still doesn't work. someone has an idea ? here is the log after my crash https://imgur.com/a/KWBtyj6 and the log after my crash but without going back on HA https://imgur.com/a/pBfO6ud (no supervisor since I didn't go on HA, i just powered up the vm)
someone saw the last link and told me that i might have done something wrong when i installed HA so that's why Im here
VirtualBox is error-prone. I'd really, REALLY recommend moving off of it as soon as you can. However, what I think might be happening has nothing to do with the USB stick at all, but might be network issues instead (at least by looking at the logs).
do you have suggestions for what I can use if I don't use virtualbox ?
Is this running on a dedicated machine?
Or are you running it on your desktop PC or something like that?
the fact is I can access to HA and I ccan ping my vm so the bridge network is finee...
fine-ish. Your logs are showing network errors.
for the moment it's runnning on my personal PC but I then want to clone it to use it on another computer without internet, a fixed one
Ohhhh right... I remember now... the "admin" PC, right?
yes 😢 but it's strange that it's still working
yeeeah haha
it's been 2 months i'm trying to do that x)
So, the same recommendation I made before, I'm going to make again. Don't run it on a Windows machine. Use ANYTHING besides Windows and VirtualBox. Spend a bit of money and get yourself a mini PC or something. I guarantee you will have a better experience and will finally acheive what you want.
I know man... But... here's the thing... without internet on that machine, you're not going to be able to use any cloud services (weather, Tuya, whatever else you have). They will not work.
You also won't have access to HA remotely.
just to be sure, why can't I access it remotely ? after I have downloaded everything, in a world that Ha and my zigbee devices are working, my home (HA) would be on the cloud no ? so any computer with internet could access it no ?
No. If the machine running HA has no internet access, then it wouldn't be available remotely.
to explain, my goal was to being able to reboot computers from home for my company, so with plugs connected to HA
oh ok thanks 😢 2 months vanished x)
Well... hold on... let's figure out a solution to what you want to do rather than worrying about time lost. 🙂
Keep explaining what you want to do. I'm 99% certain we can figure out a solution for you.
Remote access for any computer requires that it can access the internet (or some other shared network)
Sadly magic isn't really an option
HA will run fine without internet, but obviously no cloud integration will work and you can't access it remotely
You know with working from home, engineers need to being able to reboot the computer they are working on from home (the computer being at the company not with them). It can crash a lot with you are working on anything related to computer science x). For the moment, they need to call someone at the company to reboot it which is far from optimal. So my goal is to create an interface or something that allow them to reboot the computer of the company from home without calling someone. To do that, I thought of domotic. I bought a few connected plugs from Sonoff and I wanted to connect them to the computers of the company thanks to a zigbee dongle and HA. From HA, I can turn off my plug to shutdown the computer then turn on the plug, and in the BIOS of the computer, I can add the option that whne the computer detects power, it powers up automotically. So I need to access HA remotely...
Cutting the power is brutal and is not how you solve this
I thought I could add any integration from another computer with internet and then clone it on the computer without internet and it would work... 😦
Ideally you want the "remote" computer to have LOM (lights out management)
Yes, it is, I didn't think of any other ideas...
Failing that you would look to see if you can hook something up to do a controlled shutdown - cutting power should be the last possible step
To reboot remote computers, i would use something like a remote desktop.
Ok thanks I will look into that ! I never heard of it
But the computer would be crashed, like this is why I need to reboot it so I can't access the desktop from the computer remotely. I might have missundertood you haha
or better, move those "personal computers" on "real servers" . All real servers have remote access solutions ( Dell call it DRAC i think, all brands have their own solutions).
You can even enter the BIOS. It's like a KVM, but builtin into the motherboard, with dedicated RJ45
For the moment, we are using VNC to access computers remotely
Thanks a lot guys, I will look into all of that, It's like discovering a new world haha
New solutions are more and more using Virtualization on those servers
So you have the best of both solutions
That was going to be one of my suggestions. Use something like AWS VCD (Virtual Cloud Desktop) and then the laptops given to the employees are just dumb terminals at that point.
Indeed you could rent those "physical" servers, or virtual servers ( u can ask more CPU, memory, hd space if/when u need it, backups...)
I'm currently hosting my own vpn solution in germany. my home router is 24/7 connected to it. I can connect to my vpn solution from everywhere. Total cost 1€21 per month... even cheaper than costs of a running rPi 🙂
Yes it's like that in my company also. We are using a VPN between our personal PC to acces computer at the company. So they are not connected to internet but with "intranet".
If I can use internet to add my integrations (my dongle zigbee and plugs), then turn off internet, I will be able to access HA from any personal computer thanks to the VPN, and HA should work and being able to turn off plug ? even without internet ?
I know it's not the best solution and really brutal but since It's been 2 months I'm on this I would like to try like this... and at the same time look at the solutions you gave me to use a not brutal system
Well, yes, HA can turn off any local plug
The question is how you'll tell HA to do that
I would access HA of my computer thanks to the VPN from a personal PC
Then yes, that'll work
If i were you i would try to re-use any kind of PC, install proxmox on it, then HA, then zigbee with one or 2 plugs....
okay I've got some work to do haha, I will look into all that, thanks again, fast and clear answers 
I was trying to do that with my personal PC (outside the intranet of my company) but with virtualbox...
You are speaking about proxmox ?
You're already running HA in a VM
You already have Zigbee
Changing the VM platform won't meaningfully change what you're doing
tbf, they are running it in VirtualBox though... on Windows...
Yeah, getting off Windows won't hurt, but it's also not the source of these problems
oh ok, I still don't know why my dongle can't connect my HA then haha, my dongle is well detected by HA, if virtualbox is not the problem, and I already reset my dongle by flashing the firmware, I don't know what to do next... I created a lot of HA vm thanks to virtualbox and eachtime delete everything to create a new one, so maybe now it blocks it I don't know...
Set up a small Proxmox at home. Cool and relax at home with a beer... it's easy! Chose the royal+free+easy+stable solution!!!!
Sould'nt take more than a few hours if you have some experience/knwoledge.
2 or 3 days if you have to discover everything... Not 2 months 😉
I have installed home assistant yellow and booted it up. I have a bunch of IKEA bulp and remotes (and an ikea digirera hub). Should HA yellow discover my IKEA bulbs automatically or do I need to install the IKEA addon and connect it to my IKEA hub? I know that HA yellow works since it discovered my elgato light.
Not the add-on, but the integration
You would need to add the IKEA integration.
#integrations-archived integrate Home Assistant with devices or services, or provide functionality within Home Assistant.
#add-ons-archived provide additional software or services, which an integration could possibility integrate with. Add-ons are for Home Assistant OS and Supervised only, other install methods can install software other ways.
Heyo, if I just bought an N100 and I want to set up proxmox on it. If I take out the SSD which comes with it and use balenaetcher to write the proxmox iso file directly onto it can I just plonk it back in and it work or do I need to create a bootable USB drive with proxmox?
You can't use etcher to install proxmox VE directly. You have to boot the installer flashed to a USB stick or similar and then use that to install it to the SSD.
ah that's annoying - thanks for the help!
Has anyone tried installing Home Assistant on the Radxa X4? It would be great if a Zigbee HAT could be installed on the GPIO of this SBC.
https://radxa.com/products/x/x4/
Install ventoy on your usb stick. Then copy pase Proxmox iso on your usb stick, then boot your new pc with this usb stick
No. it has been like that for more than 30 years....
But you can burn a DVD or a bluray also 😉 😉
lol, that's longer than I've been alive
Why would you use a zigbee hat, when u can have a sonoff usb for 20€ ?
I'm trying to follow this guide to getting proxmox setup: https://www.makeuseof.com/install-proxmox-on-intel-nuc-or-x86-pc/
They suggest using balean etcher - is ventoy better? I've got to the step where I'm supposed to select the boot drive from the boot option/ order menu but the only option I have is "Enter Setup" which just takes me to BIOS
Then activate the boot on usb in the bios. or press F8 or F10 when you start your PC .
F2 on my lenovo
This is a good start: https://www.derekseaman.com/2023/10/home-assistant-proxmox-ve-8-0-quick-start-guide-2.html
Ventoy is more flexible and useful.
I'm at the tteck post-install script stage and it didn't seem to do anything. Is there something I can do to check if it ran?
Probably network issues. Try just wget https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh without the flags and subshell stuff.
That returns:
--2024-07-19 17:57:24-- https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh
Resolving github.com (github.com)... failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘github.com’
I have a feeling I messed something up somewhere during this process :/
I wouldn't run any script ... not written or approved by me.
does "ping google" works ?
nslookup google.com ? what's the result ?
Neither worked:
;; communications error to 8.8.8.8#53: timed out
;; no servers could be reached
ping: google: Temporary failure in name resolution
ping your gateway first then
The PVE installer should give you a valid placeholder ip via DHCP unless it couldn't get one.
Did you change the default ip? If yes to what?
I did. I changed ip to 192.168.1.230 and gateway to 192.168.1.254
And you are certain these values are valid for your network?
on your windows, run ipconfig
No, I was following a youtube video - is this a wipe it all and start again type of situation?
No.
ipconfig will tell you the gateway
It may be easier though. You can run dhclient -v to temporarily grab one via DHCP and you then have to edit a few files with a valid ip.
LOL .... Murphy's law !!!! if there is a chance something could go wrong ... 😉
Default gateway from ipconfig is 192.168.1.1
nano /etc/network/interfaces. Change the gateway, save and exit then run ifreload -av and try again.
what should I change the gateway to?
same as the one I got from ipconfig?
tteck post install script running 
rip me
is there anything else I need to do to fix my erroneous ip/ gateway dns shenanigans?
I set the default dns to 8.8.8.8 too
now regretting trying to follow multiple guides at once and doing them all badly
NO. juste reboot, and reach your proxmox on http:// port 8006
I'm not a fan of these scripts either but starting with PVE is quite hard at first so I just hope they are only used as a kick start.
No reboot needed in this case.
What you should do is to reserve that ip in your router so it's not handed out via DHCP. You don't want ip conflicts.
gooog catch @raven forge
Will do - thanks for all the help both!
So you have your proxmox in your web browser now ?
ya ya
Now, on the left pannel, you should see behind cluster, your proxmox. 🙂 and i think you should have a default storage called "local?"
In case you want to manually create a HAOS VM I have some instructions here: #installation-archived message
Here's some suggestions on VM settings:
On the far left panel under Datacenter I have a tab called proxmox with localnetwork, local and local-lvm under it. When I click on Datacenter in the far left and then go to Cluster in the slightly less left panel it says "Standalone node - no cluster defined". Under storage on the same sidebar I have local and local-lvm
indeed , i'm running a cluster 😉
phew - thought I'd messed up something else 😅
No no ....
If you have a nas, may be it will be your next step.... in order to upload your ISO's
When I'm more comfortable with proxmox, HA and docker, setting up a NAS for Jellyfin is the next thing I want to do!
Just make sure you utilize the benefits of VMs to their fullest. Make backups, do snapshots before you test things. Stuff like that.
Yes indeed. and you really should consider automatic backup. Minimum once a week, and as @raven forge said, before any (big) change, and, may be, the next day when it is validated. ( or just wait your weekly backup...
Take them often, and test restores periodically
I got HA OS on a dell computer. I followed all of the steps and went to my homeassistant.local:8123/. I got the the "Create Account" step but whenever I clicked to create my account nothing happened. I turned off my Add Block and tried again but again nothing happened. Now when I got to it it goes straight to a login screen but I don't have an account yet. I checked on my HA comptuer and there are no users listed. Not sure how to get back tot he onboarding screen to set up my account.
Did you use uppercase characters?
I copied all of my credential from my password mananger, so no typing issues
That doesn't answer my question and that's not why I'm asking. There's a bug I can't find where the frontend does not validate that your username is all lowercase so it lets you install HA with invalid/no credentials from what I can tell.
I did use uppercase in my username
See here: #installation-archived message
Hey y'all! I'm just starting in my home automation/home assistant journey. Found an old laptop and cleared the drive to install HAOS. I'm getting an error on Home Assistant installation, stating something like "[supervisor.docker.interface] Can't install ghcr.io/home-assistant/generic-x86.... Client.Timeout exceeded while awaiting headers)')"
I also have the logs if needed 🙂
ls
Is the laptop connected to the internet?
Yes, ethernet
That error indicates that the installer couldn’t pull images (we see this A LOT). It can be for a few reasons, but usually it’s something on the local network blocking the download. From the laptop console, can you try to do a nslookup google.com and see what it returns?
Hi im stuck in a bit of headache...
i have been running my HA yellow for about 7-9 months. and suddenly in the last 2 days it has failed and crash nonstop. i have not added any new integration or add-ons in the last 1 mth.
mostly working to clean up my dashboard to make it more usable..
it has stopped working so i assume the first thing was to try and reinstall.. i have followed both Opt1 and Opt2 in HA yellow website but my HA yellow is still unable to boot.
@pure walrus I converted your message into a file since it's above 15 lines :+1:
That looks like the storage device has an issue. What kind of storage do you have in it?
I’d try pulling the drive out and reseating it in the slot. If that doesn’t work, then try swapping it out. Also make sure the CM4 module is firmly seated as well.
is there anyway i can complete clean out the cm4 and NVME
so i can start from complete fresh
i tried this already. but didnt seem to help
Honestly, I’m not sure, tbh. Might be worth looking through the #yellow-archived channel and/or searching/creating the forums. Are you using the eMMC storage on the CM4 or a separate drive in the m.2 slot?
thanks at the point in time i just wan my HA to work. 😦
I get it. It sucks that you’re having issues. But, it still sounds more like an actual hardware failure to me.
thats my suspect as well.. but i dont have a spare CM4 to test if its truely hardware issue.
I’d try creating a forum post just to increase your visibility and maybe get better/different answers. Also, throw this into #yellow-archived as someone there might have some suggestions as well.
do u need the full log ?
My install consumes 16gb memory, is that normal?
Probably not. Please share a picture of wherever you saw that.
Please use imgur or other image sharing web sites, and share the link here.
Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.
When booting up Raspberry pi zero 2 w, throws a message after a while of [WARN] CLI not started or whatever it was and the issue is it's a headless setup, I only have a screen to see the console from but no way apart from SSH to access how could I get past it and have it boot into HomeAssistant and no it's not plugged in with ethernet, sadly don't have a micro usb to ethernet
You cannot install HAOS without internet. It doesn't look like the pi zero is even supported: https://github.com/home-assistant/operating-system/tree/dev/Documentation/boards
Ethernet is also part of the steps listed here: https://www.home-assistant.io/installation/raspberrypi/#start-up-your-raspberry-pi
it's connected to internet but with wifi, that's why I specified because I know it's not recommended but doabel and there is a whole sub-section on the forum of people booting off the zero 2 w so it's most definitely doable and supported, even has an image built into raspberry pi imager so supported👍
fully aware it's listed, doesn't mean it's a set in stone requirement, people have booted with wifi before and will again in the future, I was curious if there was a way to SSH into it or some other way to get around the error not to be lectured on what can be done or not as I already know that very well and was hoping a community like this would be inclined to do things like this not lecture others on the guidelines(yes I am aware this is harsh, it's meant to be because I have gotten this same type response multiple times)
Alright. Connnect your keyboard and monitor and show exactly what you see.
as I said, headless and only have a screen, no keyboards, that's the exact issue, can send you the picture of the error but it's this and nothing else because then it jumps into the console [WARN] Home Assistant CLI not starting! Jump into emergency conolse
Hmm. Without being able to execute commands we can't investigate anything.
yea sorry that's exactly what I have been dealing with this whole time, it's frustrating becuase I can see the console but don't have a single way to access it, wish I had a keyboard that I could connect to it but sadly no such luck, this is the hardest part of the install, lacking hardware lol
You need a "real" PC or a USB HUB.
yea pretty much sadly that would take ages and not sure if it's worth the effort, Ithought about booting up a VM on my pc and preconfiguring the files so ssh is enabled or it might work but I have my doubts about that working
Why not?
sorry bit confused, why not what exactly
I've had a Home Assistant running on my Raspberry Pi for a while but lately I'm having issues with adding integrations. I get "Failed to connect" errors when trying to configure them, and I get cannot reach api.github.com ssl:default errors when trying to add repositories. I suspect that the installation might be bad, so I'm thinking about starting over from scratch. The question that I have is can I restore a backup that I've downloaded, or will that create the same issues that I have now?
Why do you think it would not work as a VM?
oh my bad, not a good explanation, I was thinking of preconfiguring files in a vm and then installing on the pi but that's stupid, idk why I didn't think of this before but wouldn't it be possible to download PIOS, SSH into that instead and then install HomeAssistant on to PIOS?
You can install the container version of HA on pi OS.
right but that had the limitation of no plugins right if I remember correctly, which is also a big no
Addons are just containers. You can create them yourself.
Your best bet is to buy something like this https://www.amazon.com/dp/B00L32UUJK (USB OTG hub) and hook a keyboard up.
oh yea good point, yea I think that's the best possible solution right now
As a bonus, that hub also provides you with Ethernet capabilities.
yea it definitely is, only issue is I am sort of out of luck with my country as all micro usb devices have pretty much been phased out and buying from outside the country is expensive like a bastard, it would cost me more to get a hub than both of my pi's combined but I might have to look into a hub so I don't keep running into this sort of problem
I can only recommend looking if you can get a used (U)SFF PC from eBay or similar.
fair, but I think it's worth it in the long run, I already tried to setup pihole and ran into a similar issue and a good NAS, self made amazon firestick type creation and other such things are planned for the future so I think it's best if I have it on hand just incase
What is worth it exactly?
If you mean the pi I don't think the pi zero is a good device.
oh my bad, the micro USB hub for future use with other boards, because I am gonna be using a lot more low power pis or similar and arduinos
and definitely not too powerful but perfect for pihole for example, exactly enough power for the lowest price possible
ooh yes most definitely would be the best way but I think that's in the future when I can afford to do such a thing because for now I am gonna have to stick with cheaper boards just so I can eat for the next year lol
ayy alright will keep in mind thanks
I don't know your location but used office PCs are actually cheaper here than a pi with accessories.
it's sort of the same situation here, the zeros and 2s are definitely cheaper currently for me tho and because I am only really still getting into this sphre and learning it all so I can perfect it before making a proper actual setup that I don't have to touch I am experimenting with these first as a sort of learning ground
Mem: 12050612K used, 20822124K free, 4900K shrd, 649012K buff, 6367576K cached
CPU: 2% usr 0% sys 0% nic 96% idle 0% io 0% irq 0% sirq
Load average: 0.27 0.21 0.18 2/877 239
currently using 12gb of memory - i rebooted this morning
That's not a picture. Where did you see that exactly?
Best to use free -h to have friendlier numbers. I'd recommend glances to see what uses the memory.
have finally got Homeassistant installed on a bookworm. But no web interface on :8123, and the following weird error messages appear when typing "hass" for the first time:
2024-07-21 03:00:16.929 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for stage 1 - moving forward
2024-07-21 03:00:24.590 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: tag, schedule, sun, input_select, input_button, timer, input_text, input_number, zone, hardware, automation, script
2024-07-21 03:06:16.956 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for stage 2 - moving forward
2024-07-21 03:06:16.960 WARNING (MainThread) [homeassistant.bootstrap] Support for the running Python version 3.11.2 is deprecated and will be removed in Home Assistant 2024.4; Please upgrade Python to 3.12
that "Setup timed out for stage X" sounds like it decided it took too long of a time and gave up
any idea how to run the "hass setup" but with timeouts disabled?
did CTRL+C and then hass again, hopefully it fetches the components that timeouted.
Now it went alive, it works now... took a bit of a time now
Good things come to those who wait.
seems to be crying about not finding numpy now... guess something went wrong in the initial bootstrap
I mean it says right in the log "Please upgrade Python to 3.12"....
yes but bookworm does not have 3.12
and Im using HA 2024.3.3 version for that reason
and no, theres no later than bookworm for raspberry pi
You can get 3.12 on Debian, I have done it, but in this situation I think this is why. people prefer not to use supervised installs.
got a hint on a forum to run:
python -m homeassistant --script check_config --config /home/homeassistant/.homeassistant
seems to work, its installing now..
I currently run haos on a raspberry pi. I am want to look into my options, as I am upgrading my home network and want to run Omada software controller on the same pi. Any thoughts would be appreciated, as I am new to all of this. I want to stick with the pi for now, to keep cost down, as I spent to much on prime day sales. 😆
I know it’s not a screenshot but you can’t upload images and I don’t need another account somewhere. Odd free shows 5gb in use while top shows 10
SnappingNeuron: Yep, its really slow to install this on a Zero W2. Its taking its time to install "Zeroconfig" like ran for 1 hours now... but yep its a slow machine, it needs to take its time.
@gaunt patrol seriously, you'd be better getting a cheap (used) SFF PC, installing proxmox, and running HAOS + Omada controller + all the things.
Like $100 on fleabay for a 6500t-7500t machine w.16GB of ram.
solved my issue. Apparently it was missing a dependency: libopenblas-dev that was not in the deps list for HA
If that's true, file a bug, man
though not if you're running <3.12 python . That could be causing it
lyricz: Im using hass 2024.3.3 because thats the latest supporting <3.12 . Latest available for raspberry pi is <3.12 so it was kinda a bad movie to depreciate it since latest debian for raspberry is bookworm which has 3.11.2 as python
It seems libopenblas-dev should be part of liblapack-dev which was successfully installed (and is part of the dependencies) but I suspect it might be something weird with the armv61 build of liblapack-dev which require libopenblas-dev aswell.
sebastian@raspberrypi:/srv/homeassistant $ uname -a
Linux raspberrypi 6.6.31+rpt-rpi-v6 #1 Raspbian 1:6.6.31-1+rpt1 (2024-05-29) armv6l GNU/Linux
sebastian@raspberrypi:/srv/homeassistant $
You don't need an account for imgur. Just upload here and share the link: https://imgur.com/upload
Use the glances addon, open it, press Z and M and share a picture of it.
Out of curiosity, why would you be running Core outside of a venv? Also, why couldn't you use pyenv to run python 3.12? It feels like you're making things a lot harder than they need to be.
So, on a rPi, I would NOT recommend going with a VM type solution. They just don't really have the horsepower needed to do that. Your choices here would be to run Container in docker (you would lose addons doing this), or maybe get a second rPi for your Omada controller. Anything else would be highly complicated to run.
Hi all, sorry for the newb question - I'm expanding beyond my initial HA Green that I've used for the last ~6mo and on to a much beefier N100 (dual-2.5Gbe Beelink EQ12)... planning to add Frigate, and continue AdGuard (or move to TechnitiumDNS), and possibly add OpenSense - I've read a bunch of forum posts debating HA install methods, but none are very conclusive, and they are from different time-horizons, over which it seems Proxmox and other methods have continued to improve...
TL;DR Is there a generally accepted best/good-starting-point for running HA, Frigate, TechnitiumDNS, OpenSense, Node-RED, and likely some additional things, on an N100? And beyond that, even if going with an approach like Proxmox, is there a way to decide, when there is builtin support, whether to install direct in HA via e.g. addon (Frigate, Node-RED, others) vs install "standalone" in its own container and integrate with HA?
Install proxmox VE and virtualize HAOS. Run as addons what you can, run as its own thing what makes sense.
Adguard/DNS I would run on its own for example.
Can you say more about why? 🙂 Trying to develop a mental flowchart to help differentiate between "sure I could just click this in HA and it will be running in a few minutes" vs "but it will be much better if I take the time to set up in its own container because..."
Why running DNS on its own or what specifically?
Yeah, specifically curious about why DNS on its own, but then also if that helps build the mental model of how to think about other potential addons to understand where/how to "best" install them as well
DNS is extremely important. So much that ideally you have two DNS servers on different hosts. HAOS versions are released frequently and your addons go down with it on OS upgrades.
Are there any recommended "here's how I run things" docs/resources to review that are "modern" to learn from?
I don't have anything I can link you. Most I've seee are overly complicated.
If going the tteck route, would your recommendation be the "Home Assistant OS VM" option, or the "Home Assistant (Docker) Container LXC" option? (I am guessing that "Home Assistant Core LXC" is not the way to go)
@proven grove I are in a venv.
I do not recommend docker inside LXC.
Docker inside a LXC runs fine.
I've had the same Docker LXC running since PVE 6, no issues.
I supppose it depends on the environment. I tested it too and encountered no issues either. I read a lot of other people's issues though and promox recommends against it as well.
Hi all, new to HA, would love some help on a error I’m faced with
Error : System is not ready with state: setup.
I’ve flashed the HAOS from rasp-imager into my SD card. Using a RPI5 with a argon v3 NVME case
Steps tried but unable to resolve after browsing HA forums and this channel
- banner, supervisor restart, repair, reboot.
Logs also return the same error message.
Does the rpi have internet access? It needs to.
So. I have a really weird problem. I have been running Home assistant on a Synology DSM and it's been bulletproof. I got an out of memory error and it went down. Ok fine. Rebooted the virtual server - nope. comes up with an error once HA starts - System is not ready with state: Setup. Restored from an image that was back when I knew it was working - same error. Restored from an older image. Same error. Not sure what to try next.
I did see "RPC Bind" flash by with an error on startup of the VM.
ok even weirder - I restored a backup from 5/31 - it loaded and appeared to initialize. Then rebooted to the same error error returned from supervisor: System is not ready with state: setup. This leads me to believe the system may have auto-updated and whatever it updated to is broken.
Nevermind, didn't read good, lol. Was asking if you had tried restoring from a backup.
So just for shiggles (and yeah I am pretty good about backups) I restored a 5/31/2023 one and that booted and worked 🙂 I COULD just update stuff again, but am going to try a more recent intermediary backup to see if I can get it to boot with something less than 2 versions back lol. I did increase the allocated ram and that may have also been the kicker there.
Nice, good to hear 👍
I've been running mine from a desktop through a VM. It's crashed multiple times and finally figured I was using the desktop more than I initially set it up to do
I sacrificed an X1 carbon laptop and have it running home assistant through a vm and only doing that.
yeah I am an it guy and have many more powerful machines to move this to - and I will eventually.
(like literally an HPE server lol)
Very nice!
My wife has used it more and likes the automations so I've heard, "Home Assistant is down" more times than I'd like to hear
honestly this is the first time it's gone down in years.
But it's super weird that backups from months ago when it was working are crashing on load
I'd pay money for it to only go down once a year lol
I run both the HASS and plex on that synology. I frickin love those things.
I've been thinking of a small NAS to back everything up but it never fails, every time I save up some cash for goodies, something big comes up
Latest was my wife's ac compressor going out in her car. We live in Texas so had to get it fixed asap
Yep that's for sure. I live in lovely western ny, where it rarely gets over 85 🙂
I heard that cars sold up there did not have to come with ac
sure but on the other hand we need snow tires in the winter, and antifreeze, seasonal oil changes etc is non optional. Plus with the Miata it's just.... top down baby
Whelp it looks like the only viable snapshot is from a year ago. Guess I'll be rebuilding a bunch of stuff. Since it's a snapshot (rather than a backup) it has backups of the config from..... a year ago 😦
Maybe i can figure out which update borked it too...
Do you have an extensive setup? I had to rebuild my setup and it was not fun. Had to go sensor by sensor and switches, etc and put each one in pairing mode
And then some refused to be recognized even though they had just been working
Well I'll have to add the stuff since last year (changed phones etc).
Yea it's connected via ethernet!
question, this morning im not able to connect to my HA.local or by my ip address. Im able to connecet via nabu casa tho? I was told to check my LAN IP. I was reaching out on how to do that?
Connect a keyboard and monitor
Can go to System/Network in the UI, then where it shows ipv4 and ipv6, click the three dots and there's an IP Information menu item
that shows the IP of the server
I see my ipv4 and ipv6. ipv6 is disabled and ipv4 is static
And is that IP in the same subnet as the rest of your network - the first three sets of numbers are the same
Can you ping your lan IP from another device on the subnet? Or try a tracert?
or conversely, from the terminal of the server try to ping out to something on that same subnet? If it's connecting to Nabu it must at least be able to reach the gateway
how would i ping the network? would i type traceroute xxxxxx
in the terminal
ping 192.168.1.1
seq=4 ttl=64 time=0.166 ms
64 bytes from xxxxxx: seq=0 ttl=64 time=0.121 ms
I am able to ping the device
So you can ping it from the device you are trying to access it on?
ok so update. I can ping from the nabu HA terminal. I just tried to ping from my desktop windows CMD and it says Request timed out.
So seems something may be blocking the request to the server on your network
a running VPN on your windows ?
Are you running Windows on your zimaboard???
I did add this to my ssh and terminal. I found this info on the community for HA memory free up. As i kept having frequent connection lost
`init_commands:
-
if [ ! -f /backup/_swap.swap ]; then fallocate -l 2G /backup/_swap.swap &&
mkswap /backup/_swap.swap && chmod 0600 /backup/_swap.swap && swapon
/backup/_swap.swap && echo SWAP_NEW_FILE_CREATED_USED ; elif [[ !
$(dmesg|grep _swap.swap) = swap\ on ]] ; then swapon /backup/_swap.swap &&
echo SWAP_USING_OLD_FILE ; else swapoff /backup/_swap.swap && swapon
/backup/_swap.swap && echo SWAP_FINAL_ELSE_STATEMENT ; fi`
no i installed HA on my ssd and booted zimaboard from there
What the fuck...
Dude... that's... but WHY?!
That install just keeps on getting "better" and "better"
Coffee ?
Irish coffee maybe...
I was having trouble keeping my HA from always loosing connection. i researched on the community forum and found that some people found that as an solution. So I tried it.

No. Stop that. I seriously doubt that's your issue. IIRC, your board has 4GB or 8GB of ram, right?
4GB
Ok. First... is the board connected via ethernet to your router or switch?
ethernet
And you have the console up?
Yes it is up and running
run tail -f /config/home-assistant.log in the console. Then, in your broswer, try hitting your IPV4 address: http://[ip_address]:8123. Watch the log and see if it shows any errors. I doubt it will, but still.
'http:' is not recognized as an internal or external command,
operable program or batch file.
Then, in your broswer, try hitting your IPV4 address: http://[ip_address]:8123
In your browser. Not in the console.
my bad. sorry
This site can’t be reached
homeassistant.local took too long to respond.
Did you try the ip address or homeassistant.local?
Also, what network device is the Zimbaboard wired into?
same for ipadrress:8123
my deco mesh wifi
And it was like 192.168.1.45:8123
Or did you literally type ipaddress
it was working yesterday before i added that code to the terminal
Is there anything else wired to that deco mesh device?
my tvs are wired
To that device?
i typed http://ipadsress:8123
Well that’s not going to work
What is the ip address of the HA install
That’s what you need
What you did is like saying you need to post a letter to bobs address
By writing ‘bobs address’ on the envelope
Postie is going to look at it and be confused
i typed my HA address. I just posted ipaddress here for privacy lol. sorry for the mistake
Your internal ip address isn’t useful for privacy reasons. It’s internal for a reason
There’s only a finite number of address spaces (will be 192.168.x.x, or 10.x.x.x most commonly)
ok i used http://192.168.0.170:8123
Hm, so server is on 192.168.0.0/24, but gateway is 192.168.1.1/24
two different subnets
@empty quest what ?? u have a cristal ball ???
so a evice on the 192.168.1.0/24 network would need to have a route to get to anything on the 192.168.0.0/24 network
So... earlier I joked that there was a wifi extender creating a separate subnet...
Ooops
Thought it was mentioned his other device was a 192.168.1.x address, but I could have misinterpreted that 😮
It was asked to ping 192.168.1.1 and they replied with ping success stuff
So could assume correctly
would i need to change it?
Yes.
It depends on the network setup. Sounds like your network has two subnets, and the only way two subnets are going to talk to each other is if the router has a path between them, and if firewalls and such allow the traffic to flow back and forth.
It may be that your mesh system splits your physical and wireless devices into two different subnets?
More likely an isp router for the internet + mesh network also operating a dhcp server
And things are plugged in randomly
I have an at&t modem/slash router. I plugged my mesh into the modem to use the mesh network instead
I disabled the router on the at&t modem
So, everything should be either on 192.168.0.0 or 192.168.1.0.
so change gateway address 192.168.0.1
in windows command prompt, what do you see if you type arp -a ?
let's see what can be reached from windows then ... 😉
@ripe saffron I converted your message into a file since it's above 15 lines :+1:
So windows machine is on the .1 subnet, same as the gateway.
You said the server's IP was statically set, so I am assuming you set it to that 192.168.0.x address by hand instead of letting DHCP dish out the IP?
Yeah that is also odd,
when i created the static IP. I took from what the mesh network said it was so it wouldnt change
Ok, so this is kinda implying what I was getting at earlier, it sounds like your system sets two different subnets, one for wireless devices and one for physical. If your wifi is dishing out 192.168.0.x addresses, but your windows machine (which I assume is hardwired) is getting a 192.168.1.x address that implies the physical subnet is pumping out 192.168.1.x addresses, seems like there's two different subnets with two different DHCP servers 😮
should i change it to automatic so it can change itself to the correct subnet?
You should change to only have one subnet
Yeah either have one subnet, or you'd need to figure out how in your system to make your two subnets able to talk to eachother
How woul i make one subnet?
May be the DECO is creating a new subnet and performing some kind of NAT
my only question, would be why today it stopped giving me access as previously i was just fine?
You set that static IP
was it reserved in your router?
Cuz making an IP static does not disallow it from being leased by the DHCP server
At least not generally
Normally you'd have to reserve that IP before making it static, so your DHCP server wouldn't try to assign it to another device when the lease expires
It'
Short answer, you changed something about the network, like the subnet your phone is on
yes my router calls it address reservation
i just deleted it to see if it will create a new one automatically. Ill reserve the new one.
It won't reassign an IP until you set your HA server to use DHCP instead of static 😉
No because your HA is now( i think) using static IP 😉 too late
just did that too. restarting HA to see if it updates a new one.
No your HA is using static. It whoult revert to dynamic. That's the goal of using STATIC .!!! ...
I turned it back to automatic.
Hopefully in all this you've also looked at your network to work out where the second subnet came from
Yeah would be good to get a better understanding of your network topology 🙂
A laptop with ethernet cable to check all ports on all routers/switchs/deco .... just to make sure there is only one lan/network/subnet 😉
unfortunately i don't have an laptop.
still no access after deleting static and turning ipv4 to automatic.
what's the IP of HA now ?
192.168.0.170/24
=> your HA is not on your lan ! that's the issue.
Damnit
You need to change the way your Deco is set up
Right now it's creating another subnet for the wired interface
I think so. they must operate as "Access point", no firewall, no dns, no dhcp, nothing .... 😉
If you need help with that I'd recommend you start a thread as this is taking over this channel
Local Connection lost
Hi there, ive got an issue with my initial installation on a laptop via the usb flash method
i am not very technically skilled with this but i got the Home Assistant CLI not starting message
What version did you flash?
The generic x86 option
HAOS 12.4? Or 12.3? Or something else?
12.4 my apologies
Try 12.2 (or 12.3) in case the problem is with 12.4 on your hardware
alright, thank you, i will try them
resolved. thank you
Hi folks - I'm just about to get started on a relatively simple HA deployment. I'm intending to install it on an openSuse workstation that doubles as a server for a few other things I run. My initial thought is to install via KVM; any caveats to that approach?
No. Works fine.
Just make sure to use a good tool to manage the VM(s). Using libvirt CLI based stuff is kind of painful.
Very much looking forward to the project, by the way. Just installed an ecobee thormostat, picked up some Apollo MSR-2s (2 with CO2, 2 without), and have a slew of smart bulbs.
Any recommendations?
Only proxmox VE but that is debian based and you probably want to keep using suse.
virt-manager gives you a good UI tool which lets you swap from UI to xml view, kind of like the UI to yaml in HA’s automation editor
You also need to create a bridged network adapter for the VM to use
Currently trying Virtual Machine Manager
That’s the same, yeah
So, the docs indicate that I should be choosing "Generic Default" for the operating system, but that's not actually an option. Should I just go with Generic Linux 2022?
I'm not getting anywhere with this...best I've got so far is a UEFI shell prompt
My process so far:
- Create new VM
- Select "Import existing disk image"
- Select the .ova
- Under "Choose the operating system...", select Generic Linux 2022
- Memory and CPU settings are correct by default
- select "customize configuration before install"
- Under "Network selection", choose Bridge device... and enter
br0 - Click Finish
- in the config screen, set Firmware to some UEFI option (have tried several, best outcome so far is that UEFI shell when I try ovmf-x86_64-opensuse-4m-code.bin)
- There is already a qemu-ga channel, no idea if I need to add another.
Switched to VirtualBox, already up and running. VM is going through the Preparing Home Assistant process. 🙂
Not helpful to you, but I run my stack the other way around. Proxmox natively, and things like Suse, Redhat, etc in VMs (or LXC where possible). HA one-line install via tteck script. Ditto a bunch of my other services. So much easier managing them there, rather than installing "natively" on the host OS.
And (performance) "overhead" of LXC is negligable. Like 5%
did you go the "Home Assistant Core LXC" route? (and if so, have you been happy with that one - It's taken me two days of consideration for some reason, leaning in that direction, but worried about ease of addons
Woah, any idea how accurate the CO2 sensor models are - that's super cheap for CO2!
Nah, I used HAOS in a VM. It's just so much simpler than dealing with docker/addons yourself.
I have a couple of apollo sensors, but hard to know how accurate they are, without an accurate comparison.
https://imgur.com/Pjbn090 @main gulch
There shouldn't even be that big of an impact.
yeah, it's trivial. really it's just a process-wrapper, not full-fledged virtualisation.
They are very accurate when tuned properly.
hello
My haos is crashing, from time to time. it reboots
I've enabled debug logger, but I don't see the crash in /config/homeassistant.log nor .fault
where can I find more information?
hardware? ... wich kind of power supply ?
I'm running on a raspbery pi 4 with the original power supply and a box with cooling. I pass my hand over the fan and doesn't seam hot
What's connected to your raspberry ?
Should be fine with the power supply if nothing else is attached to it.
Should not be a software issue... linux is quite stabe.
what u can do is to run df -h to check diskspace
and also check the output of command free
@old flax I converted your message into a file since it's above 15 lines :+1:
That's fine
yes, I had checked before
It was stable before ? it's a new problem or new installation ?
it's a new instalation, a few weeks ago
I think it's some integration that is causing the problem
here are the log errors
I just can't figure out what and how to solve it
I can paste here the log you'd like to see in detail 🙂
You mean your raspberry is not rebooting, but HA ?
I think so
ah ah ... 😉
😅
it restart every 10 minutes or so ?
I don't know, I can't find history that I can check
I've enabled a lot of sensor from supervisor that were disabled, maybe next time I can get the history
if you check in logs in HA, you can sind your oldest message ...
it's been up for more than an hour
[core-ssh /]$ uptime
11:27:05 up 1:18, 0 users, load average: 1.00, 0.77, 0.70
before it was up, a little bit more than a minute
Did you reboot an hour and a bit ago?
no, it rebooted by itself
but it was a reboot, not a suddent crash, I lost access to the ui long before I lost ssh
I was able to do a ls -las after I lost ui
A whole reboot would point to host problems - power most likely
Is there a sensor that I can set up to check that?
journalctl -r | grep systemd | grep started may be ..??? i don't have HAOS... i cannot test it ...
rpi_power_suply_status:
unique_id: rpi_power_suply_status
value template: "{{ states('binary_sensor.rpi_power_status') }}```
will this keep state history?
no journalctl
IF you don't suffer a huge power drop, ... IF linux flush the cache to disk... then may be 😉
did you "login" first ?
sorry, but I don't understand
i think your are currently in a docker. not at the "OS" level ....
[core-ssh config]$ cat /etc/*release
3.19.1
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.19.1
PRETTY_NAME="Alpine Linux v3.19"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
in HAOS, you have a "menu" displayed by default..... If i remember...
WTF?
Check the core log
I've reenabled history, don't know how it was disabled
the power supply state has been ok for the last 24 hours
Logger: homeassistant
Source: components/device_tracker/legacy.py:393
First occurred: 12:04:04 (1 occurrences)
Last logged: 12:04:04
Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/device_tracker/legacy.py", line 258, in _async_setup_integration
legacy_platforms = await async_extract_config(hass, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/device_tracker/legacy.py", line 393, in async_extract_config
raise ValueError(
ValueError: Unable to determine type for devolo_home_network: None
I think the problem might be here
I've been having problems with the devolo device integration
I have disabled it, but I was trying to get this to work
and I'm was in the middle of the configuration when I had to stop
device_tracker:
- platform: devolo_home_network
host: 192.168.x.x
username: admin
password: "password"
interval_seconds: 10
consider_home: 180
new_device_defaults:
track_new_devices: true
I will coment it until I have the time to resume an see if the crash persists
all I get from the core log is this:
https://imgur.com/a/b3Gvi4z
@brazen harbor I converted your message into a file since it's above 15 lines :+1:
The Odroid N2+ has bad power delivery on the USB ports. If something is too power hungry, the port turns off. I'd try a powered USB hub.
damn i would if i had one ;_;
is there a way I can test this theory with logs before I waste... I mean spend $15 on a hub? 😄
Maybe in the host logs 
alright thanks!
I have the standard VBox image with Supervised HASS docker running running on MacOS. While Core has updated to 2024.7.3, Supervisor is stuck on 2024.06.2. No Supervisor update shows up. Does anyone know why?
VBox image with Supervised HASS docker
Anyone else confused by this?
2024.06.2 is the latest stable supervisor version:
oh, i feel like an idiot. I thought there was no way 2024.07 hadn't been released by now. Thanks
Im trying to install home assistant in proxmox, but everytime i turn on the VM it says this "[WARN] Home Assistant CLI not starting! Jump into emergency console". I dont know how to proceed, can anyone help me?
Check journalctl -ru hassos-supervisor and journalctl -ru docker.service and perhaps docker logs -t -n 1000 hassio_supervisor.
I recommend you add a serial port to the VM (Hardware > Add > Serial Port) and use xterm.js (Console > Down Arrow > xterm.js) rather than noVNC so you can copy & paste.
Make sure you reboot (via PVE's Reboot button) or cold boot so the hardware change is applied. You can see it by its color.
ok, i'll try
@fair kindle if you don't mind running third-party script, look at tteck: one line HAOS install into proxmox
How would that help? Maybe they already use it.
i tried installing haos without the script and with the script, and both of them hasn't worked
if they did, the VM/LXC would probably be configured "correctly". But looks like he had error anyway.
Same error both ways @fair kindle ?
yup
could network-manager-wait-online.service having failed on startup be a part of the problem?
Does your machine have access to the internet? It needs to pull docker images. Is your internet slow, or wifi, maybe?
Yes, I suppose it has or the script wouldn't have worked.
do you have a way of fixing it? I tried looking on docs and forums but i couldn't find anything
Sometimes people have problems pulling the initial image.
Please follow the steps I shared and share the logs. It's pointless guessing at this point.
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.
https://dpaste.org/qtUag - logs of "journalctl -ru hassos-supervisor"
https://dpaste.org/9vy1O - logs of "journalctl -ru docker.service
Hmm. Cut off. Try the other command too.
ok
https://dpaste.org/3VHNP - logs of "docker logs -t -n 1000 hassio_supervisor"
That's more interesting and lines up with the network-manager-wait-online.service.
Please run this: #1256301331837358232 message
Can you tell me a little bit about the networking setup of your PVE node?
on shell? or on ssh?
In the VM's terminal via xterm.
I want the full output of all these commands please. But basically it can't resolve google.com. I'm just trying to figure out some detail about your network, what part of the networking works and whether it works with a public name server.
i cant select the output i can only take a screenshot
Did you use xterm like I explained? #installation-archived message
Okay so nothing works. You didn't even get an ip. Perfect.
Can you tell me how your node is connected to the network?
Can you run all of those commands on the node too? Additionally these as well
cat /etc/network/interfaces
Let's continue in the thread.
i migrated my HA Core from an older XCP-ng to 8.2. Unfornunately they changed the interface naming scheme so interfaces are now called enX rather that ethX, which leaves my UI not accisable. How do I from the CLI set the IPv4 for the new interface name?
Presumably you're asking about HAOS?
@humble mirage correct.. sorry i didnt add that
im looking at nmcli.. not familiar with that, but doing some reading. am i on the right track?
used to set interface configuration with netplan or the old debian way
Sounds right, search the channel history and you should find examples
If not it'll be a ha host or ha network type command
@humble mirage cheers
hi, I'm trying to install like always a VM of HA on VirtualBox, but for some reason, I'm not able to do it. I can power it up but then the HAOS go into emergency mode : "Waiting for the Home Assistant CLI to be ready..." and then "[Warn] Home assistant CLI not starting ! Jump into emergency console...". I can show you the logs : https://imgur.com/a/F23l1NZ. To install it, I downloaded the .vbi file, then clicked on new on virtualbox, put linux, enable EFI, put 3 CPU, and "use an existing virtual hard disk file" where I took the .vbi file I dowloaded. Please Tell me I did something wrong...