#installation-archived
1 messages ยท Page 24 of 1
No i didn't find any tools to migrate and no I want my history. I was perhaps not clear the other night. But is my backup/resotre idea is suitable ?
No... what would you have to restore? If you have no history in Maria, it won't magically be created.
Hi all; new here because I've run into an issue twice over the past few weeks and I'm at a loss as to how to diagnose or solve the issue:
I've got a Pi 4 running HAOS, and I've had two instances over the past few weeks where the web UI becomes inaccessible; just no response when I attempt to access it. I can see that the Pi is connected to my network, but I can't ping it or SSH into it (I had installed the SSH addon in Home Assistant, but it's still not accessible). I hooked up a monitor to the Pi and I can see it start up and everything seems to be working fine, but I'm not sure what to do at the CLI to diagnose it. The last time it happened (a week or two ago), it seemed to resolve itself after a day or two. This time around, it's been down for several days.
Any help would be appreciated; I can't find anything with a web search that seems to apply to my situation.
You could probably dump out all of the rows to a file and import them from pg
actually all is in the postgre sql. So my idea was to backup hass with postgre connected. Change the db to maria and restore
Postgres is an addon though, yes?
no it's a docker db on another pi
Sure... well anyway, the data is on that other pi
That's where the history data lives
yep
So the only restore you'd do that'd contain that data is a restore of the Postgres instance itself
Which won't give you what you're looking for
๐ฆ
If you've got pgAdmin or whatever, I'd bet you can dump tables to a csv/tsv or whatever and find a way to import that back to maria
ok so i need to find another method ... do you know where i can find the script to create the mariadb ?
yes, i've readed about csv export but I need the new db to be created to reimport the CSV
HAAAAA
mmm ok i'll try that method
Really it's impossible to work properly with HA, it just crabs impossible to access it even though it tells me it's running
Wut
I even moved it to my TV, the ip didn't move nothing I want to fart a cable
Also, I've not done this process itself before, but DBeaver looks like it has a migration process where you may be able to just transfer between both instances... you'd have to confirm if it's cool if the source/target are different DB providers: https://dbeaver.com/docs/wiki/Data-migration/

Do you want help, are are you just venting?
I would like help haha
Then... rather than ranting into the void... why not try communicating?
thx for the link but it's a paid product
Did you try out MySQL workbench's migration? https://dev.mysql.com/doc/workbench/en/wb-migration-database-postgresql.html
Oops, that was the commercial version: https://github.com/dbeaver/dbeaver/wiki/Data-migration https://dbeaver.io/
will give it a try
will see if NSX link is not working but i think I've seen last days that migration tools was part of the paid licence
You'll get more help if you link to your previous post
any help on this please
you need to link to where you provided information, or provide the information again
Just saying please help isn't going to help anybody help you
Installation auf VirtualBox bleibt stehen
I know that Ubuntu is NOT officially supported on HA. I'm running HA OS and Ubuntu server for some outside of HA stuff
Want to merge them
Does anyone here have or tried running ubuntu unofficially?
Ubuntu isn't supported for Supervised
Is it worth it or should i make the full swap to debian
Ubuntu + Docker is fine
Ubuntu + KVM VM for HAOS is fine
Ubuntu + Supervised ... yeah, not fine
dang
I mean... Supervised is pretty clear about what's supported
It won't even let you install it on anything other than actual Debian now... thankfully
Yeahhhh I just run addons and supervisor so making the switch from HA OS -> HA Supervised was going to be the best option for me
That's never the best option
Unless you actually like pain and suffering
I'm an engineer. Of course i do!
Supervised is fragile, if you don't follow the requirements exactly then it'll break
hm
I mean, you're an engineer, I'm sure you can break it quickly
LMFAO
So
Would you think keeping my ubuntu with something like a HA OS VM running on it would be the better choice?
If you want add-ons then HAOS is the only sane way
Hey guys just received my NUC and it has ubuntu pre installed
What's the best way of getting HA on here ?
Comfortable w/ Docker? That'd probably be the best route unless you want to set up a virtual machine and put HA OS on there
If you're fine w/ dedicating the entire NUC to HA... you could just put HA OS on the NUC itself
Just got my pi4 and sd card, attempting to follow the steps here: https://www.home-assistant.io/installation/raspberrypi
The flashing via balenaEtcher is failing, but it's not clear why - does the sd card need to be formatted first?
use Raspberry pi Imager it works better
Etcher formats it. As long as the microSD shows up as an optional storage to flash to, Etcher will configure everything from there. If its failing, its because you've done something wrong..
Unfortunately the error message isn't very helpful. "Something went wrong. If it is a compressed image, please check that the archive is not corrupted." And then a bunch of javascript dump. I was following the install guide and installing from the github url, so it really shouldnt be an archive issue.
"If it is a compressed image, please check that the archive is not corrupted."
Did you try to download the image file again?
I've run the "install from URL" a few times and gotten the same result. Guess ill try manually downloading the image file
Yeah, thats the image url I am using
@gleaming flower try the pi Imager. There is directly an option to install hass inside
So download manually...
Or use the Pi Imager (but its going to download the EXACT same file)
Pi Imager appears to be working.
Hass is located in Other specific OS -> Home assistants -> Home Assistant then choose the 1st one for your pi4
Oh I missed that there was an option for that, I just dl the img from the url and did custom file image in Pi Imager. ๐
I've stopped using etcher for many years as there were to many time errors in formating
Never seen one error using Etcher ๐คท๐ผโโ๏ธ
Beats me. Brand new sandisk 64gb sd card
@gleaming flower booting in progress ?
Yep, just got it on the lan
Thanks for the help ๐
Just figd how this works sorry for DM to those that rcvd I have question Installation of HACOS is the best way to for addons? I have mint linux install of docker and HA up and running am tolsd can't do addons also limited toolbar on HA
Yes "addons" installed via HA not supported by HA container
You have to install separate containers for the "add-on" you want to use
@prisma quartz add-ons are customized docker containers. You would not choose add-ons but find the equivalents instead
or install HaOS instead of Minty Fresh
๐ฆ saw Utube vid on building container from scratch.. my C is not THAT Good ..what is MIntyFresh?
Minty Fresh = Mint Linux
I have mint linux
There is no need to "build from scratch" there are containers available for just about anything you might need...
my docker runs
install Portainer (or an whatever container manager you prefer)
ok.. i'll try to get portainer working again
had problems with Portainer
Am I on the right track
Should setup HA via Portioner for easier setup between other containers..
do I kill docker
Then try Kubernetes or Rancher
I'm using this little script to install and update Portenair if it can help you : ```#!/bin/sh
docker image pull portainer/portainer-ce
docker container stop portainer
docker container rm portainer
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/portainer_data portainer/portainer-ce
But Portainer is the easiest ๐คท๐ผโโ๏ธ
cheers
I'm running Ubuntu supervised.. but I think 2023.3.2 is finally blocking me from upgrading
cheers Just-a-Box Portino finally up Hehe exploring ๐
why not run HA OS or HA Container?
I've been looking around at cheap Thinkcenters to run HA (switching from a PI)
Do I have anything to worry about driver wise for the HUSBZB ZHA / Zwave stick not running on these old thin clients?
Why would you? drivers are not specific to to a machine (not directly)... Aslong as the OS can read them.. don't install windows drivers on linux ๐คฃ
Cool thanks!
well, it started out this way and has been fine for some years... but I think my current limitation is that I'm running a modified integration that was never really done properly as an add-on (that you could install within HA directly).. and I think HA is blocking the upgrade now because it detects that docker container, which it doesn't know about..
Integrations and add-ons are very different things
Systemd-coredump error
I don't know what to call it. It was never properly done as either. It allows me to control my inverter. It required manually setting it up and basically communicates between HA and the docker container over mqtt.
#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.
A modified integration is still an integration
I don't know what you're getting at. You want me to call it an integration, or an add-on? It wasn't something I could install from inside HA. Doesn't solve my issue with not being to upgrade HA now either.
Well, I want you to call it what it is...
You've avoided telling us what you're talking about, so all I can do is explain what the terms mean
I told you what it is, I don't know whether it's an integration or an add-on, since it wasn't something I could install in HA directly. The only bridge to HA is via MQTT. The thing I'm running other than that is a docker container that basically bridges between mqtt and the serial communications with the inverter.
I'm running a modified integration that was never really done properly as an add-on
That tells us nothing about what it is
There's a few thousand built in integrations, plus countless custom ones
Then there's the many hundreds of add-ons
It's this one: https://github.com/ned-kelly/docker-voltronic-homeassistant
Ok, that's neither an integration or an add-on
It's closer to an add-on, since it's additional software
That's what I said, it was never done properly as either.
Well, it can't be done as an integration
You could probably turn it into an add-on yourself though, see https://developers.home-assistant.io/docs/add-ons
But as you've quoted: integrate Home Assistant with devices, and that's sort of what it does.
Right, but integrations are part of HA ... not other software
Yes, I figure that's sort of in my near future since HA doesn't seem to be letting me upgrade finally.
is there a way to bypass whatever new limitation is in 2023.3.1 or 2 that's blocking me from upgrading to .2?
I doubt it
The devs are trying to make it harder and harder to (deliberately or otherwise) run Supervised in an unsupported way
been working fine for years
Is it better to run HA on a Pi or some sort of other server, I know on a Pi its gonna chew through through the SD card so I would need to install an external HD.
okay so I will just setup a VM on my MacMini instead
do you have any suggestions of water sensors for leakage detection that are zwave?
#zwave-archived will, I prefer the far more affordable #zigbee-archived options
Doesn't Zigbee mess with wifi though?
Only if you do it wrong, or live in a block of flats
okay
is there a tutorial on writing integrations?
Hello all, total newbie here. How difficult is it to setup home assistant and build an ipad dashboard for a network camera, denon receiver control and maybe a few wifi switches?
There's no simple answer to that
If you're at the skill level of knowing how to turn a computer on and off but nothing more then this will be a steep learning curve
If you're looking for something that's point-n-click trivial without requiring any reading then this will be a very steep learning curve
However, if you're open to learning and/or have any background in tinkering with technology then you'll be fine
Thanks you Tinkerer. Thats helpful. Trying to integrate Denon Receiver app, 1 or 2 Lorex NVR camera feeds, and a few WIFI switches to one dashboard and use an ipad as a wall mount display. Is home assistant what you would recommend from your experience?
I'm probably the wrong person to ask... I've been pottering around with technology since ... well, it was a long long time ago ๐
HA is incredibly powerful and flexible, you can almost certainly do what you want
Whether that'll be easy or not ... that really depends
- Are your WiFi switches even supported
- What IT/tech background do you have
- Does that NVR support ONVIF or RTSP
Thanks for the feedback and appreciate the follow-up so to answer your questions:
I have a combination of a wifi switch for my outdoor lights, and wifi garage door opener by nexx. Now that I remodeled my kitchen, I plan to use some type of tablet to control a new set of wifit switches for the kitchen lights (would make sure they are compatible with HA)
WiFi devices are often a challenge FYI, or they're Tuya which is worse. If you're buying new then I'd 100% recommend #zigbee-archived or #zwave-archived depending on your budget.
Don't have much a background but in the past used to do some light html website editing Found myself feeling lost as I am getting older. Can do simple things like link my smart things items but not sure how much beyond that
checking to see if my NVR offers RTSP and will chat with lorex
Well, YAML is easier than HTML to learn
Noted on zwave which is like my smart things hub correct? SO I can theoretically buy smart things switches and they would be easy to integrate with HA? Then you deal with range however correct? Where as my mesh wifi network would be better for these switches?
I see many people recommend zigbee and zwave also like you from my research
Well, Z-Wave and Zigbee are mesh networks, range is down to how you build that mesh
You'll get (about) 6 to 8 meters between routing devices, depending on the house construction
Z-Wave is limited to 4 hops from the controller, Zigbee has no limit
Noted
So what would be your recommendation for light switches in my remodeled kitchen. Need switches and dimmers. Right now I have a smart things hub about 25-30 feet away. Some of the switches could be slightly further
Zigbee FTW, without the use of the SmartThings hub
Zigbee is a lot cheaper than Z-Wave, and it's higher bandwidth (so faster)
You do need to be a little careful in your choices, but #zigbee-archived can help there (TL/DR: Don't buy Tuya if you can help it)
Oh, thats good to know. I noticed my basement z wave light bulbs have a slight delay when turning on but the range is fart. Noted on Tuya
Does zigbee need a hub similar to smart things?
Well, you need a coordinator, like you do for Z-Wave
That's not a hub though, that's typically a USB stick
I have a CC2652 based USB stick controlling my 90 odd Zigbee devices
Got it. Where is that placed?
Also, smart dimmer switches all need a neutral wire since you have to bring power to it. That does sounds right to you.
In my case, currently in the upstairs corner of the house, which is the least good position
Smart dimmers don't need a neutral, though many devices won't be a Zigbee router if they don't have one
(same for switches)
https://sonoff.tech/product/diy-smart-switches/zbmini-l2/ for instance doesn't need a neutral
Ive seen this sonoff mentioned all over the web. Seems to be popular and a go to for many. This is great info.
Sonoff's sensors are ... not great, but their other devices seem to be fine
So I could do that USB stick and a series of sonoffs dimmer switches
Yes, though:
- That's a switch, not a dimmer
- You'll need some Zigbee routers
#zigbee-archived can help you with good Zigbee choices
So the zigbee router is needed for dimmer switches?
Zigbee routers are needed for a Zigbee mesh
Without them things have to try to reach the coordinator directly, which doesn't usually work
There's some pins in #zigbee-archived that explain what the mesh is, and how it works, but the TL/DR is that a mesh has one coordinator (the brains), multiple routers (relay traffic for devices), and then some end devices (don't relay traffic)
I haven't had any issues with my TPLink/Kasa wifi switches
Ive seen Kasa as another highly recommended switch also.
Some of these switches have a large footprint so wonder if that would be tough to install in place of existing? Also, kasa is a wifi switch, so no zigbee? And in your opinion probably not as responsive?
I've had no issues with response. I've got about a dozen in total, switches, plugs, etc., and they've all been solid.
A couple of them are even used outdoors to control my landscape lighting.
Got it. No hub or usb required correct? Just connect to home network?
The kasa plugs/switches also allow local control, not sure if the HA integration uses it or not, but there's some python cli code if you google for it that can be used to control them.
Yes, just wifi.
Noted on HA integration
Not sure if they offer a dimmer switch but will check. I see regular single pole switch
actually, for my switches, I'm about to replace them with NSPanels, just for a little additional functionality.
saw that. Is that to control multiple areas. Saw it was a touchscreen
I plan on putting them in my bathrooms which basically right now are controlled with a single switch for lights and exhaust fan. The NSPanels will give me two separate switches to control them individually, and the screen showing additional info is a bonus too. I also have a tankless water heater, and I'll be able to trigger recirculation to start when they're on, so hot water comes sooner.
I mean, I can trigger the tankless with the single kasa switch now too, but I can show on the screen when it's actually running and heating up.
Very cool
If you're interested in the NSPanels, you can find them fairly cheap from Walmart
< $40 each for the black ones and $50 each for the white ones
Error updating Home Assistant Core 'HomeAssistantCore.update' blocked from execution, system is not healthy - privileged What's the exact problem this is complaining about?
Everything is updated, already ran that script.
Listing... Done
apparmor/jammy-updates,now 3.0.4-2ubuntu2.1 arm64 [installed]
curl/jammy-updates,jammy-security,now 7.81.0-1ubuntu1.8 arm64 [installed]
dbus/jammy-updates,jammy-security,now 1.12.20-2ubuntu4.1 arm64 [installed]
homeassistant-supervised/now 1.3.1 all [installed,local]
jq/jammy,now 1.6-2.1ubuntu3 arm64 [installed]
libglib2.0-bin/jammy-updates,now 2.72.4-0ubuntu1 arm64 [installed]
lsb-release/jammy,now 11.1.0ubuntu4 all [installed,automatic]
network-manager/jammy-updates,now 1.36.6-0ubuntu2 arm64 [installed]
systemd-journal-remote/jammy-updates,jammy-security,now 249.11-0ubuntu3.7 arm64 [installed]
udisks2/jammy,now 2.9.4-1ubuntu2 arm64 [installed]
wget/jammy,now 1.21.2-2ubuntu1 arm64 [installed]```
Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.```
hi anybody I have linux Vm homeassistant installed VB is running home assistant settings page I can't open home assistant in laptop local ip +8123
It won't be the laptop's IP but the IP of the VM
ok
Looks like you're running Ubuntu. That's not supported with supervised and issues can happen
You also are required to keep to a specific version of requirements not just upgrade everything
yeah, I understand that, but Ubuntu wasn't not supported years ago when I followed the instructions and installed it supervised.. and it's been working fine until you guys decided it was unhealthy.
I'm not sure why you're putting me in the 'you guys'. Im not a Dev
But it's always been clear. It can work. But it can break
Supervised is the worst install method by far since so much can break and no one reads the requirements
TIL we decided it's unhealthy ๐
Its all your fault tediore ๐
It didn't break though
But now it has
Not really, it was just deemed unhealthy. Nothing broke with it.
And supervised when not running within the set of requirements can just break
And updating all packages without thinking and running Ubuntu can do that
then perhaps it should specify which versions of which packages it wants?
the requirements are listed
where?
The thing you're meant to read before installing supervised
And what you have to keep on top of
What is your use case that you want supervised for anyway
It's been a couple of years since I installed supervised, but I don't remember this being deemed "unhealthy" or seeing any errors or warnings.
All the packages there are >= some version
Unhealthy doesn't always appear immediately
My use case was.. I had this raspberry pi with ubuntu on it, and thought oh, I'll give HA a try
and it installed, and it worked
and everything was dandy
Why not use docker container instead
then, suddenly, after some upgrades, this and that is suddenly unhealthy
I dunno.. I mean, many parts of it do seem to be in docker containers..
This could well have been a Ubuntu update that broke it
Yes. Docker also doesn't care what OS and you don't have to manage it properly. Just update the container
You loose the supervisor. You loose add-ons
But neither of those are a big deal
Especially when an add on is just a fancy docker container anyway
isn't it already running in docker?
It is. Except supervised means there's extra hassle for you
Either do HAOS directly on the pi (even less hands on)
Or container (less issues but you have full control of the OS)
how do I convert to container? since it seems to be in a container already...
I mean, I don't really understand the difference between supervised and container.. I followed whatever instructions there were years ago and installed it via docker
I thought it was either HAOS or supervised/container (them being synonymous)
Supervised is essentially HA OS but with the OS of your choice Debian instead of HA OS. It includes a series of containers including the Supervisor container which manages the host system and other features like snapshots (now called backups) and the add-on store
So isn't that what I want?
HA Container is just home assistant core running in a container without all of the other containers involved with HA OS and Supervised (and without the requirements of Supervised). It also doesn't have the supervisor features, but add-ons are just other containers that you could manually install yourself, and there are other ways you can set up backups
Likely not. If you want the Supervisor features you're better off running HA OS either on bare metal or in a VM
but you just said with Supervised, I could run the OS of my choice?
Yes, but to not end up with an unsupported installation, you can only use it for home assistant
That means no other things installed on the host other than the requirements and stuff from the add-on store
it almost is entirely HA, except for one container for a not-really-proper-addon
Unfortunately the requirements don't say "almost entirely for HA"
but it's just a container, so why should it matter to any other container that is part of HA?
Because it can and has broken HA before
this hasn't
Because the Supervisor expects to have full control over the host, and it doesn't if you install stuff outside of the HA ecosystem
Also, to clarify, you can of course run whatever Linux distro you want with HA Container with no restrictions and with whatever else you want on the host
you say I can run Supervised with any OS I want, but send a link saying it has to be Debian and no derivatives, and nothing else on the OS can be anything other than HA stuff... so what's the point?
but if I run it without the Supervisor.. in a container.. which it already is... I lose addons?
that's kind of important..
It sounds like it just has to be HAOS and nothing else..
Whoops, sorry. Correction above. I was thinking ahead to what I was going to say for HA Container
Again, add-ons are just containers you can install standalone
but if it's strictly Debian, and the stuff on it has to be strictly HA stuff, then what's the point of that?
exactly what? why even list it as an option if it gains no flexibility?
I don't understand. This wasn't a problem when I first installed HA.
IIRC it was created back when HA OS had very little support on machines other than the raspberry pi
but now you guys don't like the output of lsb_release -i, so it's unhealthy
Now, HA OS has much wider support of other platforms
you don't like the output of docker ps, so it's unhealthy
but nothing there actually breaks HA
It was meant to be killed off a couple years ago but people kicked up a fuss
Also don't call us you guys. Tediore and myself aren't developers, this is all volunteer support
well, I mean, HA guys, and I'm on an HA discord, and you're a mod... so..
take it as a generality
Its unhealthy because some things can break
It also highlights for people who aren't sure if requirements
I'm not a mod though
Mods have the mod role
oh, thought colored meant mod
well, it hasn't broken anything.
yeah, HA guys deem something that isn't exactly what they want to see, especially when it was acceptable before, and suddenly it's unhealthy, and "can break", so it's blocked
sigh I guess that just clarifies HAOS is what I need to move this to and separate that one container..
it's also been this way since June 2020 btw: https://github.com/home-assistant/architecture/blob/master/adr/0014-home-assistant-supervised.md
or maybe I should just keep running ha job options --ignore-something healthy to get around these blocks lol
I installed this on a rpi4 shortly after it came out.. so probably 2019..
how long does a usual full backup restoration take to complete?
Depends on the size of the backup and the speed of your storage (SD cards are painfully slow)
Hi I have a question My HA is doing very strange from the beginning of installation.
I have a loop in my filesystem looks like i have a symbolic link loop
it's a RPi 4
What's the question? What makes you think that?
Greetings
Felicitations
because if I ls addons I can keep it going ls addons/addons/addons/addons/addons/addons/addons/addons/addons/addons/addons/addons/addons/addons/addons/addons/addons/addons/addons/addons/addons/ and then a message symolic loop error
It is hassos on a pi btw
Installing PyNaCl on the RPI4 is painfully slow
When I try to boot home haos, on my rapsberry pi. It has some problems in setup. Some errors include: Logger: homeassistant.setup
Source: setup.py:213
First occurred: 14:29:16 (2 occurrences)
Last logged: 14:29:29
Setup failed for radio_browser: Unable to import component: No module named 'pycares'
Setup failed for cast: Unable to import component: No module named 'pychromecast' Logger: homeassistant.setup
Source: setup.py:344
First occurred: 14:29:30 (1 occurrences)
Last logged: 14:29:30
Unable to prepare setup for platform sonos.media_player: Platform not found (Exception importing homeassistant.components.sonos.media_player).
This comes after rebooting my home assistant without doing any changes to it.
I'm unable to play any media on Sonos through home assistant and I can't use radiobrowser or chromecast
Hello, i have a big problem, i cant start my HA anymore, i have this message : Error: System is not ready with state: setup, i use virsh with the HA images
Can you share more logs?
if you tell me the path of , or i can share my screen with you
@strange hazel I converted your message into a file since it's above 15 lines :+1:
I had this problem and I had to reflash the os and start again from a backup
๐ญ
Corruption maybe
Ha image or Host server?
Storage medium so kinda both
What hardware are you hosting this on? It might as well be a hardware issue that caused this
That's software
geekom mini air 11
On the hardware side you can do a mem test and check smart values of the storage. I guess it could've also happened due to a bad shutdown of the VM or similar
move datastorage to a new disk in a HAOS VM
Hey!
Does anybody knows where I could find old Home assistant OS that I can install on Raspberry Pi 1?
I've read something about Hassbian being a thing on that device, and scripts to produce the iso, but I couldn't find the docs to use them.
My needs would be covered with 0.7.2 (2015)
Hassbian isn't HAOS
You can find all HAOS releases at https://github.com/home-assistant/operating-system/releases, but I'll warn you now, a Pi1 is going to struggle. Between the terribly underpowered CPU and the lack of RAM it's not a good choice for HA
Expect the install and first start to take most of a day, upgrades will also take many many hours.
Is there a way to disable stuff I won't use to keep it smooth?
Which release is recommended for a Pi2?
None either
There is still a Pi2 version for HAOS, but do yourself a favour and just don't
Just about any second hand PC/laptop from the last decade will be a huge improvement
Thanks. Just working with what I have atm, but will definitely pick up a newer Pi.
Eh... Pis are for people who want problems, or have money to burn
Just about any second hand PC/laptop from the last decade will be a huge improvement
The price of a Pi4, plus powered USB hub, plus SSD... all adds up
A laptop with a busted display can often be picked up for very little
rpi4s in a flirc case will easily overclock to 2.1-2.2 ghz, and that runs HA very well in my experience.
But if that's the attitude towards Pis, maybe remove it from the documentation and say it's not supported?
It's supported... that's fine
Doesn't make it a good choice if you're buying new for HA
why would it be supported if it's not a good choice?
Because many people already have a Pi?
they haven't been too easy to get in the past few years.. and HA sells devices that are basically in the same performance ballpark
If it's all you have, taking into account that SD cards suck, why would you want to cut off all those people
Also, the CM approach is ... not awesome, but fine
SD cards suck, nothing should be installed on SD cards if you want it to run for years and be problem free.
But Pis aren't limited to SD cards.
No, but anything older than a Pi4 isn't going to run well, given the limitations of the USB bus
And, frankly, most people think an SD card is fine
I'm not advocating for running HA on anything older than a Pi4
Agreed on this point. I wouldn't buy a new rpi4, ssd, and power supply just to run HA. Used NUCs and other tiny/mini/micro form factor systems with 4th gen cpus are 2x the speed and up, and can be had for less.
I'm trying to get HA up and running using docker, but i'm running into a weird issue
If i run the container using bridge mode i can connect to the container just fine, it also shows up as expected when listing the ports in use.
rootlessk 842 holst 15u IPv4 33997 0t0 TCP *:8123 (LISTEN)
rootlessk 842 holst 17u IPv6 34001 0t0 TCP *:8123 (LISTEN)
However, when i switch to using network_mode: host i can no longer connect the the HA UI, and the ports aren't listed as listening.
It's a fresh install on a raspberry pi 4, the only thing i've installed is docker + apt upgrade.
Anything in the logs?
I'd check ufw
@viscid linden I converted your message into a file since it's above 15 lines :+1:
Any help on this?
Also what is typically better to do when using a rapsberry pi 4. Running a home assistant on a docker or installing home assistant operating system? I've been getting a lot of corruption issues with haos.
I'm using an SSD for the storage device instead of an sd card aswell
What kind of corruption issue?
is it possible to get a ISO of home assistant, I want to bare metal HASS on an old HP laptop 4GB ram
I don't think an ISO is an option, but assuming you're talking about HA OS, see here: https://www.home-assistant.io/installation/generic-x86-64
I got it running, Can I get it on the actual hard drive so I can remove the USB drive
hard drive is soldered on
just fyi
There are steps for just that on that page
well the setup process everytime home assistant boots up keeps corrupting
im not sure exactly what kind of corruption but ive had it 3 separate times where ive been unable to boot into the supervisor during the startup process and ive had to reflash my ssd and restore from a backup
Hmm no idea. I never had that. Is the error consistent? Could it be one of your addons or integrations?
Hello. What is the best place to get help with HAOS installation? Installers keeps restarting and i have output from UART, but dont know where is the best place to ask for help
In this channel
can i post output right here ?
Use a website to post logs
Please use a code share site to share code or logs, for example:
- https://dpaste.org/ (select YAML for the language)
- 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.
thx. Here it is https://dpaste.org/QNxOZ
Its installation of HAOS 9.5 on odroid n2 eMMC
I wanted to make a restoration except that nothing works anymore, the ha is slow it does not make any more maj, I have more access to the files what to do?
in "/config/themes/minimalist-desktop/minimalist-desktop.yaml", line 28, column 7
expected <block end>, but found '<scalar>'
in "/config/themes/minimalist-desktop/minimalist-desktop.yaml", line 63, column 31
2023-03-12 17:00:41.380 ERROR (MainThread) [homeassistant.bootstrap] Failed to parse configuration.yaml: while parsing a block mapping
in "/config/themes/minimalist-desktop/minimalist-desktop.yaml", line 28, column 7
expected <block end>, but found '<scalar>'
in "/config/themes/minimalist-desktop/minimalist-desktop.yaml", line 63, column 31. Activating safe mode
2023-03-12 17:00:59.288 WARNING (MainThread) [homeassistant.setup] Setup of hassio is taking over 10 seconds.
2023-03-12 17:00:59.438 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from hdi06-1_migr-88-173-12-246.fbx.proxad.net (88.173.12.246). Requested URL: '/api/websocket'. (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/110.0.1587.69)```
I'm still locked out home assistant from this morning after update core and I haven't understood yet why; I suspect this is something related to https or encriptation certificate?
I followed many months ago this tut https://youtu.be/AK5E2T5tWyM (Home Assistant Remote Access for FREE - DuckDNS + LetsEncrypt + Single URL) and never had a glitch accessing this.
What did I already verified?
I see the duckdns is still pointing to my correct wan IP. Last change 1 month ago
I see the router port forwarding is working. I get a "connection refused" error and if I disable the port forward I get "connection timed out".
Accessing it with the lan ip adress, also gives connection refused.
From what I remember I only access HA with one url. I can confirm this by looking in the phone app, where I see https://my-dns:8123/ in the field "Home Assistant URL" and the field "Internal Connection URL" says "not set"
How can I use the HA CLI to reset all this and be allowed to log in again?
Any ideas? I'm getting desperate not being able to use some stuff. This evening I will need to open the TRM valves in the heating from the rooms, and for the look of this I won't be able.
I have automatic full backups 3 or 4 times per week. Can the backup be restore from the CLI ?
WELPPPP!!!
samba is still working
was able to retrieve the home-assistant.log
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 961, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 726, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/update/init.py", line 156, in async_install
await entity.async_install_with_progress(version, backup)
File "/usr/src/homeassistant/homeassistant/components/update/init.py", line 417, in async_install_with_progress
await self.async_install(version, backup)
File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 305, in async_install
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Error updating Home Assistant Core
2023-03-12 10:32:06.238 ERROR (MainThread) [homeassistant] Error doing job: _GatheringFuture exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.10/asyncio/tasks.py", line 605, in sleep
return await future
asyncio.exceptions.CancelledError
error updating home assistant core
I'm up and running
backups restore (slug) did the job
thank you all for the input
Hello, Ever since updating to 2023.3 my home assistant runs out of memory and crashes before finishing start up. I was running an Odroid HC2 with 2 GB ram. I made a back up and did a fresh install and restore onto a Odroid N2+ with 4 GB of ram I had laying around. The problem persists. going into the terminal and checking with TOP the memory usage is all coming from home assistant core, and not an add on. I ran the service profiler.memory, and made a heap file, but I'm not sure how to interpret it. Could someone lend me a hand?
This is a HassOS installation
What add-ons are you running?
Normally: Matter Server, Chrony, File editor, NUT, Vaultwarden, Z-wave JS UI, Mosquitto broker, Silabs multi protocol, MariaDB.
However, I tried plugging in a kb and monitor, and stopping them all them all from the cli. The problem persisted
Top shows python3 homeassistant -core using basically all of the ram before it crashes
Any custom components?
Not install related...
Yes, i've tried disabling them to no avail. It's hard to be sure they have been disabled between crashes though. Is there a sure fire way to do that?
You have to remove them from config/custom_components/
I will try renaming the directory
You'd have to rename custom_components/
I renamed it, and got a notification that those integrations could not load.
still ran out of memory.
Seemed like memory use was climbing while I was notified that zha starting. trying to disable that
Hi, I just migrated my Home Assistant from a container to a VM (and it was shockingly easy) however I'm having an issue with the Let's Encrypt add on.
I was able to successfully generate the certificate but I'm getting an ERR_SSL_PROTOCOL_ERROR error when I try to connect to my instance using https.
I updated my confguration.yaml to this:
http: ssl_certificate: /mnt/data/supervisor/addons/data/core_letsencrypt/letsencrypt/live/<MY DOMAIN HERE>/fullchain.pem ssl_key: /mnt/data/supervisor/addons/data/core_letsencrypt/letsencrypt/live/<MY DOMAIN HERE>/privkey.pem
... but got this:
Invalid config for [http]: not a file for dictionary value @ data['http']['ssl_certificate']. Got '/mnt/data/supervisor/addons/data/core_letsencrypt/letsencrypt/live/<MY DOMAIN NAME>/fullchain.pem' not a file for dictionary value @ data['http']['ssl_key']. Got '/mnt/data/supervisor/addons/data/core_letsencrypt/letsencrypt/live/<MY DOMAIN NAME>/privkey.pem'. (See /config/configuration.yaml, line 4).
disabling zha did not work. home assistant still runs out of memory
http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
That did it! Thank you so much!
is there a way to force home assistant into safemode?
my ISP started issuing IPv6 addresses around the same time. Could this have anything to do with that?
ipv6 seems to be the culprit.
I'm dual stacked with ipv6, but my total memory use is under 1.4gb
There must be something wrong with my set up then, but disabling ipv6 is the only thing that seems to have worked
IPv6 can be dodgy on HAOS
can ha os import be made to work with a supplied authorized_keys file instead of actually requiring it to be on a usb key?
@stone hill I converted your message into a file since it's above 15 lines :+1:
@stone hill recommend not installing supervised and using HAOS if that's what you want
Could well be part of the issue
Okay... one recommended it to me however straight so on the discord server of smarthome youreself...
That means I should reinstall it again ...?!
And do I then still get all my devices incorporated, such as sonoff, tuya and smartlife...?!
I have no clue what server that is
But yes, supervised is for experts in linux and docker and networking. If you don't run the requirements exactly things can and will break
HAOS is identical to supervised except you do not have to manage the underlying Operating System yourself. If you take a full backup in your current install and restore it to HAOS it should all be there (or you can do it all manually either)
๐ thank you for the quick feedback.... I'll link the answer and get back to the German language channel with it....
I'm using a HP ThinClinet t630 with 64GB M.2 SSD and 6 GB RAM...
In case of further problems, I'll be happy to come back to you...
https://www.home-assistant.io/installation/generic-x86-64/#install-home-assistant-operating-system
That will be the easiest way for you to install home assistant without having to deal with more than update buttons on that thin client
What?
I have a Synology with Docker setup along with portainer adn a Home Assistant set up. Re-installed everything to have supervisor utilities and now I am having Network issues "Network Manager, inactive or badly configured" Also, trying to set up KNX Integration and I cannot seeam to connect to the KNX server
Yes you can install HACS on HAOS
I'm attempting to transfer my docker config from one machine to the other. I've rsync'd the config dir over to the new host and fire up the docker-compose, everything seems to be fine but I cannot log in with the regular user
assume I could just reset the user following this: https://www.home-assistant.io/docs/locked_out/#to-reset-a-users-password-via-the-container-command-line
but would like to know why
Did you copy all hidden directories and anything that could be under the root user?
I think that's it, the auth file is owned by root. wonder what the command to rsync root owned files
rysnc the opposite way sorted that
Did you use the root user from the opposite site?
hey all, im thinking of signing up for Google's Advanced Protection program. Does anybody know if this will break all my HA-Google integrations (i.e. nest, nabu casa (google assistant), sheets, imap, calendar etc.) . My concern is this paragraph here:
Limit data access and sharing: Third-party apps will no longer have access to Gmail or Drive, with email only available through Gmail or Inbox clients. Due to iOS apps not supporting Security Keys, Google notes that the Apple Mail, Contacts, and Calendar apps will not work, with users being forwarded to the first-party apps on iOS. Meanwhile, Google services that require a sign-in, like Photos, will only be available through Chrome.
Thanks.. i saw it.. cheers in advance...
Can someone help me im trying to migrate from a raspberry pi 4 to a mini pc with a m.2 ssd. Im using Home Assistant OS and i want to migrate to the x86 mini pc with the same OS. What is the best way to do this, can i use a m.2 ssd adapter to transfer all the config files or do i use a fullbackup snapshot ?
Take the backup, download it, restore it to the new install
Ok, thanks.
Supervised HA can't run inside of docker. It runs docker.
Maybe you have just installed HA Container and didn't set net=host ?
Is there any performance/efficiency difference between running HA OS and using a different linux distro with HA container?
my HA Supervised installation is hanging on the Restarting NetworkManager step... getting really frustrated as I've been doing clean/fresh installs and trying to keep it neat, but attempts to fix this bug muddy up my hard drive, eh.
Bug report: https://github.com/home-assistant/supervised-installer/issues/273 solution there did not solve it for me
Is there a reason you're using supervised?
Uh, supervised is not supported when running on ubuntu
That bug report will be closed/ignored
Supervised is only tested/supported on debian
not my bug report, just echoed the same problem. I am on debian ๐
Have you re-ran the installation script? That usually fixes issues. Also, there's a thread on the forums for supervised users that covers the past ~2 years of updates
i've run it previously and it suits my needs within my array, the most prominent being my energy monitoring device, Emporia Vue, feeds neatly into Home Assistant via HACS https://github.com/magico13/ha-emporia-vue
HACS exists for all install methods
You can do that through HAOS or container install with less hassle
If you're running other programs or containers on supervised that's also not supported. It has the same limitations of HAOS
The only reason to run Supervised is if you want add-ons, have hardware without UEFI support, and have the skills required to manage Debian precisely
The only reason to run supervised is if you're doing some goofy things with the OS
Supervised is more of a HAOS but more effort
Not a HAOS with freedom
home bridge, for one. i know that HA espouses full integration with homebridge now but it doesn't work the same or as well as, mostly
even then, with the ssh + terminal addon w/ hassos, you can pretty much do what you want to the host OS
not sure what you're talking about there
homebridge works fine with or without supervised
If it's the ability to install stuff outside of add ons that's not supported on supervised
I run it on both my dev box and my production box
that's where i'm going to run into a conflict bc i intend to run home assistant, homebridge, ad guard, organizr and any other handy-looking rpi projects that may arise
Or run container install and run any container you want
Running that in Supervised and not using add-ons will lead to problems
as in, HA supervised in a container alongside the applications i mentioned also running in containers will cause the problems?
Yes
You did read the requirements for Supervised?
Spoiler... we know you either didn't, or you decided they don't matter ๐
yes and have had it running prior
it's 100% pointless to run supervised at this time because the supervisor locks everything down as if it was hassos
I'm running it at the moment, but I'll be switching to hassos this weekend when I remove frigate
i did see that, just figured it was the product of the denialism of this option that permeates through those that oversee/support HA
well that's what it is, but if you run into issues like this, you're on your own
basically, no one wants to support supervised users, they are expected to support themselves
The denialism is because supervised is identical to HAOS just you manage the OS and everything else
the issue i'm running into, tho, is not related to my unsupported set up tho โ at least, AFAIK. NetworkManager.
Keep in mind that there's many cases you can get into where HA stops, the Supervisor refuses to allow updates, or the whole systems just fails
Either switch to HAOS, or switch to Container
If the system is already broken worth just installing HAOS and trying it out
Or just doing container
Since supervised does assume you're a docker expert along with a Linux and networking expert too
i recognize my resistance to HAOS is borne of my original desire to attach a hard drive to create a NAS share, but i recently picked up a NAS so that no longer holds water.
I wouldn't choose HA given free choice but it has exclusives like the abovementioned emporia vue, plus there was some ESPhome dongles I bought to control my MRCOOL units that only had community activity for HA
i wouldn't call myself a docker expert, but i am a fan of Portainer, realize you can google anything, and nowadays I've been getting pretty on point advice from ChatGPT
Then... you shouldn't be running Supervised
Hell, I know my way around Linux admin, networking, and have not a small amount of Docker experience. I wouldn't touch Supervised with any length of pole
it does rub me the wrong way that there is so much energy dedicated to shooing people away from supervised when it seems to answer what they're seeking โ like @humble mirage I saw an earlier chat from you above to someone who asked if it was possible to run supervised in a container, and you flat out said no. not no it's not supported or etc, just straight up no. one aspect of homebridge and "hacking" (for lack of a better word) that appeals to me is relinquishing the choice and freedom to do with my tech what I please, and yeah the denialism runs against that
If you want freedom, run Container
I run supervised myself and if you want freedom you should run container
The reason we put so much energy into "shooing" people away from supervised is because it's a brittle clusterfuck
there are no benefits to running supervised at all anymore
beginners come in here with the idea of running supervised because they read a 4 year old blog
they should be shooed away from supervised as it's not for beginners
every day we get people in here who should not be running supervised
I've seen plenty of people with broken installs, because they didn't follow the requirements, because they ran some other software, because they did follow the requirements but didn't keep up to date, and more
I wish the devs would kill it off properly
It's still 6% of installs
You also can't run supervised in a container. It is a container itself, which runs alongside HA, and the add ons
Its not so much choice as much you're asking to get lemon juice from an orange
when i've had supervised running in docker/portainer, it spreads out over about six or seven containers
Yeah, and:
- The Supervisor is a Docker manager, which runs a bunch of containers
- Portainer + Supervisor == boom
You are welcome to use supervised. But we're recommending not to use it because you will have pain
that's fair and i appreciate your responses/energy, don't get me wrong
it's just sometimes hard to see the equivalent options that are lauded instead
HAOS is supervised. Supervised has same restrictions as HAOS except more ability to break your install
Container is the most flexible (and why I went with it)
so looking at install options (i took a screen shot but this chat doesn't seem to allow images) 'container' unequviocally says no supervisor, no add ons. like i mentioned, i use HA to read the energy consumption from my Emporia Vue. that calls for HACS, which is an add on... right?
the question is not so much the categorization of HACS, moreso how i can run this
HACS is an integration (ish)
add-ons are other software
The thing you linked is a custom component (aka integration), it will work with any install method
The simplest way to install this integration
Also, add-ons are just pieces of software you can install manually
so the options on HACS are what people suggest are generally available to run as their own containers, separate to HA โย yes Tediore, that's what I'm asking
๐
#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.
HACS's FAQ even says no add-ons here
Hello, I have updated my HA (installed on a raspberry pi) to 2023.3.3 and since then I cannot access the GUI (port 8123). Connecting to cli everything works fine, core check is not showing any issue and the docker containers are running. Today I have upgraded to 2023.03.04 and I cannot access the web. Also restored from the latest backup, no change. I tried: curl -o - https://version.home-assistant.io/update-supervisor.txt | sh and no change on the supervisor, logs on the supervisor are fine as well. Can anyone help me to troubleshoot the issue? ๐
@tall flame i think I exhausted them when it comes to supervised install on docker earlier lol scroll up... if anyone with authority/knowledge was here they would ask why you think you need supervisor
I'm having an issue with updating my HA
#general-archived message
I'm getting
homeassistant.exceptions.HomeAssistantError: Error updating Home Assistant Operating System: 'OSManager.update' blocked from execution, system is not running - CoreState.STARTUP
I've tried a few things but nothing seems to resolve it
I have managed to bring it back. Strange that on the core the port 8123 was open on netstat. I have changed to dev, performed core update, changed back to stable, performed core update, reboot and now I'm able to log in with 2023.03.04. Very strange.
@tall flame fwiw when i was attempting the same, i would watch the cli and NetworkManager always hung the install. think the cause is due to connection over wifi, if that's relevant โ just spitballing my experience, not a solution
No issue with the networking, ping was constant, no request timed out.
The port 8123 was also open, but I've got connection reset
You missed the point, HAOS has the Supervisor, HAOS is fine
Supervised is not fine
These things are different
oh i didn't see it was HA OS my bad, just saw the docker mention and made a leap
i'm gonna show myself out now anyways, cheers for all your help everyone
hello everyone, i have a problem with the supervisor( error says hassio) , the supervisor doesn't want to start anymore. the addons are still running somehow in the background, but everything is a bit buggy. is there any way to fix this?
#add-ons-archived for add-ons
I have installed hassio on a raspberry pi, the installation is on an ssd in an enclosure, this instance has been running for over 6 months until the latest update. I reinstalled everything, and it worked until I got the latest update again. I just put the ssd on a powered hub and have the same issue. I have some journal files if they would be useful as well. The boot routine is stuck in a loop and hassio never starts.
you mean hassos? hassio is long gone at this point
I never tried this but I'm curious as to why that would be. Portainer should be kinda passive
because supervisor looks for it and blocks the update
I do not know if you mean me, but i think i was just able to fix it somehow i triggered an update of core in the cli, now i have the supervisor back in the GUI, which now makes me wonder if this is happening again or this was just a one time error
I was replying to watts
Ah. So it's supervisor that blocks updates ๐
Yep, canโt have average Joe mucking with the containers
Average Joe doesn't touch the containers. Supervisor is just being a bitch.
I had updated supervisor, so they put out an update that is then blocked, brilliant!
how would I revert supervisor after I already made the update?
I wasnโt talking to you with that reply.
That reply was for impact
all right all I have are journal files, who can look at them to tell me what is happening? I think my issue started at 3pm CST 3/10
Still need to know what install method youโre using
Raspberry Pi Imager
You said hassio, which hasnโt existed for ~3 years
Hi someone help me how change size of Proxmox Disk for HA VM?
Depends on what you're restoring to - SD card, SSD, etc
On the hardware tab select the disk and at the top click Disk Action > Resize
thank you, or how split disk to one?, i have 2 storages, local and local-pvm to one?
Don't do that. They are used for different things. You should research learn why there's two
automatically made two
That's intentional
whats the difference local and local-pvm?
thx
Can anyone help me here, I receive that message when trying to install my first add-on:
Canโt install homeassistant/aarch64-addon-duckdns:1.15.0: 500 Server Error for http+docker://localhost/v1.41/images/create?tag=1.15.0&fromImage=homeassistant%2Faarch64-addon-duckdns&platform=linux%2Farm64: Internal Server Error (โGet โhttps://registry-1.docker.io/v2/โ: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)โ)
If anyone feel helpful, here is the link to the thread where I provide more details:
https://community.home-assistant.io/t/problem-with-dns-configuration/547783/4
Hi! Maybe this is the right channel? Any thoughts? #hardware-archived message
Maybe you can connect a monitor
That was my train of thought too, got a cable and it seems to be a boot loop, but I can't find any errors or anything else useful on the screen: https://discordapp.com/channels/330944238910963714/672223433907765288/1085281695953076245
im trying to use etcher to put homeassitant os onto a micro sd card so i can use it to run on my raspberry pi 3 but every tie i try to do it it throws out the error and says flash failed.
gui.js:37 Error: Error invoking remote method 'disable-screensaver': No handler registered for 'disable-screensaver
and when checking the disk management to see whats happend to the drive it says that the sd card has 29gb unallocated and only 32mb fat hassos-boot. Any help here?
Try something else: https://alternativeto.net/software/etcher/
Kinda hard to read
tried RasPi Imager? It has HA OS for RPi4 and RPI3 built in
ill try it
Choose OS > Other specific-purpose OS > Home Assistants > Home Assistant
im getting
Verifying write failed. conetent of sd card is different from what was written to it
Failing SD card?
bought it yesterday?
Doesn't mean it's not failing already
yeah but it would be wierd
well not being able to write to a card is also weird as it formats & writes the data
if that's failing, it's the card or anything between the card and the pc
right
if you don't care about the data on it, sure
then try a different card
hell you can just try to format the card in windows or whatever OS you're using
if you can't format the card, then you can't write to it
I downloaded the video and went over it frame-by-frame, but to no avail. I can't figure out why the boot loop occurs :/
i can format it using windows ive even been in disk management to fully format with fat32 but that still does not work
Well, it's probably not utter shite, but ...
should work or?
You really want an endurance type card, for a long write life
That's just fast, which isn't really helpful
WD Purple or Samsung Endurance are better choices
not permanent
just so i can setup home assistant and modify it this sd card will then be used in my 3d printer should be good for setting up home assistant though?
Should, yes
if it doesnt work ill just get a refund get a mich better one
ty for the help though weird issue to have after just buying it
I suspect your problem is the adapter, or its connection to your computer
Not sure the right channel, but I'm trying to have apache reverse proxy to HASS since apache is what's currently exposed to the network. It's on a different system. When I navigate to the URL it opens the page for a different virtual host
@stone vault I converted your message into a file since it's above 15 lines :+1:
tried it with a old 4gb sd card obviosoult not big enought to do anything and worked so
ill wait to get the new one and try it
hi team - would love some HA help.
I'm using a VM with the official image.
I've got 2 VLANs on my network, so have tried (and failed) to configure HA to use them.
VLAN 1 is for general traffic, and is on the .0.0/24 network, and the homeassistant GUI is visible at 0.100. HA has ENP0S19 on this interface via DHCP.
VLAN 30 is for the IOT network, and is on the .30.0/24 network, along with IOT devices. HA has ENP0S18 on this interface via DHCP.
I have 3x Tasmota switches which I'm trying to configure via MQTT, and which cannot detect the broker since moving into the VLAN configuration (from just everything being together). They were working fine before.
I think that I've troubleshot the issue down to DNS - from the HA CLI I can ping 192.168.0.42 (the Proxmox server the HA VM is on), and 192.168.0.2 (the OpnSense router that provides DHCP and DNS) and also the Tasmota device on 192.168.30.100 and the 192.168.30.1 OpnSense interface. However, I cannot ping www.bbc.co.uk.
I'm pretty sure I've set up the Switches and the HA side of the MQTT things correctly - and they were working before - but viewing the console for the switches is currently giving 'cannot connect -rc 2' - which appears to be a network error.
Would love any insight!
hi everyone, I'm moving from HAOS in a VM to a Docker-Core installation, and I'm having some trouble with the Caddy Reverse Proxy configuration...
locally everything works (localhost:8123), but when I try to call it via caddy I get a "connect: connection refused" error log in caddy container
I've already tried configuring the use_x_forwarded_for + trusted_proxies (even if I'm not really sure I put the correct IP's there)
Did you check HA's log file?
yes, I'm not seeing anything useful ๐ฆ
my logger config is, currently:
logger:
default: info
logs:
homeassistant.components.network.network: debug
Well, if there's nothing there about the proxy then your config is correct
Or you're never hitting HA
that's what I'm afraid of, but I don't know how to debug that on Caddy side
the error I get on Caddy container is this
{"level":"error","ts":1678908840.9607646,"logger":"http.log.error","msg":"dial tcp 127.0.0.1:8123: connect: connection refused","request":{"remote_ip":"172.19.0.1","remote_port":"40072","proto":"HTTP/2.0","method":"GET","host":"home.vargash.duckdns.org","uri":"/","headers":{"Accept-Encoding":["gzip, deflate, br"],"Sec-Ch-Ua-Mobile":["?0"],"Upgrade-Insecure-Requests":["1"],"Sec-Fetch-Dest":["document"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Sec-Fetch-Site":["cross-site"],"Sec-Fetch-Mode":["navigate"],"Sec-Fetch-User":["?1"],"Cache-Control":["max-age=0"],"Sec-Ch-Ua":["\"Google Chrome\";v=\"111\", \"Not(A:Brand\";v=\"8\", \"Chromium\";v=\"111\""],"Sec-Ch-Ua-Platform":["\"Windows\""],"Accept-Language":["it-IT,it;q=0.9"]},"tls":{"resumed":true,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"home.vargash.duckdns.org"}},"duration":0.003407616,"status":502,"err_id":"sxvda05t2","err_trace":"reverseproxy.statusError (reverseproxy.go:1299)"}
connect: connection refused
I tought that was HA refusing the connection
Well, if you're running in Docker using localhost is likely the problem
127.0.0.1 inside the container isn't the same as on the host
... well, that is an extremely good point
aaaand that is the answer, i replaced it with ha container's name and there it goes๐คฆโโ๏ธ
Reposting this once more before I format and reinstall
Tried grabbing supervisor logs
Hi all, i have had issues with my HA instance randomly restarting unprompted on a Home Assistant Yellow since being forced into a complete wipe and reinstall last week. Other than re-using a backup of my ZHA, it is a completely fresh install with a reinstall of all integrations and addons. I am running Home Assistant 2023.3.4). Any help on troubleshooting this would be appreciated
Is it just the HA container or the whole Pi that's restarting?
I believe that is just the container - it doens't look to be hardware related
Then there's a previous log that may explain what happened
Possibly home-assistant.log.fault
There is nothing showing in that log, at all :/
is there a way to change the hostname via sd-card or USB Config before / on first boot ? hassos on rpi3
Resolved! It was a power issue. Although I had quite a powerful adapter (or so I thought), it wasn't enough when booting from an SSD (hence the success with an SD card but failure with an SSD). So the boot loop restarted when it got more power-hungry. Also, it seems that more power was required to expand the FS on first boot after first flashing the image on the SSD. Whether it was expanding the FS or something else, the filesystem got corrupted after the first boot when it lost power, and all subsequent boots also failed even with a proper power supply.
Hi can anyone help out? just got my SkyConnect and I'm having a really hard time connecting it to my HA. My HA is running in hyper-v and I just can't find a way to pass the USB through
I'm trying to restore a backup that weighs 726MB. Uploading it via a browser doesn't work as I get the 400 Bad Request error. I've uploaded the backup file through SMB to /share and via Terminal moved it to /backup, but I can't get it to show up in the Backups window. There's probably a really obvious solution that I'm missing
ISTR that Hyper-V has no support for USB passthrough
Addons und kein Supervisor nach Core 2023.3.4 Update
I've already updated my raspberry pi 3B+ to boot from usb. Boots up with rasbian, but not on home assistant. What am i missing?
I believe this is supposed to work: https://github.com/dorssel/usbipd-win
Microsoft recommends it for WSL at least: https://learn.microsoft.com/en-us/windows/wsl/connect-usb
@echo solar See if above works for you
Not following....sorry. I load the Rasbian OS using raspberry pi imager and no issue. I'm wondering if my HA version is 64 bit and thats the problem.
I installed the 32 bit version of rasbian on ssd
You aren't following because I was talking to someone else about something else. Hence the reply and @. I'd suggest you connect a monitor and see what happens during boot.
It's a bit unclear what you are trying to do or what you did. If you want to install HAOS you should follow the docs: https://www.home-assistant.io/installation/raspberrypi
I did, thank you...but it wouldn't boot up from my ssd.
I'd suggest connecting a monitor then to see why
I did. I will check the config file
What is displayed?
upon connecting it to my laptop, all fields are commented out #.
Huh? I meant what is displayed on the display/monitor
oh....way to much to explain here, but it starts with no ethernet found, then starting USB, 4 devices found...
missing environment variable pxeuuid
phy_startup failed
with timeout
You ... could take a picture and post it to an image sharing site?
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.
As I said image sharing site
Thank you
Hey man this seems interesting! I've been looking for a solution all day now. I'm trying to check it out, I've shared my SkyConnect, but how can I claim the device from within HA?
I tried to connect via SSH but (as per the instructions) the command usbip isn't available
posted under imgur under pringster
Is that sufficient Tinkerer?
I could connect directly to available router ethernet port
I didn't think of HAOS. Not sure how/if usbip can be installed there
How is it connected to the network currently?
direct connect to ssd with connection to monitor
to the network
unable to connect to network unless plugged directly from router, which I've just done. Will check via url
Connect it via ethernet cable, reboot and show us the monitor's output again
Too far away....not sure if I have a long enough cable...checking
Seems like you can just install linux-tools-usbip in the SSH addon
https://github.com/hassio-addons/addon-ssh/blob/main/ssh/DOCS.md#option-packages
https://pkgs.alpinelinux.org/packages?name=*usbip*
If it crashes your PC that's useless, of course. Maybe you can use another another supervisor that supports passthough instead?
I mean you never told HAOS your WiFi credentials. How else would it connect to the network?
It's also documented in my link: https://www.home-assistant.io/installation/raspberrypi#start-up-your-raspberry-pi
Understood....now connected directly to ethernet, so will wait a few.
Have to step away for a while. Thanks for your help Impact.....I'll respond when I return.
I know this is a common problem but I can't seem to find anything that leads me to a solution. I'm trying to install Home Assistant on a Raspberry Pi 3. I flashed the card and installed it, plugged in the ethernet cable, and then the power. After a few minutes, X.X.X.X:8123 responds in a browser and I get a message "Preparing Home Assistant." I waited the recommended 20 minutes several times over, but it never finished. Clicking on the pulsating blue circle gave me a log, which shows repeated messages about being unable to find github.com. I copied the git command to my workstation, connected to the same router, and it worked instantly. I tried giving my router explicit IPs for DNS servers, but the result is the same. I tried ssh'ing to the RP3, but it was refused. I tried reflashing the SD card. Nothing works. Any suggestions will be appreciated.
Can you share those logs?
I'm not sure how to do that. I tried dragging and dropping the file into this session, but it doesn't work on Fedora linux, I guess.
Some channels on this server are configured to not permit uploading files/images directly. Use a paste site and share the link to it
23-03-15 23:35:07 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/home-assistant/addons repository: Cmd('git') failed due to: exit code(128)
cmdline: git clone -v --recursive --depth=1 --shallow-submodules https://github.com/home-assistant/addons /data/addons/core
stderr: 'Cloning into '/data/addons/core'...
fatal: unable to access 'https://github.com/home-assistant/addons/': Could not resolve host: github.com
'.
23-03-15 23:35:07 ERROR (MainThread) [supervisor.store] Can't retrieve data from core due to
23-03-15 23:35:07 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_REMOVE - ContextType.STORE / core
23-03-15 23:35:07 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.FATAL_ERROR - ContextType.STORE / core
23-03-15 23:35:07 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/hassio-addons/repository repository: Cmd('git') failed due to: exit code(128)
cmdline: git clone -v --recursive --depth=1 --shallow-submodules https://github.com/hassio-addons/repository /data/addons/git/a0d7b954
stderr: 'Cloning into '/data/addons/git/a0d7b954'...
fatal: unable to access 'https://github.com/hassio-addons/repository/': Could not resolve host: github.com
'...
Here's a link with much more on google drive. Thanks!
https://drive.google.com/file/d/1gwZLLG9R2yp6JkVKIffw8Q0qTT2A_td2/view?usp=share_link
The above is the image after connecting
Hello, I am having issues trying to pair homekit to my phone. I am using home assistant docker version. I can't pair homekit devices unless I use host network and I can't reverse proxt with nginx proxy manager when it is in host mode. Any kind of help is appreciated.
@glass sage I converted your message into a file since it's above 15 lines :+1:
you need host mode. that is a requirement, modify nginx proxy manager to work around this, not ha
https://www.home-assistant.io/integrations/homekit/#docker-network-isolation
I have found this. But I am kinda new to home assistant and my config.yaml look different than examples here. All devices are in /config/.storage/core.config_entries. I am kinda lost.
installation docs:
https://www.home-assistant.io/installation/alternative/#docker-compose
don't touch stuff in .storage
Too late I think I messed it all up ๐ฆ
@fallen lichen seems that the bot isn't including mentions so I'll just tag you manually.
You've got a number of issues in the HA log that suggest a minimum of a DNS issue as there as hostnames that can't be resolved
The sensors that timed out work fine. It's due to instability from my ISP and lots of noise in the wifi spectrum for the sonos. CoreState.STARTUP seems to be the error.
and ha core info returns
โ / ha core info
arch: aarch64
audio_input: null
audio_output: null
boot: true
image: ghcr.io/home-assistant/raspberrypi4-64-homeassistant
ip_address: 172.30.32.1
machine: raspberrypi4-64
port: 8123
ssl: false
update_available: true
version: 2022.11.2
version_latest: 2023.3.4
watchdog: true
In https://pastebin.com/3wRgyPSG, when was HA Core restarted
there's multiple days in there
and the supervisor is waiting on core to start
I restarted the PI 3 days ago to try and resolve the error. so it's been running for 3 days?
before that restart it had been running for a few months.
I'd try starting it again and take a look at your core logs
something is causing it to not "finish" start up
@glass sage I converted your message into a file since it's above 15 lines :+1:
How about supervisor logs now
Not loaded so no logs
supervisor isn't loading so addones aren't loading anymore so don't have terminal access
hookup a monitor/keyboard
version is 2022.11.0
You make it sound like this is something you've seen before.
I thought it may have only been in the beta, but it may have been in the release version too where there's a supervisor update issue
that will get it to 2022.11.2
Awesome, seems to be in a healthy state now and upgrades seems to be working. ty for the help.
nice, you bet
I'm about to throw my keyboard across the room and give up on running my more ancient supervisor-installer.sh shared Debian server install.
Is the recommended method of hosting HA these days running supervisor on a dedicated intel machine?
Actually no, I need to deal with this install where it is. I absolutely don't want to go across my home and reconfiguring everything to talk to an MQTT server on a different IP address, that sounds like more of a hell.
why change ip? container can do all you want and is the recommended for your customized needs by everyone here
supervised is the least favorite
My ha core seems to have frozen up last night. I'm having trouble finding out why. When I came across it this morning I saw it had attempted to be shut down but failed. I tried stopping the container myself, but docker reported an error with this. Supervisor first reported this error in relation to it:
[supervisor.homeassistant.api] Error on call https://<ip>:8123/api/config
and a few minutes later:
[supervisor.misc.tasks] Watchdog found a problem with Home Assistant API!
It eventually tried to restart with this result:
[supervisor.docker.interface] Can't restart ghcr.io/home-assistant/qemux86-64-homeassistat: 500 Server Error for http+docker://localhost/v1.41/containers/1fef8d6273e7d144260c7363c7a215d7962aab69e4678eecc3bd9f48228405d9/restart?t=240: Internal Server Error ("Cannot restart container 1fef8d6273e7d144260c7363c7a215d7962aab69e4678eecc3bd9f48228405d9: tried to kill container, but did not receive an exit event")
Which is what I also saw when I tried to stop it. The watchdog "reanimation" then continued to fail for the remainder of the night. I ended up having to reboot the host in the morning.
Any idea what could be the problem or especially why the container would fail to stop?
Tried tinkering. Giving up before starting. The default ip for the rasp pi is no good, no hdmi support, potentially 3b is not supported though walkthroughs I could have sworn did. I tech savvy more than most though suspect most here operate at a higher level. If I can't connect through a default ip, ping my pi, use sharkwire, etc... to find it. I have to wonder how small the Home Assistant community will stay if just trying to get toes wet involves pissing away a few hours with nothing to show for it. The support for 3b dead? No hdmi. Any resource that I can't find that would be useful would be great. But at this point Ive done complicated. If it's not straightforward I'll do without. This is not an indication of software that functions well without babysitting...
3B is supported fine
You do have to ensure you use the 3B image, and not the default 4 image...
Thanks tinkerer! I did not see any information regarding that. Ill dig for it now.
Well there it is. The text did not immediately appear as links but as a title for 3 & 4.... That's nuts. Thanks again for pointing out there are two separate flashes. I was losing my sanity trying everything under the sun.
Iโm trying to move from a pi3 to a nuc5cpyh. Currently working to get the nuc set up properly. It already had Ubuntu on it. I am following a video that is showing me how to create a partition on the hard drive but their instructions donโt match what Iโm seeing. Looking for assistance on how to set up the partition
In fact, they are acting like I need to delete the current partition. But a) isnโt that what Ubuntu is installed on? b) it doesnโt let me and says โerror unmounting ____ target is busyโ
Any ideas what I should do to solve this?
No. Sorry. Well, I have a few ideas to troubleshoot but there's probably someone more familiar with HAOS and that error which saves both our time
I think I figured this out. Iโm rebooting using Ubuntu on a usb to then repartition the nuc
Thanks anyways. I tried posting on the forum and just got crickets.
I'm just going to give up on Home Assistant. I have 20 years of running my own Fedora machines at home. I used heyu for about a decade, and recently switched to openhab. Openhab isn't that reliable, but it was a breeze to install and configure on a RP. This evening I looked into installing HA on my linux desktop and stopped when a rabbit hole of network bridging opened before me. This is the polar opposite of "it just works."
if you are familiar with linux, have you tried the docker option. It really - just works ๐ https://www.home-assistant.io/installation/linux#docker-compose
I use Fedora, so I tried virtual machine manager. There was no network connectivity. Apparently (according to the HA instructions), I have to set up a network bridge. The documentation for that is obviously geared to experts.
you said you have RPI. install docker there and use it. That frees up the RPI for other things as well. if the HAOS is somehow not working
So install the usual RP OS on the RP3, then run docker there?
yep - use the docker compose option
Ok, thanks, I'll look into that.
if you are facing problem, atleast you can do docker logs <container_name> and check out what is the issue. If you are using Reverse proxy to access, be sure to have the trusted proxy in config https://www.home-assistant.io/integrations/http/#reverse-proxies
i cant login and when i try to reset my password i get unknow error please see supervisor when i look at the logs it says user not registed what do i do did i just nuke my install
and i dont think i had a back up
i am runnign the vmware ova
have you followed this? https://www.home-assistant.io/docs/locked_out/
i dont have access to the bash shell becuase it is a supervised install
it is not on top of linux
as far as i am aware
I dunno too much of supervised install. You might want to wait for others to respond, since it's not a preferred method of install anymore, you might have to wait a bit longer. Doesn't vmware give to direct access to the OS or file. if yes, take back of config and setup a new install, if you prefer that way. You just need to delete the .storage folder from within. Your config will still be there but not the state and other info
if so i would not know how to access all i need is a way to copy of my config files and i will happily reset but i dont know how i would get to the bash shell
becuase i am not sure how the supervised insatll works
The vmware should give you access to the storage. thatsall you need to copy the files from there. it generally should be /config directory or search for configuration.yaml
how do i get to the bash shell though
You actually need a shell to install the supervised way so that's kinda weird
it boots the the ha os command line i get ha>
that is all i get i have no idea how to get out of that
Sounds more like HAOS. You can type login there
okay i got a bash shell
It's ash but it doesn't really matter. You don't need the shell. You can just type the auth reset stuff in the ha > prompt. Otherwise prefix the command with ha like ha auth reset
that wont let me i get unknown error
see supervisor
that is wat i do if i run ha reset
Got a screenshot or something?
That does not look good. The syntax is correct. What does supervisor logs say?
You might be able to restore the backup it created via the backups command
how do i check that
good news apperently there is soem backups made
how do i restore one?
Type backups then backups restore slugnamehere I think
Make sure you snapshot your VM before that. This is kinda the wrong channel, btw
shit i think i ran into bad luck it say backup does not exist even though it shows a whole list of backups
Can you show the list and the command you used?
That's not the slug name I referred to. Use 0311c7d8 and so on. If you type backups restore it shows you some examples
That was pretty easy. I already added my first integration, to my home weather station. Thanks again!
Check supervisor logs again but I'm afraid it might be easier to extract your data and re-install.
The important data is in /mnt/data/supervisor/homeassistant, btw
the error says partail backup
Kinda seems like there's more broken than just the user access though
Supervisor does require quite a bit of heckling when issue come. Even if you do get it running, take the config backup and either go HA OS or docker way.
They are already using HAOS afaik
well i am going to enable samba and offload the configs
Ah i see. Then a new install. And first thing is to setup backup of files routinely
yeah i agree is there away to set up home assistant to grab its config from a network share?
im backing up my configs right now
I use dockers. So i just have another docker container - duplicati to grab the files and back them up. I am sure there would be some add-ons in HA which does the same
hmmm
i will have ot look into it
thank you guys for the help and suggessstions
i learned bit about docker
ahahahahahh
if i have a backup on my raspberry pi, and i want to move it to a VM on my NAS.....will it remember all the google assistant setup and all the crap i did? or do i have to set that up all over again? (i would be giving it the same IP as the raspberry pi had)
Hi I am instaling ha on windows 10 (I am installing it on PIPO10 which has really terrible Linux support). First I forgot to install python-dev and hass have trouble starting up. I figure up the mistake, install it, reboot computer and now hass starts corretly with no error messages in ubuntu terminal and no notification. But I see hass web page only in localhost:8123 and not in 192.168.0.143:8123 which is ip addres of that computer. Do you have any idea what I can try to fix this?
Yes, the backup will back up all of your integrations
How did you install this?
using this tutorial https://www.home-assistant.io/installation/windows/#install-home-assistant-core
Not too familiar w/ that, but you may want to take a look at this: https://github.com/microsoft/WSL/issues/4150#issuecomment-504209723
Hi! I want to migrate my H.A. raspberry installation to a H.A.installation on my home server (Ubuntu 22.04) I have a question about the options. What is the most best choice (without the loss of the least H.A. features) a Docker container installtion or running a Virtual machine like virtual box? I know my way arround those systems, so the only thing i want to know is what features do i gave up if i chose for docker or VM. Thanks in advance!
If you're already using Docker and familiar with it, I'd go that route. The only thing you "lose" are add-ons, but that's basically just an easier way to spin up new Docker containers
Check. I dont use many addon;s only Grafana, MQTT and ZwaveJS. I am not worried about the first two, but (ZwaveJS or Z-Wave JS UI) is available as a container?
Awesome! Thanks.
yep np
Just set up a new installation on an intel nuc last night. Went to bed after booting โwaiting for home assistant cli to be readyโ came up on the screen. 8hrs later it still says that. How long does that usually take?
not 8 hours, check your log
I can do that?
Try alt+F3
No response
I can type under the cli message, so itโs not completely locked up. But alt+F3 doesnโt do anything
Try Ctrl+Alt+F3
This seems related but doesn't have much in resolution or workarounds: https://github.com/home-assistant/operating-system/issues/2272
May want to try a restart and see if any steps report as FAILED
Does HA need internet at all during initial setup? Because Iโm not hooked into my network yet
Ok, it was hooked up to Wi-Fi during the initial setup all the way until it got to the cli page.
(The nuc was hooked up to my phone hot spot). I ran Ubuntu on a bootable usb to partition and install etcher and then pull haos down via etcher.
That all seemed to run smoothly and the I rebooted the nuc and watched it run through haos boot until the cli page came up.
At that point I grabbed my phone and left to go to bed
Pretty sure your network settings would be lost right when you rebooted
Ahhh. So I need to hook into Ethernet and reboot?
yeah, for sure
It's really not a great idea to plan on using HA over WiFi though.... after you get booted in, you could
But if at all possible, you really should wire it in
I plan to hard wire. I was lazy and running this in the living room last night by the fireplace ๐
Iโll power down and move it to my Ethernet switch later this morning.
Thanks!
One more thing, just power down and back up? Or anything else I should do on initial power up ?
You can try a power down/power up, I'd think that'd be enough to get rolling again
Worst case, do what you did before
Just no WiFi
Hello, i've installed Home Assistant on my Odroid N2+ and everything was fine till yesterday that started an update for Supervisor and didnt start anymore. It was giving me error that it was not able to download the new update or something like that. After some time the whole website stopped -> homeasssitant.local:8123. Now when i connected a monitor to my Odroid i have seen that it tried to reboot but there was error about bad block bitmap checksum. Can anyone help me please.
What kind of storage do you have? Kind of sounds like data corruption
I use 32 GB SD card. I also have 64 GB Flash Drive on the Odroid but i'm not sure that it can use it.
Those types of flash storage aren't great for running HA due to the continuous writes. There's a fair chance your SD card is dead, especially if it isn't an endurance one
Well the SD card it's pretty fine i connected it to my laptop via card reader and works fine.
I can try to format the SD card and install again HS, because i'm just at beginning to implement everything. But what do you suggest me to do better? Do i need to get eMMC, because my Odroid have slot for it.
eMMC is definitely preferred over an SD. If it is an actual corruption issue w/ your SD, you'll likely be exactly where you're at now very shortly. At a minimum, I'd switch to a high endurance SD card from a decent manufacturer
brand new here... hello
I'm trying to install HACS by watching this video but I do not see ADDONS on the settings option to install the terminal & ssh
Im trying to install Wyze in HA without having to flash the cameras tahts why
Hi I'm trying to start HA on my Ubuntu server that does not have bluetooth. I set bluetooth:false in the config but when I try starting it, I get Setup of bluetooth is taking over 10 seconds any ideas?
I'm not sure where you got bluetooth:false from
ChatGPT lol
Hi, all, is anyone here knowledgeable about networks and routers by any chance and would be willing to help me figure out port forwarding? I'm not sure if my router's just limited or if I have issues with my HASS install.
https://community.home-assistant.io/t/remote-access-for-home-assistant/206072 covers the basics, but if you explain your problem somebody can help
Thanks, I'll go over it. In the meantime here's the full description of my issue:
@thick pasture I converted your message into a file since it's above 15 lines :+1:
The video is for the IP range they're using... you're using a different range... that's fine
Smart Home Everything clearly doesn't realise that there's more than one subnet you can use at home
I assume your router uses 192.168.0.x?
Okay, I wasn't aware of the term subnet, thanks for that.
No, it's 192.168.x.1.
No worries, I'll try to be aware of that and not ping you each message.
Then you need to work out what DHCP server is allocating 192.168.0.x for HA
You don't have two routers?
I think this is it! I do indeed have 2 routers - I didn't know it was connected to the other one (compared to the one I'm trying to configure port forwarding on), and I just checked and it indeed is!
Or just don't "reply" to a message directly above yours
Woah... that's advanced thinking
Yeah, I'm just used to it from bigger servers and do it without thinking.
I think this is probably it, so I'll take a break from debugging this and continue this later, so don't feel pressured to reply now. Thanks again for that question, haha. I hope this is it. I'll ask about this again later if I keep having issues.
Hi all!
Today i replaced the ISP router with one of my own.. all works fine, but strange thing is: i can not connect to my Home Assistant external URL (DuckDNS) from my LAN (WiFi) anymore.
Local IP works fine, external URL from anything but my home network works fine too..
Any ideas?
Your new router doesn't support NAT Reflection, or it's not turned on
If you've got a local DNS server you can have it return the LAN IP instead of the WAN IP for your hostname
Well the thing is, that the ha server is on a different vlan than my phone is. So i would like to be able to use the external URL
Then ... you need to replace the router
I just got over a strange problem. Flashed SD card with ... 9.5 version. Didn't boot in my raspberry 3 b. Then I flashed with ... 8.2 version, and it booted. Is there something wrong or did they stop support for 3b?
Which file did you use? What does it show when you attach a monitor?
didn't even show the colourful boot screen.
tried 2 separate sd cards.
in fact there was a black screen with the 9.5 image.
What's the file name you used for 9.5?
Did you actually use the pi 3b image or the pi 4 image
Okay I was having the same issues, and noticed there were FS partitions being expanded as well according to my journal files. As far as I can tell this power hungry boot has started happening after updating the supervisor to the latest. I can try doing a reinstall like you did then have the ssd on a powered adapter. Just odd that my instance was working for 6+ months with out an issue like this until the latest supervisor update.
What's the best way to run HA these days on x86? I've got a very old HA system that I haven't updated since 2020 iirc. It still works great daily, but I'm thinking it's time to get caught back up and starting over clean. I'm currently running via docker, but am open to other methods if there is a "better" way these days.
Check #hardware-archived. This is discussed almost daily there. Using the docker image (Container installation method) is a good, and imo, the most flexible choice
Would i be able to solve this with NGINX?
Thanks. That's it. Didn't realize there are two images. Followed That and didn't see that there is another image. https://www.home-assistant.io/installation/raspberrypi/
What surprises me most is that I didn't even see a splash screen on RPI3B when booting the RPI4 Image. I would expect something in the hdmi output.
Not with NGINX alone, no
Iโve been struggling to instal HAOS on an intel nuc. It gets stuck on โwaiting for home assistant CLI to startโ. I captured this picture during boot up. Does this give anyone any ideas on what failed and if I should change anything when I start over and try another install? https://imgur.com/a/BdFpvuc
Oh man. One of those "driving me nuts" issues: HACS is installed, I add a custom component, but no trace of it turns up in the custom_components directory nor the /config/www/community directory nor at the "/hacsfiles/" URL, which returns 404 for all the resources claimed to be installed.
Adding a custom component won't cause anything to show up in the last two locations, only config/custom_components
does the /hacsfiles/ symlink point to /config/custom_components/hacs/ then?
No
It's for custom cards and points to /config/www/community
Has nothing to do with custom components
Gotcha. Thanks. But cards aren't showing up there either. In fact, that directory didn't exist until I made it, but despite two added cards showing when I Edit Dashboard > Manage Resources I don't see them in that directory nor at the link listed -- which gives 404
It's hiest endurance SD card from Sandisk. Thats why i'm wondering what is going on.
how can I run home assistant on a Mac with hardware acceleration
I need hardware acceleration because I'm useing motioneye and bringing live rtsp feeds into home assistant
Motioneye does not do hw acceleration
Except decoding but that shouldnโt be a problem with modern cpus
I will be getting av new Synology NAS capable of running HA through Docker or Synology Virtual Machine. Which one to prefere? Docker or VM. Whatยดs the pros and cons?
When you put rtsp feeds in home assistant does it use gpu
it depends on what ha does with these streams ?
put debian in a vm and use docker in that, you will want to install other docker containers there also. this way you learn docker the right way first time
so docker on Synology would be different?
I believe I can install as many docker containers I want on the docker app in Synology?
docker on synology has drawbacks
we just view those streams in home assistant dashboards for monitoring purposes
checkout https://frigate.video/ as well
Take three on attempting to install HAOS on a nuc and I feel like I'm further away than before. Currently running my nuc via USB ubuntu. Trying to clear the 120 GB hard drive and create a new partition. When I try to create a partition with the full 120 GB, it creates a 6.4 GB partition instead and shows 114 GB left free. If I try to resize to anything larger than 6.4 I get an error: Erro resizing partition /dev/sda 1: Failed to set partition size on device '/dev/sda' (unable to satisfy all constraints on the partition.) (undisks-error-quark, 0).
Using sudo fdisk, it appears that there is still a list of all my prior HAOS partitions still on the disk, even though they no longer show up in the partitions list when using gnome-discs command
Try gparted. The free space should be resized by HAOS automatically
hello, anybody here knows how to reverse proxy to home assistant docker with nginx proxy manager?
My problem is Homekit does not pair with my phone in bridge network and I can't reverse proxy if I use host network but pairing works
You need host mode
Thats a requirement
Change nginx proxy manager, not ha
It gives you instructions how to do that in their docs
I already told you last time #installation-archived message
Can I get some help in installing HA?
Trying to install it into a VM running docker, trying to get supersized HA.
I tried this
https://pastebin.com/3svepwLh
And also this
https://pastebin.com/0RSwZMcL
Supervised is only for experts, stick to a container install or use haos
Hello. I had to re-install my HAOS installation (VirtualBox image). Earlier, my local network DNS worked fine, i.e. I was able to access e.g. ESPHome devices by just refering to devicename.local as address. After installation, local DNS doesn't work any more. When I check from HA command line, using nmcli command, it shows valid DNS configuration i.e. my local network's router as DNS server.
It is anyway solved by my router, which is running dnsmasq
Hopefully not
Why is your VM's hostname raspberry? What OS is this running on? Which version?
Supervised is
onlyforexpertsmasochists
Have you tried its ip?
The direct IP works fine
I just checked from host machine via tcpdump, it receives mDNS (port 5353) notifications from those ESPHome devices. The device sends rows like this:
12:39:38.624729 IP savustin.local.mdns > 224.0.0.251.mdns: 0*- [0q] 4/0/1 PTR _esphomelib._tcp.local., PTR savustin._esphomelib._tcp.local., (Cache flush) SRV savustin.local.:6053 0 0, (Cache flush) TXT "board=d1_mini" "platform=ESP8266" "mac=c45bbedf6dfc" "version=2022.8.1" (248)
what a surprise?
Not a surprise at all. But surprise is that when I go to HA command line and issue "nslookup" command, like "nslookup savustin.local", it does not find address. But when I give command "nslookup savustin.local 192.168.1.1", it goes well.
Ok, let it be so. But how can I then get HA to understand mDNS indications?
This same has been discussed on forum, but there was no definite answer. https://community.home-assistant.io/t/local-dns/178108
This seems to be due to HA's CoreDNS module. It is always using external, hard-coded DNS even though HA has been configured to use some other.
There was one idea on the thread. I renamed my router's "local network" suffix from .local to .mylocal. Now ping to e.g.
"savustin.mylocal" works fine. Next step is somehow getting HA to understand to use .mylocal when looking up devices.
again, you are mixing DNS with mDNS
.local is strict mDNS and not supposed to be administered by your router
It seems that HA hasn't earlier cared so much about mDNS, but it has happily forwarded .local requests to router. But it came stricter at some point.
