#installation-archived
1 messages ยท Page 22 of 1
https://www.yougetsignal.com/tools/open-ports/ is how you can test yourself
IDK what to do now, I am so pissed by my isp
I forgot that won't work for me because I block pretty much every country for my home network lol
It could also be how you are port forwarding
In your router, does it show the same public IP as what going to https://whatismyipaddress.com/ shows?
no
it shows something 10.
and it is a pppoe connection
10.42.xxx.xx
That's the WAN IP of your router?
Because you've told us two very different things now
That sounds like you're behind some sort of CGNAT or you have another router
(Well maybe not CGNAT but a NAT of sorts)
10.42.xxx.xxx is a private space IP, it is not internet routable
RFC1918
Right, your WAN IP is RFC1918 and can't be reached from the Internet
You need something like Cloudflare Tunnels, the Nabu Casa Cloud service, or to build your own relay host in the cloud
Its no different than nabu casa or cloudflare, it will cost money to host somewhere usually
Also your ISP lied to you then since you are behind CGNAT
I'm used to cloud = pay lol
cloudfare requires domain to buy
It just requires some skill
Domains are cheap
You can get free domains
You can get free hosting
Combine the two and you're sorted
Hell, you can use a Dynamic DNS service this way too
we can but subdomains on cloudfare
@dry compass just to confirm, your internet currently goes from wall input (so from ISP/ street infrastructure) -> This exact TP Link Archer C80 directly?
no there is a white box in between
which input is a yellow wire
different from normat cat wire
That yellow wire is probably a telephone cable
this doesnt work
What do you mean it 'doesn't work'
Worked for me a couple of weeks ago
IMPORTANT NOTICE: Because of technical issues the Freenom application for new registrations is temporarily out-of-order.
So ... find another route
thie domains are no more there
tried this 1 month ago
For us to help you, you need to help us, be very clear about everything
Like the white box that sits between the internet and your router, that may be working as a router itself too, or it might just be a modem
Who knows
Or pay, because having a domain is neat, and can do a lot with it
Image would help
i am searching an img for it
Take a picture with your phone?
That'd be why I have more than one domain ๐
I have 4, they're addictive
Not getting my last name as a .com though, holy price
Why couldn't you take a photo of it with your phone
Or just read out the model number underneath it
ill do that
gimme a sec
If it's a PON then it's just a fibre converter
If its exactly that box, then its a fibre box. Does nothing except convert fibre to ethernet
AKA your ISP lied and you have CGNAT
Well, technically they're not wrong... it's not actually CGNAT - just functionally the same
https://ibb.co/1RxdbZx with username and pass (https://ibb.co/B3y90jR)
box with a wire out from (https://ibb.co/fqxqqdC)
https://ibb.co/m6CLfRY
I call anything done by the carrier to be CGNAT, purely because its Carrier Grade lol
But yeah thats true
It's just a fibre converter, you're not going to get working remote access directly to your home IP
It has a IP address on it though, sure its not doing something funky?
should I check it?
insert a direct lan and see?
so this means?
something to do with this? https://ibb.co/3sqHmG3
The IP will be for local config, many devices support that kind of thing
Actually... WTF
Looks like it's a PON that's also a router
which pc lan ip is he talking about the local one?
192.168.x.x?
I didn't watch the whole thing, no idea
That may not even apply to you, and screwing with it may break your Internet connection
hmm
There's an easy enough test... do a traceroute and see if it shows up
to my ?
To something on the Internet
google,com?
Sure
Is your router 192.168.0.1?
And that doesn't show up in the traceroute?
no

wait ๐
default gateway is 192.168.0.1
Rather than spamming the channel, just send it once
Well, the problem is that your ISP doesn't give you a public IP
The solution is already covered above
this?
Yes
Or buy either service I mentioned
If you want something very simple you can also use Tailscale. Doesn't work for everything though. I didn't catch the goals
I have that but cant use it with aws
Is there any yt video about installing home assistant in MacBook Air 2017?
Or any guide?
What chipset is in that Mac? Intel or Apple's own?
If it's Intel then you can use VirtualBox/VMWare and follow the standard guides for VBox/VMWare
Intel
Sorry I didnโt see that๐
Those are all incompatible alternatives
Ok
MacBook Air 2017
Yes
Somebody else replied, and deleted their post...
Oh
HA & Doorbird
hello i messed up my network config and now can not access the machine whatever the way
Do you have a keyboard and monitor you can connect?
yes i m connected its a vm onmy mac
so i see the machine but i have corrupted the network file with duckdns...
it has as i cant connect locally anymore
Did you by any chance also set up SSL?
i have an ha> prompt
Did you by any chance also set up SSL?
not sure
Did you edit configuration.yaml to add lines about ssl
no i dont
Hmmm.... then what did you do?
It's really hard to help you fix it if you don't remember what you did
Somebody else will have to help as I'm all out
when i log with the local ip it says
just succeed with ip:8123
but need to fix my config
i have this message "You have configured an HTTPS certificate in Home Assistant. This means that your internal URL needs to be set to a domain covered by the certficate"
Ahh... so you did set up SSL
how to remove that?
not sure i want it
#http for external access
#http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem#http for external access
#http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
just keep the tag to disable ?
Yes, a line with # at the start is commented out - disabled
Then you have to use https:// to connect, even if you're using the LAN IP
I use a proxy server for SSL
how to set this up?
Check the instructions for the NGINX Proxy Manager (NPM) #add-ons-archived
Hi I'm trying to setup HA on a raspberry pi 3 using HAOS... but there seems to be an issue with the homeassistant docker container. the frontend wont load and the logs for the container seems to have some issues with python code: https://pastebin.com/WetS9usa
I have just done the basic thing: use balena etcher to create the memory stick, plug the sucker in and then i get 404: not found in browser.
hmmm see now recomended size is 32 GB... is there an absolute minimum size? Could it be that i'm testing with a 8 GB card?
You can get away with 16 GB, in a pinch
At least until you run out of space and it all goes horribly wrong
Could my current problems be due to a too small memory card?
I attempted to download a new docker image for HA to try to resolve the issue and that worked, so its not filled to the brim
There's an undervolt warning in the logs too
Well, that's not gonna be helping then... nice side order of file system corruption
That'd likely explain the ValueError: source code string cannot contain null bytes
yeah I'm running it on a 5V/2.4A adapter.. so its a bit underspec:ed
Ok thanks for you help - I'll give it a new try with a proper memory card and proper power adapter ๐
Hi! I'm just starting a Home Assistant OS install on an old laptop. So far I've been testing it on a docker install. Can I move my configuration and data to a fresh Home Assistant OS install?
Thank you! Can I load it from an USB stick?
Not as far as I know
That only lists uploading (small backups) or using Samba (any size)
oh, that's even nicer. Great ^_^
What is the best way to install Home Assistant OS into a Proxmox VM?
You import the disk image via the qm command
I was just asking for the best way... It's kind of strange that we cannot choose the OS under the HA or the installation is not done with some sort of installer.
Anyone knows the reason why HA is shared like it is today?
there's a qcow2 image provided and labeled kvm/proxmox
Thanks. I know the existence of this, not sure if it was the best method and also, wondering why HA has chosen this method of "deploy" instead of having (for example) a minor installation of your OS of choice and then a installer over it
I don't know why but you should use docker if you want this. There's also supervised but I wouldn't use it
Yes, if you want more control than HAOS, use Container. Other than no add-ons (which isn't much of a loss since you can just run whatever other containers you want alongside it anyway) it's pretty much equivalent but you control the underlying OS more
@unique briar if you want low-fuss, use the tteck scripts to install HAOS. https://tteck.github.io/Proxmox/
But as others say, you can DIY it on top of linux without too much hassle
i went with this option
Because the point of HAOS is to be an appliance like experience. It reduces the things that people can fuck up.
Hey @humble mirage I bought a domain, (was really pissed and then had to on your command). Now I was setting up cloudflare, how much time does it take to verify the nameserver, has been 4 hours waiting.

And BTW your blog looks amazing ๐
I've got a limited sample set to test with, but tens of minutes to a few hours seems normal
Double check that you do have them configured correctly, and that a WhoIs lookup shows them
it shows them correctly
working
You can manually trigger a single refresh in the cf dashboard
This usually makes it take a few minutes for me
Hello! I have a Home Assistant Supervised running on Debian. After about 11-12 months of use I have been told here that I should migrate to a standard Home Assistant OS. By some luck I have access to a Raspberry Pi4 identical to the Raspberry Pi4 on which my Supervised version is running. SO I decided to give it a try, I installed HA-OS, then on the first welcome screen, I selected to restore from a backup, I took the most recent one I had created by Home Assistant Google Drive Backup, it is 7.4GB. It has been restoring for almost 5 hours.... Is it normal? Is it because I have a very big snapshot?
For that big a snapshot you may need to do basic onboarding first and then use the Samba add-on to upload it
I am using a USB boot system on a M.2 SSD enclosure connected via USB3. Uploading the backup was fast. I am just curious if this restoration will work with patience or not.
I'm unsure, but somebody else will know
Ok, I'll just wait if anyone has knowledge on this. I'll update you if I can see the end of it while I wait
No need to update me ๐
I meant update the community ๐
@robust quarry 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).
I have a problem installing HAOS on an intel nuc.
I booted in Ubuntu from an USB Stick, Installed Balena Etcher, etched the Generic x86-64 image to the nvme (internal hard drive) - got a warning (care, this is your harddrive!) and proceeded.
Now i reboot and ... there is still no boot option for the HAOS. So i used efibootmgr --create --disk /dev/<drivename> --part 1 --label "HAOS"
--loader '\EFI\BOOT\bootx64.efi'
And still no bootable partition!
UEFI activated, Secure boot deactivated.
The boot list is empty, only showing LAN. WHen I pug in my USB Stick with Ubuntu, it is recognized.
Forgot to mention:
Home Assistant Operating System 9.5
Intel NUC 5I3RYH MP / Core i3.
Someone running HA in Docker on a pi and secured HA with lets encrypt or something similar
Lots of people have
Is this the right place for networking/auth questions? I couldn't find any other topics that looked relevant, but I'm having issues with trusted_networks
That'd be more #integrations-archived or #general-archived
I've been using Docker Compose to run HA on my Raspberry Pi. I upgraded my raspberry pi OS. I took a backup ahead of time but unclear the best way to restore the backup... the "restore from backup" option doesn't appear on the onboarding / create account screen when I run via docker compose.
You won't see that option; you'll want to unarchive the backup and copy the files over manually
so extract the backup and overwrite stuff from the backup's data folder?
IMO you're better off doing backups external to HA
Well, extract all the stuff in it to your destination
I took 2 backups before wiping my pi: a copy of the whole pi user directory, and I grabbed a copy of a HA-generated backup
when extracting the HA-generated backup it has a "data" folder with automations.yaml etc, I assume I should just overwrite the new-install's same set of files?
thanks
I installed home assistant using an image. Is it possible to install home assistant on top of an existing Ubuntu install
Yes
Take your pick from Container, or ... Container really
Do see https://www.home-assistant.io/installation/#compare-installation-methods to understand the differences, and ignore both Core and Supervised
Thanks
Hi I m configuring homeassistant unable to add my location. Its asking for coordinates
any suggestion?
Enter valid coordinates?
sorry typed in hurry - while updating the general settings - it says the followinng - Location can be changed in zone settings
In the zone, i have to add a new zone.. so i kind off have 2 homes in the setting.. one point to correct and other default to Amsterdam. how do i change the default one?
Two choices, drag it to your chosen location, or use the homeassistant.set_location service in
-> Services
why was my question ignored?
32bit vs 64bit. Pros and cons of the builds? Originally installed the 64bit OS on my rpi4, but there are addons that must have been compiled only for the 32bit OS. Any real downside to backing up, reinstalling, and restoring?
Scratch that. I have it backwards. I installed the 32bit OS. Yeah. I'm gonna remedy that.
thank you i got it updated from the services.
i have 50+ Feit switches and dimmers, nest, ring they are not auto detected. Is there a manual way to add them? I dont want to pay for any monthly or yearly subscriptions
Nest and Ring have integrations - search the integrations docs
Feit I think uses Tuya
If it does, something like https://github.com/make-all/tuya-local can give you local access rather than being cloud reliant
Nest is asking for $5 - https://www.home-assistant.io/integrations/nest/
for alexa too its another subscription
Or you can set it up for free
Thank you!
Any thoughts on how to upload the 3d Map for home on Home Assistant
Hello everyone, my 7.4GB backup and restore is still going on after fresh HA-OS install. I guess I can cancel it and look for another solution....
When migrating from a HA Supervised to HA-OS, are there folders we should not restore?
You should make a backup and restore it
This is what I did, but I tried restoring from first screen before creating an account and let the restore process run for 22 hours. I just restart, created an account, and started restore from the BackUp page in settings.
Try logging in with a new browser/ in private mode/ etc after restoring. It may be caching the old install
@rapid arrow I converted your message into a file since it's above 15 lines :+1:
Hey there, I'm reading a bit more about the HA CLI and I'm wondering how accessible it is to the outside world by default (assuming you've made the webUI available to you from outside your home, for instance with some duckdns configuration or whatever)
https://community.home-assistant.io/t/hassos-console-password/286654/25 I share some of the worries explained already in this thread
Is it like, listening on a specific port eg. ร la ssh and you're supposed to be "safe" by default because your network won't route traffic to the CLI unless configured that way?
Considering it's some direct root access to some Linux hardware, assuming I had a security breach on the same network my HA installation is, wouldn't that make the installation a super trivial rebound box for an outsider attacker, to pivot to other machines?
If you're running HAOS then the cli isn't enabled by default over SSH
If you use an add on then you should use a key not password too but that won't give the root CLI
Alright, thanks for the clarification
There's always a chance for stuff to be breached, but the cli is not accessible without physical access (as the first or second reply says) by default (and if you're activating that then you know it's port 22222 and you should be using key based auth)
Hello everyone, I am currently trying to install the Home Assistant on a Raspberry according to the instructions.
The following error occurs during the installation of the Core application:
-->
(homeassistant) homeassistant@nextcloudpi:/srv/homeassistant $ pip3 install homeassistant==2023.2.4
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
ERROR: Could not find a version that satisfies the requirement homeassistant==2023.2.4
ERROR: No matching distribution found for homeassistant==2023.2.4
<--
What am I doing wrong?
Many greetings
Georg
Your version of Python is too old
Use Docker
The Core docs are quite clear that you need Python 3.10, which you don't have
I have installed Python 3.1 as described in the instructions.
Python 3.9.2
There you go
I have done these:
python3 -m venv .
source bin/activate
And python3 is Python 3.9
python3.10 is what you needed there
Or to use Docker
If you stick with Core you'll be doing this for Python 3.11 next December
3.11, not 3.1
I have run:
sudo apt-get install -y python3 python3-dev python3-venv python3-pip bluez libffi-dev libssl-dev libjpeg-dev zlib1g-dev autoconf build-essential libopenjp2-7 libtiff5 libturbojpeg0-dev tzdata
and after this I have Pyhton 3.9?!
What makes you think that you should get 3.10?
Debian Bullseye (current stable) ships with 3.9
Ahh OK and python3-dev is not 3.10?
Hello everyone, my 7.4GB backup and restore did not work starting it from the BackUp-&-Restore page in the settings. I start to think there is no possible migration from HA-Supervised to HA-OS. If anyone has an idea how I can deal with it, I'm listening. Maybe some folders should not be selected when HA asks which folder I should restore?
OK, I use Docker ๐ฆ ๐
python3-dev is the development package for python3
It gives you headers (and stuff), that's what -dev packages are for
So with an existing installation I will never get on Python 3.10 (in the moment), right?
Not without build it from source (eg using pyenv)
That's fine, if you're comfortable doing that, but it doesn't sound like you've got enough experience there
This is true, my experience is not enough for that.
https://www.home-assistant.io/common-tasks/os/#restoring-a-backup-on-a-new-install should work using Samba
I'll look into it. Thanks
Ok, so I had a hard reset because of a crash (RPi 4) and now my clock is wrong. I've done a reboot, but that didn't help. Any suggestions?
It has the right date, but the time is way off (not only hours, also minutes)
The timezone is correct?
in HA yes. But the OS already has the wrong time (can see with date in cli)
Don't know if HA manages that for the pi?
HAOS does
If I enter the terminal and type "date" I get the same time HA has and it's off by a few hours and about 40 min ๐
nothing in the supervisor or HA logs that seem relevant except the errors from the integrations that don't like the time being wrong
Unfortunately I don't know how to fix it in HAOS
https://www.home-assistant.io/common-tasks/os/#home-assistant-via-the-command-line may have some answers
Hi, i have a problem reaching HA from outside. HA is installed in a container. i use swag to create the certificates and do the nginx stuff. but i struggle with the nginx configuration. no matter what i try i only get 502 bad gateway..
Please use a code share site to share code or logs, for example:
- http://pastie.org/ (select YAML for the language)
- https://dpaste.org/ (select YAML for the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.
HA looks fine i guess: s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting services-up: info: copying legacy longrun home-assistant (no readiness notification) s6-rc: info: service legacy-services successfully started
That's not HA's log file
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
Ok hard reset, unplug, wait 5 min, replug. That solved it
home-assistant.log ?
@sweet quiver 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).
is empty
And your NGINX config?
http://pastie.org/p/5Wb48OhWFvEIk2yVeeOKG7 homeassistant.subdomain......
@sweet quiver you don't have to
@sweet quiver tag me on every
@sweet quiver reply
And you're not using Docker?
i use docker
Because localhost may not do what you think
Try using the host IP (or container name)
yeah i tried localhost, i tried the local ip, i tried the container ip
The host IP would be better
Try that, and check that you've correctly configured http in HA for the proxy
sure i tried host ip too
http:
use_x_forwarded_for: true
trusted_proxies:
- 192.168.0.24/32
You've got that, or similar?
yes but i did not change the ip as i thought i use default settings
Well, the IP has to be right, or it'll log an error in the log
(and refuse the connection)
i got portainer: 172.17.0.2
HA: 172.22.0.3
swag: 172.22.0.2
172.16.0.0/12 in my configuration
hm on the server where i run docker i can reach portainer with hostip:port and with localhost:port so i thought i should be able to reach HA too with hostip:port and localhost:port but i only reach HA with localhost:port
That's expected with host networking
Okay, hm any other idea whats wrong with my configuration? ๐คท
Well, if the connection is reaching HA then if you have the wrong IP in the trusted_proxies you'll get an error in HA's log file, so try that?
Set a trusted proxy of 1.2.3.4/32, restart HA, and see if you get something in the log (you may have to set the log level)
should i get something in the log? ๐
If you connect from an untrusted proxy, yes
A request from a reverse proxy was received from 172.17.0.2, but your HTTP integration is not set-up for reverse proxies
okay, i think i have to adjust logging settings
okay i set default log level to info and i dont see something like that you wrote
Then, assuming you gave it a bogus IP for the trusted proxy, the connection isn't reaching it
Have you ever used tcpdump/tshark?
no i dont thnink
That'd be my tool here - look at the packets and see what the proxy is doing
The problem is either in the proxy config, or the host config (that is, the host config is blocking the connection)
Can I use universal-silabs-flasher to read the current firmware from the HA Yellow ?
#yellow-archived would probably know better
so i tried tcpdump host speedport.ip -A
that is not readable xD do i need other flags? how would you run the command?
Tried to do a fresh install on my odroid n2+ but during the first setup i get stuck on "preparing assistant" and in the log i see
"23-02-14 07:24:58 ERROR (SyncWorker_2) [supervisor.docker.interface] Canโt install ghcr.io/home-assistant/odroid-n2-homeassistant:2023.2.4: 404 Client Error for http+docker://localhost/v1.41/images/ghcr.io/home-assistant/odroid-n2-homeassistant:2023.2.4/json: Not Found (โno such image: ghcr.io/home-assistant/odroid-n2-homeassistant:2023.2.4: No such image: ghcr.io/home-assistant/odroid-n2-homeassistant:2023.2.4โ)"
Got Google wifi router, could that be the problem? I used it the last time o set it up and then it worked with no issue
tcpdump -X host 192.168.0.42 port 8123
You'll basically get a view of the packets as seen, assuming any are seen
not any packet
Then the problem is either in the NPM config, or you've got something filtering traffic
but i dont try to call HA with the port, nginx should do it for the subdomain. you know how i mean that?
set $upstream_app localhost;
set $upstream_port 8123;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
You're trying to "call" it with the port, unless you're doing it very wrong
yeah indirect. i call HA.mydomain.duckdns.org and nginx should do direct it to HA.mydomain.duckdns.org:8123 as it is configured
but with tcpdump i should see it?
yes
And that IP works elsewhere?
What if you try wget or curl on the host running NPM?
i can call portainer on another computer within the same network if you meant that
@sweet quiver 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).
No, as in ... if you use the IP and port to connect to HA from another computer, it works?
Well... that's a bit of a problem then
I'd made the mistake of assuming you'd actually got HA working and could connect to it
Well, there shouldn't be any SSL in HA
At this point, the only change to HA's config should have been for the proxy
http:
use_x_forwarded_for: true
trusted_proxies:
- 192.168.0.24/32
``` that should have been all you changed
Those two SSL lines shouldn't be there
Those are almost certainly why you've got problems here
yeah fu.. i'll just go and cry in the darkest corner i find in my house
THANK YOU! works xD
and if i mount /config it will keep all data and settings so i can just remove the container and pull the new image to update HA?
Has anyone here migrated a raspberry pi 4 HAOS instance from an micro sd card to an SSD? I could really use some help
Hello guys,
A few minutes ago, i've accidentally enabled the USB Controller in my Virtual Machine, as you guys can see above:
https://photos.app.goo.gl/jdomiNfP3fN4TSnq5
https://photos.app.goo.gl/ENZigDpKYjEvwQUn8
Suddenly my computer crashed and this screen appeared.
https://photos.app.goo.gl/Xn2nRFGDJTHqK2h17
I've restarted my computer, but i want to set this section to the default configuation before restarting my VM. Can someone tell me what is the default config?
I created a cloudflare tunnel for my home assistant but I'm getting 400: Bad Request error
Sounds like you didn't set up the trusted proxy correctly
@wintry flax I converted your message into a file since it's above 15 lines :+1:
Why do you have all of those addresses listed?
You need the address of where cloudflared is running
those are all the cloudflare ips
Are you running cloudflared?
i have the docker running
The cloudflared image?
i have the cloudflare tunnel docker running
The address of that container (or just your docker network) needs to be added
just added that, still getting 400 error
Did you restart HA?
yes
Check the HA log
2023-02-14 18:01:03.019 ERROR (MainThread) [homeassistant.components.http.forwarded] A request from a reverse proxy was received from xxx.xx.x.x, but your HTTP integration is not set-up for reverse proxies
but its in my config
So the cloudflared container's IP address is in your http config and that's the address shown in that error? You don't need to mask LAN IP addresses btw
It needs to go in trusted_proxies
that's what i meant
but even have i restart the docker container it still gives error 400: bad request
the subdomain.domain.net then using http with the local ip of the server on the port for home assistant
If that IP is actually in the correct section and you've also restarted HA... the only other thing I can think of is you have >1 http: section in your config
i have http: in my config
Just a single time
and indented underneath that is trusted_proxies:
and underneath that is the docker container IP
and use_x_forwarded_for: true
Right... all seems fine. If you haven't already, nuke the giant list of IPs
All you need the your docker IPs not external ones
just tried the one ip, and restarted docker, still 400: bad request
You don't need to restart everything, just a Dev Tools -> Restart in HA
you need to indent lines 2+
http:
use_x_forwarded_for: true
trusted_proxies:
- 172.17.0.3
why would that matter? it would still read it the same
To you? Yes, but the YAML parser is what's interpreting it
and whitespace matters
That shows that the elements beneath it are nested
I've never heard of whitespace mattering
Well, it does matter in YAML... and Python... and several other languages
that worked
๐ Glad to hear
thanks
You're welcome
hey all.. I am trying to get HA running for the first time on my windows 10 . I installed Hyper-V, downloaded the disk, created the VM (type 2, bridged network, turned off secure boot, etc). And the first time it boots it gives me a supervisor error (can't start), and then I restart the VM and it "seems" fine, gives me a ip address for my network, but stays stuck in the "Preparing Home Assistant" screen for about 30 minutes
I've tried doing a supervisor restart, but now get
Processing.... Done.
Post "http://supervisor/core/restart": dial tcp 172.30.32.2:80 connect: connection refused
if I restart the VM, it goes back in to "Preparing Home Assistant" mode in a browser
^^ Cancel... I think some windows updates we're gumming things up -I rebooted the whole machine and all is fine!
Good morning, I had a problem installing HA. Once installed and configured some devices when I have changed the plug and started again, the ip tells me that it rejects the connection. I have reinstalled it again and on the "preparing HA" screen after a while it rejects the connection again. I have pinged the HA ip and it is correct.
Is it possible to restore a google backup made in HAOS to a docker-based installtion? If so, that won't include the addons obviously, right?
what can i do about error ยดยดยด
23-02-15 12:48:48 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
23-02-15 12:49:18 INFO (SyncWorker_2) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/odroid-n2-homeassistant:landingpage to ghcr.io/home-assistant/odroid-n2-homeassistant:2023.2.4
23-02-15 12:49:18 INFO (SyncWorker_2) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/odroid-n2-homeassistant with tag 2023.2.4.
23-02-15 13:03:44 ERROR (SyncWorker_2) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/odroid-n2-homeassistant:2023.2.4: 404 Client Error for http+docker://localhost/v1.41/images/ghcr.io/home-assistant/odroid-n2-homeassistant:2023.2.4/json: Not Found ("no such image: ghcr.io/home-assistant/odroid-n2-homeassistant:2023.2.4: No such image: ghcr.io/home-assistant/odroid-n2-homeassistant:2023.2.4") ยดยดยด
During a fresh install? is there anything i can do?
That's usually either you don't have enough disk space on your device or your DNS configuration is broken
"Restore" in the sense that you just need to grab the /config folder and make that available to your new container, and correct, no add-ons
its a 64gb emmc, or 128gb sd im trying on.. could they be an DNS configuration on the odroid im trying to install it on? i have tried 3 different networks nad routers
Could you try setting that device's DNS server to either 8.8.8.8 or 1.1.1.1 and give it another shot to see if that'd help
on the device itself or on the router?
Device is fine.... if it's easier on the router so it picks it up via DHCP, could give that a shot too
What about automations that are done via GUI and not yaml, are they stored in config, too?
They are, they're just stored in /config/automations.yaml
There are hidden files in /config that you'll need to ensure get copied over
Tried 8.8.8.8 on the router with no success same error
i've this problem starting on virtualbox (runs on windows 11, the virtual machine has 4gb ram, 2 cpu cores, efi enabled as instructed) how can i solve? https://i.imgur.com/81E0g5Y.png
Tried pull Docker but then get " layers from manifest don't match image configuration"
Good morning Everyone. I got a raspberry pi running home assistant with SD and Conbee II stick. The SSD and the Conbee stick are plugged onto a powered USB hub. Im experiencing 2 types of fails, and its random. 1. z2m might not start because
โcannot open /dev/ttyACM0'
at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/deconz/driver/driver.ts:200:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:76:22)
at /app/node_modules/@serialport/stream/dist/index.js:112:18
or Ha completly fails , i cant get to web interface . Any suggestions on what type of logs i should be looking for ?
I'm trying to install home assistant on my Pi 4 according to these instructions: https://www.home-assistant.io/installation/raspberrypi
The Pi is currently connected directly to my PC via LAN. I can access http://homeassistant.local:4357/ but http://homeassistant.local:8123/ does not work.
I'm certainly not using HTTPS and the Pi itself is running.
Can someone help me here please?
Home Assistant observer
Supervisor: Connected
Supported: Supported
Healthy: Healthy
(and you're not in Egypt are you?)
I am not in Egypt
my keychron keyboard doesn't work with the pi. "over-current condition". So no ๐ฆ
What else have you got connected to the USB ports of the Pi?
Well, presumably you have a dongle for it, or is it Bluetooth?
bluetooth
and via usb c -> USB A
but I see that the Pi is not assigned IPv4 or IPv6. Should I rather connect it directly to the router. But then I have no monitor there๐
How is it connected just now?
to my pc via lan
Yeah... things can't download if you don't actually allow it to reach the Internet
i didn't know HA had to download anything first. I misunderstood the instructions (English is not my first language). I also wondered how that would work. But after the one port worked, I thought that it would work with HA.
The OS image probably has the observer built in, so that worked regardless
I tried this but just not able to add the switches here..

The #integrations-archived channel can help you with integrations, unless you mean the UI
If you mean the UI that'd be #frontend-archived
I have more sense than to buy Tuya, so I can't help you with them

its not scanning the switches
If you're having problems getting the integration to work then you need to ask in the #integrations-archived channel
You also need to provide more information, like what version of HA, what version of that custom component, and any log entries
ok Thank@!
hi, im stucked on "Preparing Home Assistant" screen.
Connected to cli directly and watched logs, didn't see any error message.
Tried ping to google.com successfully
HA Observer page displaying correctly
Installation is HA OS (2023.2.4)
hassos: 9.5
its running on a raspberry pi 3b+ with a 128gb sd card
any suggestions?
same problem here but with an odroid n2+... same ha os and hassos, if you click the blue pulsating dot you get log. maybe we have the same issue? i think there might be something wrong with it?
for me it says
23-02-15 19:00:01 INFO (SyncWorker_5) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/odroid-n2-homeassistant with tag 2023.2.4.
23-02-15 19:03:20 ERROR (SyncWorker_5) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/odroid-n2-homeassistant:2023.2.4: 404 Client Error for http+docker://localhost/v1.41/images/ghcr.io/home-assistant/odroid-n2-homeassistant:2023.2.4/json: Not Found ("no such image: ghcr.io/home-assistant/odroid-n2-homeassistant:2023.2.4: No such image: ghcr.io/home-assistant/odroid-n2-homeassistant:2023.2.4")
23-02-15 19:03:20 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
i see the logs connecting directly to the host and accessing "supervisor log"
but im not getting any error log ๐ค
ive tried with 3 different network, 2 different google wifi routers, one tp-link router 3 different isp, 3 different locations, also tried changing dns to 1.1.1.1. and 8.8.8.8...
i can visit it with my browser
Pinging ghcr.io [140.82.121.33] with 32 bytes of data:
Reply from 140.82.121.33: bytes=32 time=26ms TTL=54
Reply from 140.82.121.33: bytes=32 time=27ms TTL=54
Reply from 140.82.121.33: bytes=32 time=29ms TTL=54
Reply from 140.82.121.33: bytes=32 time=27ms TTL=54
Ping statistics for 140.82.121.33:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 26ms, Maximum = 29ms, Average = 27ms
from my laptop that is
im thinking if there is something wrong with the odroid n2+ itself.. but without the information on the sd or emmc there is not much it can do right?
i tried to run "docker pull" but then i get
"layers from manifest don't match image configuration"
also from the home assistant CLI i get "Error returned from supervisor: system is not ready with state: setup"
yes no problem pingit the odroid Pinging 192.168.86.42 with 32 bytes of data:
Reply from 192.168.86.42: bytes=32 time=5ms TTL=64
Reply from 192.168.86.42: bytes=32 time=6ms TTL=64
Reply from 192.168.86.42: bytes=32 time=28ms TTL=64
Reply from 192.168.86.42: bytes=32 time=9ms TTL=64
Ping statistics for 192.168.86.42:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 5ms, Maximum = 28ms, Average = 12ms
its either something on the odroid, since both sd card and emmc is failing the same way,, or something with the file its trying to get from ghcr.io/home-assistant/odroid-n2-homeassistant:2023.2.4
i guess
Hi all, when importing keys via USB and using the ha os import or rebooting the host, do I still need to keep the USB plugged in to log in as root from SSH after either of these have been done? thanks
thanks!
ahh good to know! If I ever loose those keys
hmm how do favorite or save your message?
guess I can just copy paste into some other file
got out more from the error log now, posted it here where its easier to see it in code.. https://community.home-assistant.io/t/stuck-at-preparing-home-assistant-on-odroidn2-no-such-image-ghcr-io-home-assistant-odroid-n2-homeassistant-2023-2-4/534976/3
QQ: What's the difference between the 'latest' and 'stable' tag for docker based HA?
stable is correct, and latest is random
Ahh, ok.
Thanks.
I figured 'latest' was = nightly, and stable was... well, stable... ๐
Latest is whatever was built last
Hey can anyone point me to a solve for basically this; https://community.home-assistant.io/t/mounting-internal-ssd-in-haos-for-use-in-plex/454392.
If i can mount some hdds to haos then i can fkanlly get rid of my true nas machine for good
HAOS is not really a **general-purpose **virtualisation platform, even though addons do some of that. You might be better running both HA and Plex in VMs on something like proxmox (or truenas, haha)
hey, whats is the best virtualbox version to run HAOS? I'm on 6.1.30 but i have a few issues with start ups and shut downs
How do I see what "Unsupported software" is installed? Haven't changed anything and now this popped up. Running HAOS on rpi4
Did you ever install Portainer?
no
only thing that has changed today is I updated to the latest release of HA. And the latest esphome
@north rock 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).
If you're not running HAOS (or Supervised) it's "fine"
Well... then at some point you're going to get a great big Unsupported warning
(and probably Unhealthy)
Things then may refuse to work
originally i was running it all via truenas but yeah it wasn't being updated enough or giving me all the features so i built HA into its own PC using HAOS. Also moved epshome, logitech media server and mqtt over there too. Only things left on the NAS are Plex, my steam library and nextcloud! All of which would need HDDs in the HA PC to be moved over :(((
Hello guys Iโm new here and I make a mistake setting up my home Assistant and is there any way to reset and make fresh start?
Depends on what you mean
Removing the config for HA itself ... yes that's easy
https://www.home-assistant.io/common-tasks/os/#installing-and-using-the-ssh-add-on-requires-enabling-advanced-mode-for-the-ha-user
Install and configure that so you can SSH to the computer. Then stop HA and delete everything in the config folder
ha core stop
cd /config && rm -fr .??* *
ha core start
Hi, I have a question... If I'm wanting to migrate my HA setup from a Raspberry Pi to an old PC... Once I have a working fresh HA installation on that PC, is it more complicated than just restoring from a backup that I took using my Raspberry Pi?
No, that's all you do
When migrating from a HA Supervised to HA-OS, are there folders we should not restore?
Than you
I setup HA and installed DuckDNS (via the add-on) so I can access HA from my phone while away, but now when I go to my local ip (https://192.168.100.10:8123/) I only get the Unable to connect to Home Assistant. message. In the console there are two error messages:
Firefox canโt establish a connection to the server at wss://192.168.100.10:8123/api/websocket.```
But that doesn't mean very much to me. Any ideas?
What if you use Chrome?
Let's see....
Either way, you're always going to have errors accessing the IP
Why?
Because the SSL certificate isn't for the IP
So your browser will complain, and the official app will refuse the connection
Oh. The DuckDNS installs a cert for that domain only. Makes sense. Do you know of a workaround?
Use a proxy server for SSL
I found an old post about this topic and it said to setup NGINX Home Assistant SSL proxy, which I did, but nothing changed.
Ah, yeah, that. ๐
Well, sure, but you have to remove any ssl_ lines from HA's config
- HAOS
ha core check - Container uses
dockercommands - Core requires you to activate the venv first
Always run that after touching YAML
It is, unlike the UI check
ok! It finished. Lemme take a look.
failed to install sqlalchemy because of a dependency conflict...
That's it.
General Errors:
- Platform error sensor.sql_json - Requirements for sql_json not found: ['sqlalchemy~=1.4.27'].
Full error:
Error: Testing configuration at /config
INFO:homeassistant.util.package:Attempting install of sqlalchemy~=1.4.27
ERROR:homeassistant.util.package:Unable to install package sqlalchemy~=1.4.27: ERROR: Cannot install sqlalchemy~=1.4.27 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
I don't know, I can't access the UI to get a list.
I'm poking around the fs to see if I can find something there but I'm pretty new to this.
The custom components are in the log file at the top
home-assistant.log
HA itself requires sqlalchemy==2.0.3 and no built in integration will over-ride that
the log has warnings about: hacs, nodered, resmed_myair (which I don't need anymore), mass, localtuya, and sql_json
Okay. ๐ How do I do that from the cmd line?
You don't
cool
You open an issue with the developer
I mean, meanwhile my HA won't operate so I'd rather uninstall it.
or roll something back or upgrade something
why would sql_json fail because I removed ssl_certificate:... from my config? I mean... I guess I'll ponder that later. Right now I need my HA to run again.
Removing it from /config/custom_components/ will stop it loading, but if you've already installed and configured it you also have to undo that
If it's https://github.com/crowbarz/ha-sql_json then just remove all the YAML that references it
ok, I had a single sensor that was using sql_json so I blanked out my sensors.yaml file
So that didn't do anything. ๐ What'm I missing?
Did you restart HA?
I did.
And... what's in HA's log now?
The log file looks the same.
Remember to use http:// with the IP
ok, I can get in with http://
file editor doesn't work, so that's weird.
So http works for both my domain and local, but obviously that's not a great solution.
Now you need to configure your proxy to handle SSL
I have NGINX Home Assistant SSL proxy setup according to the instructions.
And did you forward the ports from your router to it, or to HA?
I remember doing so. Lemme open it up and look.
You can also check the proxy logs to see if you're touching it at all
No images allowed here, but: https://pasteboard.co/JHLp5ajPbcUO.png That's my port forwarding setup
Well, two of those aren't needed
You only need to forward port 443
Then you use https://example.duckdns.org/
Okay, I'll nuke the other two
This gives me "Unable to connect to home assistant"
(I've got an interview now but I'll be back later.)
@mossy hornet 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).
http:
use_x_forwarded_for: true
trusted_proxies:
- 192.168.100.0/24
My interviewer didn't show up so I'm still around.
I can see that /ssl/fullchain.pem and /ssl/privkey.pem exist, as specified in the NGINX Home Assistant SSL proxy config.
hmm, applied the update today and now my vm is using almost a full gig more memory o_O
@humble scaffold i am having this message: WARNING:2023-02-14 15:08:47,075:hass_configurator.configurator:'utf-8' codec can't decode byte 0xfb in position 106: invalid start byte
what can i do?
First of all donโt post the same problem in multiple channels
@idle saddle Please do not cross post. Read the channel description, post it and wait for folks to respond. Crossposting wastes people's time as they're unaware of the help you're getting elsewhere.
If you don't get any responses after an hour or more, and your message is no longer on screen, it is fine to re-post or post a link to it.
There's also zero point in tagging the bot...
Hookup the bot to chatgpt and maybe....
Then it can give plausible sounding incorrect advice
Not too dissimilar to most advice I find on HA ๐
I posted that duckdns/nginx problem on the community forum and got someone complaining about me having a modem so ... I dunno, chatgpt might be a step up.
Chatgpt was probably trained on their advice but from 12+ major releases of HA ago so you know it would be a really intelligent thing to do. Proper next level intellect. Musk level. A++.
What about something like proxmox?
how do install the libva-mesa-driver on the HAOS version
You ... don't
so now way to enable HW acceleration ?
For Frigate I assume?
yes
Pretty sure the answer's going to be not a hope in hell
how about if I install my own os
Running Frigate in a VM on top of Proxmox, ESXi, Virtualbox, etc. is not recommended. The virtualization layer often introduces a sizable amount of overhead for communication with Coral devices, but not in all circumstances.
so I should just buy a coral and call it a day
you can setup a debian vm besides haos and use frigate in there as it was intended to be used. but at this point its just a matter of minutes to get HA and eventual additional software also running in docker on your own. that is why everyone here will suggest a container install to get all of it
Well, you need one anyway
Docker is shockingly easy
Debian on that host, with Docker, and optionally running HAOS in a VM if you really want it
I'd do that over Proxmox
but docker is running under proxmox, which is not recommened
No
Install Debian on the computer
If you want HAOS, use VM software - including Proxmox - so you can run HAOS in a VM on top of Debian
ok, i think i got it
There are ... challenges if you go with Proxmox that way
https://wiki.debian.org/KVM would be better
is that gui based?
leave proxmox as is, just as you leave haos and don't install packages on your own
if you want advanced do debian
do I bother trying to get HW acceleration for 2 cameras
@humble mirage I'd love to see some experimental data that actually measures the performance impact of a type-1 virtualiser (ie: proxmox or esxi). I've always found it (dayjob) to be basically imperceptible.
I'm quoting somebody else's docs, take it up with them, not me
Any thoughts on a representative test? Maybe some sqllite benchmark?
I have no horse in this race
I wasn't hassling you - just opening a genuine dialog.
I'm aware I'm a bit of a proxmox pimp (because it works so well for me); and I'm interested in people with different perspectives
Any VM has overheads, it's the nature of a VM
I tagged you relating to your comment about coral on virtualisation in particular. Am interested.
Right, and I was quoting somebody's docs
A type-1 hypervisor is quite a different beast to virtualbox etc
So... if you disagree... take it up with them
๐คทโโ๏ธ But "hardware acceleration" can be problematic, sure.
I wouldn't run my NAS in proxmox for example
I'd like an all around box that i can do lots of things on, currently running xpenology which has virtual machines and docker
kabre For that, for me, I have lots of success with proxmox
But if you already have a NAS with virtualisation, and it's working for you, that's great too
tinkerer: fwiw I'm also having a parallel discussion with my workmate about esxi vs proxmox, trying to understand reason for his decisions. I feel like there's usually a reason, and that is interesting.
does the new esxi 8 support containers?
I have no idea, I'm proxmox boi. But I have a spare machine, workmate and I are going to do some side-by-side same-hardware comparisons in the next couple of weeks. Might throw native HA/linux in there too, if we can agree on a useful benchmark that's not just IO
BUt containers doesn't really feel like vmware/esx's lane
That should be fine.
I'm happy to help people run docker and configure bullshit to work
and VM overhead isn't much an issue anymore. It exists, but I wouldn't worry about it, you certainly shouldn't have to design around it.
I prefer debian network boot OR terraform cloud infrastructure management.
Ansible to run VMs attached to varying networks classed by data/security.
Ansible to configure docker/containers running in each VM on whichever networks.
anyone here got any experiance with the MQTT HVAC stuff?
I keep getting this error when trying to set temperature:
Failed to call service climate/set_temperature. UndefinedError: 'dict object' has no attribute 'unknown'
Share the call you're making
Though, this is more for #integrations-archived or #automations-archived than installation
Hi, I am planning on offloading the recorder data base to my Synology. HA is running on a PI and I want to make sure that HA continues to function even if the synology is down. Will pointing the recorded to a database on the synology cause HA to stop functioning if synology is upgrading or has a downtime?
no, it will show a notification that your db server is unreachable and thus errors out. ha should keep on chugging without it though
It does keep on running happily if the database goes away
you'll get quite a lot of log spam, though
it might fill up the storage device on your Pi if it's gone for too long
Guys, are you also having troubles installing Core version of 2023.2.5? (pip3 install homeassistant==2023.2.5) ERROR: No matching distribution found for homeassistant==2023.2.5
Upgraded from PI3 to Dell wyse 5070. Got HA installed on Dell and did restore via Google drive backup. Worked except all my add ons are stopped and will not restart. From logs error] [ha-device:Goodnoght] Invalid config for device trigger. Other add ins stop here INFO: Starting NGINX server.. Can some one give me a hand?
Iโd just restore from backup again and see if it was a failed restore the first time
Was able to install Google drive backup and file editor when I first started new install. They still work. Would hate to loose all my node red and other stuff.
Seems like there must be something common in the backed up stuff.
After you do your initial restore, you need to fully reboot the host, not just a Dev Tools -> Restart for the add-ons to come back up fully
Ok will try that. Have been doing easy reboot route.
WhoooHoooo That was it. Power off reboot and all my stuff is back!!! Many thanks NSX saved me much putzing around.
Guys are you also having troubles
Installing devices and really don't care to have them all going outbound. Seems my ecobee T-stat can be controlled local. I hope the 18 T-link Kasa switches can be kept local as well. However my new unnamed at time of purchase now to find out it's Tuya 220V breaker is not being found by HA. Do I really have to get an acct with Tuya for this or is there a way to keep it local?
heya, anyone know how to install HA on TrueNas Core?
thanks so much!
I created a new HA instance and copied over my config file, but it seems helpers, dashboards & areas are not copied over? Did I do something wrong or does it just not get copied over?
A lot of things are stored in the .storage folder
heya anyone know how to install HA on
Ah thanks, it looks like I copied .storage from src but didn't copy to dst. lmfao just learned scp doesn't include hiden files unless you append a dot at the end of src. shame on me for not using rsync I guess
Hey all, I'm having trouble setting up Home Assistant in a docker container on a linux server. I did have it setup and working but after updating the container and restarting my system I broke it ๐
I have a server/NAS running promox and install HA but I tinker around a bit with it, so was going to get a dell micropc or NUC to run home assistant for lights and heating (critical stuff). How easy is it to run 2 instances of HA and control the things on both via mobile etc? Can you make a consolidated view?
Why not just create another VM for HaOS 2?
I meant I mess with the NAS hardware a bit, plus its in my second bedroom which people sleep in
And the disks are too noisy
Ah ok, fair enough
Im not sure you can link the 2 homes how you want, but you can swap between different homes
Googling it looks like I can push stuff from one instance to another with MQTT?
i.e. a Master and slave
You can probably do that yes
Hey, been searching near everywhere for a possible answer or link to no avail, so thought of asking here. Does a 32-bit image for HAOS exist that I can use to install on an old 32 bit laptop?
No, not for HA OS.... I don't even know if a Core install would work on x86. You'd be much better off finding something more modern (but low power) to run HAOS on.
Thank you for the sad but expected answer. Just to be sure, would it not be possible to run home assistant in lets say a 64 bit vm running on a ubuntu OS using a KVM image?
If your processor isn't 64-bit, no
and if you do have a 32-bit processor... that thing is well over 10 years old ๐งฎ
indeed it is, thought it was a shame not putting it to use when I had it lying around, oh well appreciate the help.
Suitable door stop ๐
hello everyone, is there please fully offline installation and running possible on rpi3/4 ? I'm looking for way to monitor my power usage with tasmota compatible plugs and HA, thanks.
I can't think of a reason that HA couldn't work without internet access, however it would need local network access to talk to the Tasmota devices.
My HA seems to be restarting several times a day, but I am seeing no obvious cause .. or even log details indicating a reboot reason. This installation is Home Assistant OS (HA 2023.2.5, Super 2023.01.1, OS 9.5, Frontend 20230202.0 - latest) on Proxmox VE 7.3-6.
Here is the console output of a journalctl -f at the time of the restart: https://imgur.com/a/EV2fV4F
Dmesg following reboot: https://paste.ubuntu.com/p/3xZPrJ3KdN/
Where else can I look for logs/reboot cause messages?
i have wired LAN access to RPI and local WiFi to iot devices, but it won't start installation process...
now I'm reading online that it's required to firstly connect RPI to internet, but I only have hotspot access not via LAN.... please how I do this installation on RPI? (it's off-site location)
Then you'll need to connect the Pi to WiFi on the first boot, so it can download and install HA
I have a RPi 3b+ running Home Assistant on HassOS. Recently (2023.01.1?) the Supervisor has no internet while the host has internet. Anyone else with this experience?
@humble mirage thanks for the link, thought only wired was option (everywhere said), that said i already successfully connected to the hotspot on my phone, but now I'm waiting for half an hour on landing page and no installation still.
initially, there was network activity, but now i see nothing, so RPI probably completed downloading stuff, but still even after half an hour landing page... is there any command (inside RPI terminal) that i should run or?
The web UI has access to logs
i only see "Preparing Home Assistant" and links to forum discord newsletter and phone apps
observer link Supervisor: Connected
Supported: Supported
Healthy: Healthy
Click the blue circle
now i see, its super long
Please use a code share site to share code or logs, for example:
- http://pastie.org/ (select YAML for the language)
- https://dpaste.org/ (select YAML for the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.
Well, you need to configure WiFi so it can reach the Internet
and i did, its online now
if you refer to that spam its before i did
i just in case pasted everything
*23-02-18 18:35:15 * thats circa when i did that
first command it did not work, second time connected
If it has working Internet access then it should download everything and work, though obviously if your connection is slow it'll take a while
now its about 10-15mbits, its offsite cabin
Not the slowest I've seen lately
And hell, a lot faster than the DSL I had at my last place
no newer logs in place, its probably stuck on that hypervisor update?
Might be worth re-flashing it, and setting the WiFi for the first boot
I don't use HAOS myself
so i run ha supervisor update and it's doing now, probably this is why it's stuck, since no new logs after that
Not able to ping version.home-assistant.io from the Supervisor container but basically all other servers Iโve tested. In the other containers this worksโฆ
Doing an install of HAOS on a system drive set to "no filesystem". After successful flash (balena etched) the disk shows the haos files downloaded but on reboot it just goes into grub rescue "no such device". Any ideas? https://imgur.com/gallery/HJ0eC2r
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.
Hi Guys, I'm running HA using the ESXI ova and am getting an upgrade issue when updating from 2022.9.4 to 2023.2.5. My core is 2022.9.4.
When doing the update docker seems to be throwing an error saying "device or resource busy". This causes HA to become unresponsive until a reboot.
I have an ESXI snapshot so am will to try anything risky to try and get it to take the update.
roughly how long should it take for home assistant to start after restoring from a backup? mine claims to be starting for over 5 minutes now
Since it looks like it is impossible to get hands of RPI4 at the moment does anyone know about if there is any second brands styles boards that works with HA?
Pretty much any PC from the last decade
It should have at least 2 cores, 2 GB of RAM, and a CPUMark of 900 - plus supporting UEFI if you want HAOS
The history of the #hardware-archived channel has a lot of recommendations
What's the upgrade process for docker-based homeassistant if there's a new minor/patch out? Can I just replace the image and run the container? Well, I guess observing logs & rollback to previous image will be fine
Assuming you're doing the smart thing and using Docker Compose, same as any other upgrade
Configure the container to start unless stopped/always
Yes
Only if you use HAOS
Only HAOS has UI restores
For Docker you have to do it yourself
Extract homeassistant.tar.gz from the backup
Extract the contents of that to wherever you want it
Hi guys
Would love some input what is the Best smart light Dimmable switch
i can't work out if there some that needs a hub / subscription / Zwaves
its so hard to work out
#hardware-archived will be able to help! Please see the pinned post for what info to include
hello, I'm trying to run home assistant in windows, I tryed the docker approach changing the MY_TIME_ZONE and /PATH_TO_YOUR_CONFIG values, and also the docker compose. With both approaches I get the docker image running, but can't access home assistant on localhost:8123 or myip:8123, is there something else that I need to do?
What's your compose file look like? What do the docker logs say?
version: '3'
services:
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- ../:/config
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
privileged: true
network_mode: host
2023-02-20 01:13:15 s6-rc: info: service s6rc-oneshot-runner: starting
2023-02-20 01:13:15 s6-rc: info: service s6rc-oneshot-runner successfully started
2023-02-20 01:13:15 s6-rc: info: service fix-attrs: starting
2023-02-20 01:13:15 s6-rc: info: service fix-attrs successfully started
2023-02-20 01:13:15 s6-rc: info: service legacy-cont-init: starting
2023-02-20 01:13:15 s6-rc: info: service legacy-cont-init successfully started
2023-02-20 01:13:15 s6-rc: info: service legacy-services: starting
2023-02-20 01:13:15 services-up: info: copying legacy longrun home-assistant (no readiness notification)
2023-02-20 01:13:15 s6-rc: info: service legacy-services successfully started
Looks okay to me but I can reproduce this on windows. Will investigate after my meal
@civic shale Please use a code share site to share code or logs, for example:
- http://pastie.org/ (select YAML for the language)
- https://dpaste.org/ (select YAML for the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.
HA on Windows doesn't support host mode networking
There's a reason why it's not supported in the docs ๐
I believe that WSL2 now supports it (though I've seen no confirmation), so running Debian in WSL and then running Docker there may work
thank you for your response, so what should I use instead of host? I tried with bridge but didn't work
Hmm yeah. Docker's docs still state
The host networking driver only works on Linux hosts, and is not supported on Docker Desktop for Mac, Docker Desktop for Windows, or Docker EE for Windows Server.
https://docs.docker.com/network/network-tutorial-host/#prerequisites
Maybe you can subscribe to this: https://github.com/docker/roadmap/issues/238
thank you very much
๐ฎ ok, I was trying to avoid that
That's Windows for you ๐
The next "best"/easiest choice (while staying on windows) would be to do
ports:
- 8123
but a lot of things will not work well like this so it's not really an alternative.
Maybe you could use Hyper-V? Sharing devices with it is a bit painful though and I'd recommend another hypervisor if you need to do this
thank you both for your responses, I guess I will try tomorrow with the VM approach, hope you have a great nigth o day or whatever applies
I'm currently running the HA Docker, with ESPHome and the zwave-js-ui dockers as well. I'm getting ready to install HA-OS on a dedicated PC. If I copy the homassistant configuration for my docker over, that should setup HA, but how do I move the zwave and esphome stuff over?
Do I just need to reconfigure it all?
most people don't move in that direction
ESPHome uses a directory in your /config directory for its stuff, so presumably you can just put all your ESP projects in there
I believe that you can backup and restore the zwave_js_ui config
Yea I think so
I'm not against the "standalone hardware", just the movement from container to HA OS
You can do standalone hardware and still run HA and other things using docker
which it sounds like is already the config that's being used
I wanted to install an integration that requires HACS. It was my understanding that I cannot do this with the container
that is incorrect
HACS is supported on all install types
it's even one of the FAQs
OK that is even easier. Let me see what I missed. thanks
Always ask how to do what you want to do first itโll save future you heartache
Also I don't think any custom integrations are required to be installed via HACS
OK I installed HACS and saw that it downloaded and created a directory in /config/custom_components
I restarted the docker, cleared my browser cache, but HACS doesn't show in the integrations list
nevermind I found something wrong.
That is frustrating. Of coarse I figure it out immediately after posting. Helps if you install HACS in the correct config directory. All up and running many thanks!
ya until 1 month passes and you realize its busted once your key expires
tunnel token has maximum 1 month duration
Where did you see that? I've been running cloudflared for over 5 months without needing to change the token
they leave the default token set to 1month or w/e then bitch about it on reddit lol
Peace All, I am trying to install homeassistant on the raspberry pi(HAOS) but I have been unsuccessful and receive the following line in the supervisor log: " 'ResolutionFixup.run_autofix' blocked from execution, system is not healthy - supervisor." I have attempted to install HAOS via VM(Windows) and I have received the same message or "[supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/raspberrypi4-64-homeassistant with tag 2023.2.5." but never downloads. I have looked all over the internet for leads as well as the HA website but I am unsuccessful. Could someone please assist me with this issue?
I am currently running home assistance OS off of a USB, is there a easy way to move it to a internal SSD?
I'm trying to setup HA on my RPi3b, and the logs just are repeating 23-02-21 06:37:45 WARNING (MainThread) [supervisor.misc.tasks] Watchdog miss API response from Home Assistant 23-02-21 06:39:45 ERROR (MainThread) [supervisor.misc.tasks] Watchdog found a problem with Home Assistant API! 23-02-21 06:39:45 INFO (SyncWorker_2) [supervisor.docker.interface] Restarting ghcr.io/home-assistant/raspberrypi3-64-homeassistant 23-02-21 06:41:46 WARNING (MainThread) [supervisor.misc.tasks] Watchdog miss API response from Home Assistant
You can take a backup.... then put the image on your SSD and restore
just done that, all worked well. just gotta setup scrypted again ๐
Nice ๐
If the AppArmor is not enabled on your host, add this to the Linux kernel boot parameters: apparmor=1 security=apparmor and then reboot your operating system. Can sb help how to add this to Linux kernel boot parametrs
What's your install method
Also, it is enabled by default... so that's not too likely to be a cause
supervised
^ Those are the instructions, but since you're running Debian 11, that's not likely to be an issue
I seem to have broken HA. I made a change to the configuration.yaml that it didn't like. So I commented out the change, but it still wouldn't start. So I restarted the docker and it won't start now either.
Message: 'Error during connection setup: (sqlite3.OperationalError) unable to open database file\n(Background on this error at: https://sqlalche.me/e/14/e3q8) (retrying in 3 seconds)\nTraceback (most recent call last):\n File "/usr/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3361, in _wrap_pool_connect\n return fn()\n File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 382, in connect\n return _ConnectionFairy._checkout(self, self._fairy)\n File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 888, in _checkout\n fairy = _ConnectionRecord.checkout(pool)\n File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 491, in checkout\n rec = pool._do_get()\n File "/usr/lib/python3.10/site-packages/homeassistant/components/recorder/pool.py", line 74, in _do_get\n return super()._do_get()\n File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 364, in _do_get\n c = self._create_connection()\n File "/usr/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 271, in _create_connection\n return
Should paste that error somewhere like pastebin, but from what it looks like your home-assistant_v2.db may be hosed
I move it out of the directory and tried to restart, as I read, but it still gives the same error
Do you have anything for recorder: configured in your configuration
No
I also had my zwave-js-ui docker fail at the same time. Could that be the cause? I don't know why that died either.
Its log says:
2023-02-21 07:55:36.210 ERROR Z-WAVE-SERVER: Failed to send the command after 3 attempts (Status Fail) (ZW0202)
ZWaveError: Failed to send the command after 3 attempts (Status Fail) (ZW0202)
at Driver.sendMessage (/usr/src/app/node_modules/zwave-js/src/lib/driver/Driver.ts:4001:23)
at Driver.sendCommandInternal (/usr/src/app/node_modules/zwave-js/src/lib/driver/Driver.ts:4192:28)
at Driver.sendCommand (/usr/src/app/node_modules/zwave-js/src/lib/driver/Driver.ts:4307:15)
at Proxy.get (/usr/src/app/node_modules/@zwave-js/cc/src/cc/ManufacturerSpecificCC.ts:106:24)
at ZWaveController.getAvailableFirmwareUpdates (/usr/src/app/node_modules/zwave-js/src/lib/controller/Controller.ts:5413:5)
at Function.handle (/usr/src/app/node_modules/@zwave-js/server/dist/lib/controller/message_handler.js:205:54)
at Object.controller (/usr/src/app/node_modules/@zwave-js/server/dist/lib/server.js:39:103)
at Client.receiveMessage (/usr/src/app/node_modules/@zwave-js/server/dist/lib/server.js:106:99)
at WebSocket.<anonymous> (/usr/src/app/node_modules/@zwave-js/server/dist/lib/server.js:50:45)
at WebSocket.emit (node:events:513:28)
Error: ENOTCONN: socket is not connected, close
2023-02-21 07:56:19.727 INFO Z-WAVE-SERVER: Client disconnected
Have you tried just restarting the whole host
that was next on my list
I'd give that a shot and see if you still see the same issues
OS may just be unhappy
Yep, a complete reboot of UnRaid fixed it. I couldn't restart the docker service, so something screwed up. thanks!
Hey how install on M2 Mac Mini ?
I trying to convert raspberry file img to vmdk with "allow-no-os" on parallels but i have this error always
https://ibb.co/Kmwmgnc (Screen Error)
i using parallels
Does Parallels even support Intel emulation?
|| then don't ||
I need to virtualize
UTM support
Please read the page I linked
@swift root 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).
I assume that's you're very strange way of saying yes? Or is it no?
Or is it ... something else?
Yesnt?
X)
Trualse?
UTM Support Intel emulation but i use parallels
Mayben't
Wordsarehardare
Aller bonbon
Well... the VM is for intel... so ...
Raspberry PI 4 is x86_64
?

Please read the instructions on the page I linked and switch hypervisors
Performance on others hypervisors is not optimal on macOS and parallels is the best : )
run debian and aarch64 image if you want to run a vm
Buy a mini pc and just donโt use a Mac
I love Apple and I eat Apple. And power consumption is ridiculous compare to my old Server and performance is much greater in single core compare to my olds Xeon : )
yes
hey ๐ my stupid brain thinks about hosting hassio on a KVM Host at home, possible with usb zigbee stick?
Thanks โค๏ธ
better docker container or Virtual machine with the "operating system"?
Can I pipe hardware like an usb zigbee stick through a docker container?
you might prefer a PoE zigbee coordinator regardless
Better is very personal
I like Docker myself, the flexibility and control it brings
or third option, haos installed on not-your-server such as a used laptop, mini pc, nuc, etc
at the moment I have hassio on a raspberry pi 4 with 2gb ram, but my main concern is the micro sd card .. you get no smart values out of it ๐ and this card is living now for 3 years .. I use it a lot and with different features, so I have a little pc (dell optiplex 3090) where I will install a unix based system for hosting virtual machines / container on it ๐
btw: im new to this discord, thanks to all of you with the fast response and help! ๐ซถ
Yea youโd be right to be concerned with an sd card with an OS on it lol
๐ still alive after 3 years
Your mini pc idea is good
yeah in connection with terraform + ansible ๐
Many people do that here and virtualize haos or run containers if they want full control
The latter is more work but ultimately same end result so you can do that
How well usb passthru works depends on your hypervisor / os of choice
You can buy a 3d printer to repurpose the old pi

already have one ๐ "ender 3 something"
I think mini PC is the way to go. Toss on proxmox and you can do a lot more than just HA
Thatโs what I did until I got a deal on a 1U
Iโd advocate for prox even though it isnโt strictly necessary.
Itโs nice to be able to spin up VMs with a nice UI. You can do that on a bare Linux but it requires more Qemu knowledge.
i prefer terraform ๐
but yeah, I will move the hassio from the pi away and will use this as vpn entry or so .. but for this it is too strong ๐
I mean, I run k3s
So, you can go up in complexity.
But there is a terraform prox provider.
The reason why I like prox is that it makes creating new VMs easy, which I highly recommend for the moment you spread out beyond just HA.
One big Ubuntu machine can be surprisingly hard to maintain once youโve got a few services and you had to scrub one twice to try again.
And itโs fairly newbie friendly, given what it is.
I have a fair bit of experience with HA but have a problem related to CPU support. I have a Dell Optiplex FX160 that runs the Intel Atom 230 and 4GB ram. It runs HA on debian supervised... no problem. But I want to run HAOS instead. I put HAOS on the SSD and it wont boot even when left over night. Latest BIOS update is installed, and fast boot is disabled in the bios. I just see the blinking underscore cursor. I see that others have gotten HAOS to boot on much newer Intel Atom chips here: https://github.com/home-assistant/operating-system/issues/1752
yes, I think so
know dont think yo
I dont think it has legacy bios... only UEFI? Not sure. I didnt see it in the bios menu.. Ill look now.
those two are critical for it to work
also enable boot on power
so if power outage it auto boots on power
Yes boot on power is enabled
Im in the bios now. What about the setting "Execute Disable Memory"? That is set to on now.
idk man i just jumped in with an easy answer that people skip
Listed under security
