#installation-archived
1 messages · Page 36 of 1
Prob still cheaper ones
https://www.ebay.com/itm/385670237223 $80 for 8GB + 128GB SSD
$90 for 256GB SSD ; $94 for 16GB ram; $104 for both.
I'm suspecting most prople are also recommending using proxmox on top of that hardware, and keeping haos in a VM on it. It's a little more complex, but gives you snapshots. which makes rolling back bad updates much much easier
Install is super easy with tteck scripts. Easier than native
Should be aware that such solution as above isn't good for when electricity is costly where you live
If you consider using it for vms in general it may be a good idea to not go for something based on a low initial cost but rather pick something which has a decent efficiency close to the expected utilization
What else are you suggesting that idles at significantly less than 12w~?
My toaster idles under 12W 
Assuming we do be talking non ARM solutions surely. Certain dev board solutions like the lattepanda / zimaboard ones, do offer ~ 5w idle on non arm processors. I am not quite sure if id go for something like that even tho they support nvme storage but realistically you get the same on Nuc alikes with certain U or N type Intel processors.
Alternatively you can go the other way and get something with more processing power, like a Ryzen U/H/HX based Nuc alike. Realistically that will still idle around the 10w but you will get quite a lot more out of it if running multiple vms is what you dig.
Any of those solutions is likely more than a hundred bucks. The Lenovo one mentioned above would cost somewhere between 90 and 150$ each year in electricity for where I am. Picking something more sensible for what you would try to achieve kinda makes sense from my pov
10 watts is around 4 days per kilowatt hour (1000/(10*24)). so call it 10 kilowatt hours per month. (to keep the math braindead. Its padded out). so you'd look at your unit cost per kilowatt hour, and multiply by 10 to see how much it'll cost to run for a month.
for me, it's around £3 a month
Horstexplorer apparently pays more than 1.40/KwH which is quite a lot. I think your formula is incorrect, btw.
((12 * 24) / 1000) * 30 = 8.64 KwH
(1000 / (12 * 24)) * 30 = 104.17 KwH
I noticed we're in the wrong channel. Should probably be #hardware-archived.
Entirely possible 😄
Math is a hell of a drug
10 watts is 0.01 Kilowatt hours per hour. so 0.24 kilowatt hours per day.
30/(1000/(12*24))
= Raspberry Pi
Pi 4's consumption looks to be 3-4 idle, up to 6 fully active
However what you save in energy is what you pay in micro sd cards
its far from 2w 😄 same with the intel machines, far from 10w 😄
My N5105 box from aliexpress could idle at 6-7W with proxmox installed after powertop tuning and some bios optimizations.
yeah but idle is not homeassistant
Only if your CPU ain't big enough 
The Intel N100 also seems fancy
There do be a enough of choices out there for something which is performing well on low energy consumption
It doesn't seem to be much better in terms of power comsumption though: https://www.servethehome.com/fanless-intel-n100-firewall-and-virtualization-appliance-review/4/
Even with a 64Gb micro sd card on my raspberry its not working 😭😭
I dont have the graphical install
You might want to share some context
why can't I install the github image to balena etcher?
'Something went wrong. If it is a compressed image, please check that the archive is not corrupted/|
common failed: cmd/ c
Download the archive and extract it to your machine, then give etcher the extrated file to flash. Otherwise use another tool like rufus
There is no graphical install
So
Then you should write it
Its shown that WE need to go on thé browszr
Hint, there's no installer at all
You write an image to the boot device, and boot
Zero install
So what Can i do ?
what?
How Can i go on the browszr and
Go on homeassistant:8123 if there IS no installation
They also are having problems... why you hit Reply to them I have no idea
fascinating...
What if you try the LAN IP (and port)?
What if you try the LAN IP and port 4357?
But
But @inner bronze
I cant go on m'y browser
But what @inner bronze
Its in command Line

Home assistant command Line
Open a browser on a different device
You ... you use the device you're using for this
But i want it on THIS device,its thé purple
Purpose
It's a fucking web browser
The browser doesn't care
It connects to a remote system
BUT ITS ON MY RASPBERRY SCREEN
You don't need to host Netflix to use it
But if i want on THIS computer
So how can i Access Ha threw web browser on m'y Pi ? With all add-ond ?
Not from the Pi
The Pi is a server. It gets put in the corner and you don't touch it
When you want to access HA you use a web browser on some other computer
Okkk
Are there any other way to dl HA on my RASPBERRY
You can install it as a container. Check the install method docs
Can your device boot from UEFI? Assuming that's a message of said device during boot...
I flashed the image, connected the Flash to the PC and that showed up
idk what you mean by uefi
Read the Note here: https://www.home-assistant.io/installation/generic-x86-64
The system must be 64-bit capable and able to boot using UEFI
You need to go into its BIOS/UEFI and configure it to boot that way if possible. What are you installing this on?
Also the USB stick may not be detected when formatted in a random fs
I think it's working
lots of text on the screen lmao
'A start job is running for HAOS swap (s)'
OK, HA is installed. What am I doing now?
lmao
On the Home Assistant screen it will show the ip address for your Pi. Use the computer/phone tablet you are using at the moment and try opening http://homeassistant.local:8123
Home Assistant URL or Observer?
Home assistant and follow the instructions to set up a new user.
There's some green: ha >
what do I need to type there?
and how do I connect the leptop to the internet
like
I need wifi and all
WTF?
what
Where is HA installed?
That laptop already needs connected for HA to install
You should have a cable connected
Or... no installation for you
No, you wrote the image
Plug in an Ethernet cable that is connected to the network.
In the install docs
If you can't plug it in with a cable, you're probably going to have to use the container method. Where you use a different operating system which you can configure to get it on your wifi, then install home assistant as a container on it. There's some downsides, but it'll work.
I can plug it
You'll then need to reboot it, so it works
HAOS also supports WiFi but that's a bit more advanced:
ahh. (and discouraged)
running on wifi is a poor decision IMO
but that's just me (and many others) who share that opinion
Plus one
It doesn’t help that most people’s networks consist of an isp shitbox and a dream
can i install home assistant on an existing linux installation ?
Yes
Discussion about how to install Home Assistant (https://www.home-assistant.io/installation), and issues with the install itself. Make sure to mention which type of installation you have. If you're not sure of your installation method, check under Info in the System Health Card (https://my.home-assistant.io/redirect/info/)
See the link to the instructions there ☝️
thank you!
this says i need a dedicated system ?
i am using my pi 3 b+ , rpi os, but it has pihole running
You're almost certainly going to want Container - aka native Docker
will that be a problem? preformance wise?
Not HAOS, HAOS replaces everything on that Pi
Or use HAOS and switch to AdGuard (since there's an add-on for it)
If you use HAOS you dedicate the Pi to HA though
what do u think?
got it , thanks!
i wouldnt need GUI for docker right?
No
so i need to install docker (not docker desktop)?
If you feel like you need a ui for docker, portainer seems pretty solid
Portainer is known to sometimes do stupid things
It caches things that shouldn't be cached, and can cause issues on upgrades at times
Not common, but common enough that it's worth knowing about
@safe python What?
I just want to see if there is anyone else.😋
Just look at the sidebar, instead of spamming the channel
That's good to know
Okay, okay, I just came here and I don't know much about the rules here. I'm really sorry.
I mean, I can't see there's any server where that kind of thing is considered normal, unless it's a server for small children
does it matter what Ethernet cable I’m using? Like, cat 6 or 8?
Not CAT3
So I’ll just buy the 8 one
Also, it has to work
the higher the better ig
Ah... marketing wins againi
It matters for >10gig on more than 55m
Don't forget to get the gold plated ones with the arrows showing the bits which way to flow
cat5e will be enough for the vast majority of home networks.
it'll support gigabit, no problem
Id only buy the cat8 when you are putting it inside a wall
And be more flexible than a cat 6
For just lazy home runs it's too stiff
Tho is there even a price difference these days
Hello, may I ask how to solve this? Is there a recommended blog? I just upgraded the system and displayed the error "mqtt platform for sensor integration no longer supports YAML configuration. Please delete it from the configuration file and restart the Home Assistant to solve this problem.
It kinda told you what to do
It shows that I can't edit mqtt on the configuration.yaml file, but if so, how can I upload the temperature and humidity detected by my esp32 on the overview?
Yes, I paste such content directly into the yaml file.
sensor 1:
platform: mqtt
state_topic: 'office/sensor1'
name: 'Temperature'
unit_of_measurement: '°C'
value_template: '{{ value_json.temperature }}'
sensor 2:
platform: mqtt
state_topic: 'office/sensor1'
name: 'Humidity'
unit_of_measurement: '%'
value_template: '{{ value_json.humidity }}'
Only modify the necessary information.
It can still be added like this before the system update, but now I can't do it.
Hey with docker compose where Can i find my config file ?
Your config file for what
Whereever you mounted /config to
Ive NEVÈR used /config
Show your compose file
In dm cant send pixture
No
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.
Besides, it's a text file. Send it as text, not an image
Please use a code share site to share code or logs, for example:
- https://dpaste.org/ (select YAML for the language, and consider picking a longer expiry)
- http://pastie.org/ (select YAML for the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.
Do you mean that I recreate a file similar to mqttt.yaml in the config folder and then add content to it?
I cant find thé config im lookig for.
Sorry, I don't quite understand.
@inner bronze /PATH_TO_YOUR_CONFIG is supposed to be filled out by you
I have no idea what your current setup looks like, but from what I imagine is that you just need to load it behind the mqtt mapping and remove the platform one
Ok, i got myself an Ethernet Cable. Now I created an account on HA on my phone. What next? What am I doing with the 'server' now?
‘Waiting for the Home Assistant CLI to be ready…'
Home Assistant
Welcome to the Home Assistant command line
waiting for supervisor to startup
Ip
Ip
Os version
Home assistant core
Home assistant url
Observer URL
ha >
something like that
You stick it in the corner and use the Web interface to add any integrations you need, or accept any smart devices it finds on the network.
This is why most people use an old desktop PC or a small computer like a Raspberry Pi.
so I don’t really need that pc anymore, just need it to be on
fine
but when I remove the flash drive, it’s just closing itself
Sounds like you wrote the image to the flash drive
I did
that’s how I downloaded it
Then it's booting from that, and running from that
I couldn’t download it otherwise
You're supposed to write it to the boot media you want to use
hi, i'm setting up on a VB Vm to test it before really using it but i got this error: "no bootable device found"
how can i fix it
Make sure it's set to support UEFI
hu yeah its
then make sure that its set as viable boot device in virtualbox, also use the appropriate interface should be described in the official docs
also i have the last version so its lmaybe not up to date
so i have finally installed HA in docker and it seems very cool , can i add my custom sensors?
i2c sensors?
using some MCU like esp or pico
or a pi
wait i have WSL is it possible to use WSL ?
Techncially yes... but no, just no
future you will wish you didnt
thank you will check this out
i don't see UEFI i only see EFI
they have their own discord server with a channel dedicated to showing off projects which might be helpful
can I somehow copy my USB flash drive files, where the HAOS is located, to the laptop's HDD?
i get an acces denied i just looked the error
i still cant figure out how to install esphome on my mcu
🥲 pls help
thanks!
@cyan yacht so, start from the beggining, what kind of install are you going for, and what hardware?
So i have a respberry pi 4 with ssd and a sonoff zigbee dongle, all in Argon one M.2
and you want to install core or use the whole pi4 for HA?
Already created HA account and booted the system from the SSD, should i repeat the whole process?
core/docker/
I wanna use the whole pi for HA
ok. me, personally dont know how to do the whole thing on the ssd, but if you got that done, well done
for the whole pi I used the image straight on the sd card, that allowed for it to boot haos, and went from there
OK let me try that from the beginning and follow that link then, Thank you for the tips @marble ravine
no prob... and that was MY experience, yours can be different
i cant install home assistant supervised in pi?
will i need to uninstall the core first?
I reckon you wont be able to run both of them. check the pre-requisites
meaning, you wont be able to install unless you have debian running in your pi, instead of PiOS
(that is what is says on the documentation, I might be wrong, usually am)
If you want the features of a supervised install, either install HAOS on the device or run it in a VM. Don't do the self maintained supervised installation, it's a trap.
why is it a trap?
i guess because of all the extra work you will have to undergo
Maintaining the Operating System The user is responsible for maintaining the operating system. Since it is a supervised installation, the user is also responsible for updating the components that are required by the Supervisor. The user is also responsible for not installing or changing anything on their system that will interfere with the Supervised installation. Examples are software that will update Docker containers managed by the Supervisor.
Security updates for OS: Responsibility of the user.
Maintaining the components required for the Supervisor: Responsibility of the user. Over time as Supervisor requirements change, you might have to upgrade your OS to be able to use the required version.
Conclusion: Expert. Maintaining a Debian installation to a very specific set of requirements is hard.
There it is, straight from the documentation.
If you want HA to just work when you need it to, and I feel like that's kind of the point, you don't want to do that installation method.
And if you're on a Pi you're best off installing HAOS directly on the machine.
if you want to suffer and learn, but suffer, and reap the results, and suffer, and mainly suffer and study and suffer, than the self mantained is for you (suffer)
If you want to be able to do other things with your HA server, best to upgrade from a Pi to something that can handle running a VM or Docker alongside a bunch of other stuff.
i guess i will run pi hole in a pi 0 then?
cuz i only have pi 0 and pi 3
and then install HAOS on pi 3?
or you can go with casaos
whats that about?
another can of worms
how do i uninstall the current HA core
How did you install it?
Well if you reflashed it you erased everything
It's all gone... that's what flashing does 😉
what kind of setup do u have with HA?
if u dontmind me asking
do u have a bunch of sensors attached with MCUs ?
MQTT
🤔
it's a pub sub protocol. one side shouts, the other side listens
low bandwidth fast way to get stuff to talk to thangz
😄 oh
how do i enable https on HA?
Follow the documentation
https://iAm.pirating-hentai.online/�/jh8ntdb3.png
stuck here , please help
😐 why no embeds
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.
And ... when you say you're stuck there... exactly what are you doing there?
yes
what do u mean
#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.
i dont have an esphome device set up , i want to set up one
The ESPHome Discord, or the #diy-archived channel here, can probably help with that
what should i do after i set up one?
You would use the integration (#installation-archived message)
How long does it normally take to prepare home assistant ?
Depends on your hardware
You can click the blinking thingy and see the "progress"
Pi 4 8 gig
SSD? SD card?
SD card will fail on you with little to no warning
its all brand new
so i managed to add the esphome integration
It'll still fail on you with little to no warning
how do i add sensors to it now?
Lovely
Mind showing us the errors?
23-06-28 15:15:28 INFO (SyncWorker_0) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/raspberrypi4-64-homeassistant:landingpage to ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2023.6.3
23-06-28 15:15:28 INFO (SyncWorker_0) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/raspberrypi4-64-homeassistant with tag 2023.6.3.
Not really install related any more, you want #integrations-archived for the HA side of that, or #diy-archived for the ESPHome side
could i have used the wrong img originally?
Unlikely, and those aren't errors, they're INFO
23-06-28 15:14:58 ERROR (SyncWorker_0) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2023.6.3: 500 Server Error for http+docker://localhost/v1.42/images/create?tag=2023.6.3&fromImage=ghcr.io%2Fhome-assistant%2Fraspberrypi4-64-homeassistant&platform=linux%2Farm64: Internal Server Error ("Get "https://ghcr.io/v2/": context deadline exceeded")
23-06-28 15:14:58 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
sorry
I rebooted looks like it's running autofix the last entry is host information reload complete
Back to the same error
[supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_FAILED/ContextType.DNS_SERVER
What does ha network info say?
How would I see that
How would I flash hass to a nvme drive?
Or am I better off running it on a Linux install rather than hassos
You type this in via keyboard
Put drive into machine
Boot from a Linux live USB
Download the archive, flash or extract to the nvme
Power down, remove live USB, power up
https://www.home-assistant.io/installation/generic-x86-64
Can you run other software on hassos?
I’ve been thinking of running pfsense later on
HAOS cannot run VMs, only addons
If you want to run lots of stuff on the same box, use a virtualisation platform underneath (proxmox, vmware esxi, kvm, etc).
Then run HAOS in that, along side pfsense etc
i want to change my location how do i do that?
i want to change my location , like the main location it asks u while u configure HA for first time
i want to make that circle smaller
cool but how do i make that circle smaller
and then I think its still needed to set a the radius in customize.yaml
not sure, I cannot find how I did it myself rn
any way i can make the yaml builds faster?
Is proxmox good for beginners?
Nope
I don’t agree lol
Proxmox is cool but beginner friendly nah
With guides and a willingness to learn sure it’s fine
And tteck’s scripts
And prior technical acumen
I feel like a beginner shouldn't use helper scripts. It just obfuscates what is happening
They can always read the scripts or manually type the commands line by line
But yeah they’re not gonna learn
But it depends on the goal. If it’s to use it and there’s minimal troubleshooting due to backups then yolo
I just have proxmox installed to play but haven’t done a ton with it yet
I don’t have the drives to play with zfs and ceph or multiple nodes to cluster and play with k8s or any of the fun shit
Would docker be fine?
I run a Linux server using docker mainly
Not familiar with vms
It just depends
It’s mostly a matter of opinion
If you already use a Linux server and docker then yes play with proxmox
If you want to manage all your smart home containers yourself then use docker and Linux or whatever
If not run haos in some way
You can still use proxmox and choose the dockerhost or lxc route
docker is the most sensible option when trying to run mostly native
haos just keeps getting better as an appliance or w/e people are calling it now
i'm running haos on a fuckin laptop with no screen or keyboard with an 8th gen intel running frigate and a bunch of other things and it's flawless
granted i still have a linux box for most containers that arent smart home / hass related
haos is still just docker
its up to you to decide if you want the virtualisation layer of a vm or run it native
i suppose
it would be nice if we had more fine grained control though
i.e. limiting addons to a specific amount of cpu cores and or ram limitations
that's very useful for vfio stuff in vms on my server and containers w/ cores
Hello, I want to migrate my HA which is currently installed as HAOS on an old laptop I have, to a VM on a new Proxmox server, I have already setup the VM with HAOS on the new server.. is it as simple as backing up my HA from the laptop and restoring it on the VM? Or is there more steps since I have a zigbee coordinator?
Please ping me when answering, thanks in advance
it's literally that simple
assuming you use ZHA the coordinator will have been setup automatically with the dev/by-id/ serial method
so just correctly setup usb passthru on proxmox (there are guides) and it should justworkTM
I’m using Z2m
It's trivial to change the adapter path. I'd say try and see
So after restoring the backup, I’ll just have to relocate the usb path and that’s it ?
Probably. You could check your current configuration and modify it to use /dev/serial/by-id/... before migrating
Migration should be pretty simple. And low-risk, if you don't mind a couple hours data loss. Just backup and shutdown the old. The spin up a HAOS VM on proxmox, and use the backup to restore. Maybe change some config as discussed above.
my backup and restore failed on proxmox til i changed network settings
it wouldnt boot with the old static ip when my old hass setup was still running on that
as expected i suppose
So do I disable the static ip before migrating?
i had to change network settings and take a backup cuz i have ip reservation for that ip in my router
Currently, the path is “Device path:
/dev/ttyACM0”
And the id is “ID:
/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230329144300-if00”
ya that's wrong
you didnt follow the guide on z2m
or maybe i'm reading that wrong
let me look at mine
It says serial/by-id in the name, and I know assuming is a long shot....
in z2m -> settings -> serial what shows up?
I should have done everything accordingly if I’m not mistaken
If your HA is configured with static IP, and devices are using it, it should work (as long as your old one is turned off, and your router doesn't complain)....
In the port: “/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230329144300-if00”
Great
and save and restart the addon or w/e
w/e ?
whatever
The more you learn
it's pretty common
Not a native English, a first time for everything
i forgive you
Anyway, so a simple backup restore should be enough, but unfortunately I know my luck
Thanks a lot
I really thank god I started using HA now when everything is this simple
Cant imagine how everything had much more steps
jebus cant save you here man
jebus couldn’t even save himself
that's dark
Hey just a question,i bought a sensor,and i need to connecté it to zigbee,so i need to buy a zigbee USB device
#zigbee-archived can help w/ those questions
hi! We're trying to install HAOS on a Khadas VIM3 Pro board, and failing. Anyone installed HAOS on this board or a similar one?
If it’s not explicitly supported you’re gonna have a bad time
That’s an arm sbc not x86/64 right?
judging from HA's github issues and PR mentioning the VIM3, I reckon there's some support
yes
@wheat geode you are using https://github.com/home-assistant/operating-system/releases/download/10.3/haos_khadas-vim3-10.3.img.xz ?
yes. using OOWOW, when we select that image, there is an error saying that it's not compatible
ooooh wait we were getting that with 10.2 but with 10.3 it seems that we can force the install
alright, now our issue is that HAOS does not see wlan0 so won't let us configure the wifi credentials
it does work with ethernet though
My hassio dns container went missing. How can it be restored? ha dns restart fails too
Downgrading and then updating restored it
That’s a feature not a bug. Future you will be thankful you don’t use Wi-Fi.
Hi. Not sure this is the right forum. I'm having severe issues with the SSH plugin. I'm not able to access the HA from another pc on same network. I have installed the "Advanced SSH & Web Terminal" and I can use it internally on the box, so I assume it works. But I can initiate a SSH access, but it will not accept password. Have created a test users with a fairly simple password, so I easily can type it, but no luck.
Access denied
HomeConfig@X.X.X.X's password:
What could I be missing.
password logins may be disabled? (check your sshd_config). It's more secure to use keys.
what does the addon log say when they attempt to login?
Hi Not sure this is the right forum I m
Thaks.. I'll try that
So I'm having all sorts of problems with my HomeAssistant and I'm seriously considering just nuking the whole thing and starting over. I do have it run in a ProxMox VM. Anyone willing to throw some input, I'm thinking about creating a new one, starting "over." but keeping the old one up and running as reference so I can copy some code over manually of dashboards and stuff as I set the new one up.. I don't want to restore from a back-up at this point because I'm afraid that'll also restore the problems I have, but I'm ready to throw the towel in on fixing my current install as I just keep hitting more & more issues and dead ends.
hey, idk if it's a good place to ask such a question, but I'm unable to ssh to my HA server. I get "kex_exchange_identification: Connection closed by remote host" error. I was searching through the internet but with close to no results. Did you maybe have such a problem? Yesterday it was fine, but now it's denying my connection.
Hard to advise on that without actually knowing what problems you're having.... sounds like a lot of work to do a bunch of stuff over and what happens if/when you hit the same problems again? Best to track down what's going on and fix it.
Well, every problem I solve, I find a new one. The latest now is the complete inability to add my Apple TVs or HomePods, but it just seems that when I resolve one issue, I hit another.
I posted over in #integrations-archived to get help with the HomePod issue but got nowhere. As of now, that's my only issue, but that was working and I had other issues. Seems like whac-a-mole with this instance. 😦
I just feel like there's something wrong with the install altogether at this point with how many problems I keep having. Seems like this system wouldn't be so popular if it sucked as bad as it's sucked for me, and honeslty, my first month of messing with it was great, up until things went haywire, and I was working way too fast and not backing up enough in an attempt to get this system up and running before my dad came to visit out of state, and hadn't backed up in a week, after doing A LOT of dashboard coding, before I ran into my first (of many) problems.
hey idk if it s a good place to ask such
How exactly would you like to integrate these homepods?
Because these devices are pretty much invisible on your network. All they do is airplay, which you get with owntone and the apple tv integration.
Well you can automate on the state of them too. I use that to not turn bathroom lights off if music is playing (since motion sensor won’t be triggered while in shower)
Does anyone have any knowledge on fixing boot loop after an power outage? I get the below error and the system restarts. I'm using HassOS on an Unriad system.
[Failed] Failed to start Docker Application Container Engine...
Well, previously, I had them so they could show up as media_player entities and I could add control cards . This is how it used to work and I loved it, being able to integrate my Alexas and HomePod controls in one place. http://img.wtwap.net/230630145257243.png
Alexas are working fine but nothing I do gets the HomePods to work now.
Sounds like you have network issues
That's the common blame I hear. Could be. It's frustrating because literally no other devices give me any problems communication with each other, except HomeAssistant. HA seems insanely particular & sensitive.
But I don't think it's a network issue. I add the integration, HomeAssistant claims it added, but then it never shows up under integrations. It doesn't fail, it doesn't connect and then drop, it just doesn't add, ever.
Check the logs. You might have to enable the integration's debug logging first or increase the log level
How can I enable inegrations debug logging or increase the log level?
If you're having problems with your updates to your configuration:
- Check the troubleshooting steps
- Check your log file - remembering you may need to set logger to
infoordebug - Explain what the problem you're having is - sharing configuration, errors, and logs
See there, under logger
Also explained on the integration's page: https://www.home-assistant.io/integrations/apple_tv#debugging
Okay, I added this to my configuration.yaml
logs:
pyatv: debug
homeassistant.components.apple_tv: debug```
Should I reboot, try to add a HomePod again, then check the logs?
Not reboot needed but logging changes require a restart afaik: https://my.home-assistant.io/redirect/server_controls/
Okay, coded added, restarted, tried to add the HomePod again, and still absolutely NO mention of it in the logs.
on the webui there are two parts for the logs
At the bottom of the log page if you click on the refresh button you should see them
Well...
Lots in there about my HomePods.
Those are all of my AirPlay devices from what I can see. Absolutely NOTHING showing up in Integrations still.
Can anyone help me get Zigbee2MQTT for my Sonoff Zigbee 3.0 Dongle working? I thought it was my old/slow Raspberry Pi 3, so I upgraded to a NUC. Started a completely fresh install of Home Assistant on it. But I cant seem to get it to communicate with the dongle. I flashed new firmware using the python method (since flashing with SmartRF Flash Programmer 2 kept failing). But still no luck.
You wanted the #zigbee-archived channel
I'm using this combo maybe I can help
I havent gotten a response from anyone there. So figured I would ask here
let's go to the #zigbee-archived
I'm having issues trying to get https to work .. I have a reverse proxy that is working but when I use it I just get a home assistant icon and unable to connect and a countdown timer to try again. the error Im getting from apache is
[Fri Jun 30 16:53:41.162589 2023] [proxy_fcgi:debug] [pid 1484769] mod_proxy_fcgi.c(1069): [client 192.168.1.1:26183] AH01076: url: http://192.168.1.25:8123/api/websocket proxyname: (null) proxyport: 0
[Fri Jun 30 16:53:41.162599 2023] [proxy_fcgi:debug] [pid 1484769] mod_proxy_fcgi.c(1074): [client 192.168.1.1:26183] AH01077: declining URL http://192.168.1.25:8123/api/websocket
I'm assuming its trying to use a token but I don't know where its getting it from .. .my homeassistant.local8123 does sign in with a trusted network and no password but if I log out .. when I go to the site I get a choice of login names and a choice to use trusted network or a password but I don't see that when I try to log into the https site. Sorry to say I am a major noob and been struggling with this because I don't know where to start LOL 🙂
I just noticed it says proxyname: (null) proxyport: 0 but just a few lines before that it has a different request to the reverse proxy that seem to succeed
[Fri Jun 30 17:13:07.799032 2023] [ssl:debug] [pid 1488290] ssl_engine_kernel.c(415): [client xxx.xxx.xxx.xxx:43669] AH02034: Initial (No.1) HTTPS request received for child 15 (server homeassistant.myserver.com:443)
[Fri Jun 30 17:13:07.799064 2023] [authz_core:debug] [pid 1488290] mod_authz_core.c(843): [client xxx.xxx.xxx.xxx:43669] AH01628: authorization result: granted (no directives)
Did you configure the trusted proxy in HA?
yeah ..
http:
use_x_forwarded_for: true
trusted_proxies:
- 192.168.1.20
- 192.168.1.1
lol the issue I seem to have is I'm using apache and everything in the docs are trying to use duckdns and that other webserver nginx or something like that
and tha wants me to forward a port 443 to the ng web server and I cant since that's already being forwarded by the apache server at the 192.168.1.20 address
You can use another port for HA
I cant seem to find any documentation that deals with an apache reverse proxy
I cant seem to be able too .. .I tried and used 9433 as the port and it wouldn't connect at all .. at least with this setup it connects but wont get the right login .. like I say .. I don't fail to connect to the https site .. it shows a home assistant picture and says its trying to connect
lol and sorry tinkerer .. I know I said Id wait for a couple of days but I figured this was a different category lol
I use apache2 for my reverse proxy, I can't take a lot of time rn but I'll see what I can dig up later after I'm home.
ok I'll keep an eye out here ... thanks and lol ive been dealing with this for a long time so .. there is no rush 🙂
that you can find on apache website
I have done it before, it wasn't a straightforward process to me especially if you want to set up https and with authentication but it's managable
well I do seem to have it working .. Im connecting to the site and its not failing but .. on homeassistant.local:8123 if I log out I have a choice of login name and either a name a password or trusted network .. but when I sign in with https//homeassistant.mysite.com I don't get the login choices its just immediately goes to unable to connect retrying in xx seconds so I cant get to the login screen choices .. I need to figure out where its getting the key it seems to be trying to use so I can maybe use a name and password
Yeah these are 2 differnet hostnames and also I guess 1 is w/ https the other 1 w/o? Then probablly they are set up differently in apache
In apche it has conf files for both ssh and non ssh maybe you or the code set things up only in 1
yeah I have the two virtual sites .. port 80 and 443 but .. I don't think that has anything to do with it .. again .. I think the apache part is working.. I think its something in HA .. its either trying to log into the https site with the local networks creds and those are wrong .. or something else .. but .. ive been dealing with this for a long time .. I has actually installed HA 3 times now form scratch .. once on a VM and 2 times on a physical machine and not a pi either .. full size Ryzen 3 forgot which one .. but the cheap one with integrated graphics (3200?). I have had the same results with all 3 installs and they were all fresh nothing carried over from other installs. I'm just stumped 🙂
Okay sorry can't help you there further since I did not setup https for HA and for other sites reverse proxy https it's been a while I can't remember the details anymore
yeah .. I am trying to deal with old memories .. lol .. I have had this server running for over 10 years .. and have so much changes made to it .. but since I haven't done anything for a while I'm kInda forgetting all that I used to know 🙂 lol
and yaml and HA is new to me so not only do I need to remember all the linux knowledge I need to learn yaml
I say if you can deal with apache, you can definitely deal with these two.
Since to me apache has way more things way more hard concepts to grasp
unless you're setting up a lamp stack to learn the basics then you probably dont need vanilla apache in any meaningful way
lol I'm running 5 sites on apache lol its not that bad
it's of course still built into shit you are using
yeah I have started with a lamp install .. and I still have that setup from many years ago 🙂
idk none of this is hass related
It's not really. it's more web development
in my experience webdevs dont know shit about shit
how about full stack developers? 😉
yeah I don't think I do anything bout development .. .. lol unless you consider the fact that the radio stations around here suck so I made a VM and run a radio brodcasting app on it .. and made 2 sites one that is more what it came with with a few modifications and the other is a site that shows nice on my phone and gives me the ability to change the weights of the songs (to adjust their play rate) along with being able to bring up requests and dedications if I chose to 🙂 lol
you mean people willing to learn 20 things to make a functioning website in 2023?
we call those people crazy
I don't
we do
lol .. yeh I didn't spend that much time on my site
I'm crazy, there's another word for it
it uses basic php
i think good webdevs exist, i've just never met one irl
and i dont envy them given the current state of the web and whatever the fuck web3.0 is supposed to be
I also have my personal blog on my pi
do you have money?
with lamp setup...
my websites are "brutally functional" 😉
I don't
be a lot cooler if you did
neither do I
lol
lol basically if I wanted too I could figure out Android and instead of a webpage to run the radio site I could make an app .. but .. then I would have to learn a bunch of stuff .. and actually .. I don't learn anything .. I find snippets of code and modify it to make it work for my case. .. and that's something that Tinkerer here told me is a bad thing .. because he stated how yaml and HA configs need to be a precise way .. and any deviations of it will not work.
nothing right or wrong I would say. diferent approaches
usually i also like the quick and dirty fix way
but the radio site, is it legit?
hope you don't get into trouble
Tried to update HAOS to the latest version, and now it doesnt boot up. Any suggestions?
well its not actually advertized and I have no one else that connects to it but me .. if it ever gets discovered I may have to change it .. but .. I think you need a password to get in to it .. ..lol its been a while and I'm set up with a key so I don't even have to worry about it
okay then doesn't sound like a problem
I mean I guess you don't even need UI for that. you basicallly just need a server to serve these things from my understanding
zylvian do you have any errors .. or a way to let us know what is happening other than not booting .. is it getting somewhere and getting stuck .. can you ssh into it? is the OS running but the site isn't accessible ?
I crashed the website once but the OS was still running and I was able to access it though ssh plus .. if you installed the Samba addon .. see if you can access the files from the shares .. so you can see if the OS is actually running but the site isn't
I'm using the Plex add-on. I'm noticing that my plex amp and plex player instances always show "unavailable" unless media is actively playing. Should they be 'unavailable' when the players are idle? doesn't seem right.
yeah that doesn't sound right .. usually the only time things are unavailable is if they are turned off or I do notice that sometimes my router needs to be rebooted because a lot of my devices are unavailable .. so either they cant communicate because of network issues or HA isn't communicating with the devices .. sorry to say .. I no nothing about Plex so I don't have any suggestions.
but the "unavailable" entities instantly show the right state when I play media
yeah .. ok so its definitely an issue with HA / Plex .. I have the same kind of situation with cameras .. it wont let me make "switches" for them .. they only show up as lightning bolts even tho they are supposed to have everything that they need ... they work but not fully right lol
nothing is standing out to me so again since I know nothing about Plex and little about HA .. I wont be of much help sorry
I would probably ask on #integrations-archived or #add-ons-archived .. not sure which it falls into
@hoary vector show me your apache config file for your home assistant site, with sensitive info redacted obv.
How do you run home assistant? OS, VM, Docker?
Does apache run on the same machine as HA or different?
If it's a separate machine, how are you getting your SSL certs and where are they stored?
Fyi your ISP probably blocks inbound port 443, so you'll want to forward some external port> 443 on your apache host, and then your virtual host config handles putting that into the right port on your HA machine.
<VirtualHost *:443>
ServerName homeassistant.mysite.com
ProxyPass / http://192.168.1.25:8123/
ProxyPassReverse / http://192.168.1.25:8123/
# ProxyPreserveHost On
# RequestHeader set X-Forwarded-Proto "https"
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/homeassistant.mysite.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/homeassistant.mysite.com/privkey.pem
</VirtualHost>
and the apache is 192.168.1.20 the home assistant is 192.168.1.25 and yes it's the OS and a separate machine not a VM and my firewall is set up on my router properly for the port 443 and yes the certs are on the server which is running the lets encrypt not through the HA addon ... no my isp doesn't block 443 I have 3 other sites that run on https
not sure what you are saying about the external port > 443 I.. homeassistant.mysite.com points to external.ip:443 and my router routes it to 192.168.1.20:443 then apache routes it to 192.168.1.25:8123 ,, I'm pretty sure that's how its set up
bruh
you deserve better than to be in support channels talking about apache all day
idk what you're doing wrong but shit sucks lol
and no my isp doesn't block 443 I have 3 other sites that run on https
lol well I'm not an apple fan or a windows fan so .. apache is a linux thing and I'm a linux fan lol
Does anyone have any knowledge on fixing boot loop after a power outage? I get the below error, and the system restarts. I'm using HassOS in a VM on an Unraid system.
For some more context when I boot up, it hangs up on a start job that is running for wait until kernel time is synchronized, and once it gets to 30 seconds, it jumps to [Failed] Failed to start Docker Application Container Engine...
Found a fix: It was a storage space issue, I gave the VM some more Capacity and it booted up. I think my log file got crazy large and ate up most of the free space.
Yeah that's what I meant about forwarding a different external port to 443, if your ISP doesn't block that port that's fine. A lot of them block inbound 80 and 443 because they don't want residential customers to be able to run public web servers.
yeah I had that issue when I was first starting the server a long time ago but for about 6 years I have got lucky and the ports were opened up and my address became a bit more static ... not like back in the day when it would change all the time.
that config is missing some stuff you need for it to work with HA
I'm up for suggestions 🙂
Are you tho
excetp using something other than Apache 🙂
Well nginx still uses Apache
I think you’re living in the dark ages bro
A lot of us are running Linux servers at home
I guess I don't know nginx since everything you read about sites for help usually talk about apache
I can’t school you on nginx I can’t grow a greybeard
I can tell you if you stop abstracting everything and just focus on what end result you want we can help tho
it wasn't until I started in HA that I even heard of Nginx thought it wsa an apple thing
ahh well I guess its I'm an old dog who doesn't like new tricks and I have been using apache servers on my server for over 15 years , I'm used to the syntax .. I noticed nginx is slightly different in how things are coded
this is my config, you're missing all the websocket stuff.
https://hastebin.com/share/izuqofuviv.bash
Worst way to enjoy tech is to not learn the new ways dude
Doesn’t mean you need bleeding edge
If wireguard wasn’t the shit then it wouldn’t be in the Linux kernel for example
Which has made ovpn all but useless
ok .. so I'm missing
ProxyPreserveHost On
ProxyRequests Off
ProxyPass /api/websocket ws://192.168.1.25:8123/api/websocket
ProxyPassReverse /api/websocket wss://192.168.1.25:8123/api/websocket
ProxyPass / http://192.168.1.25:8123/
ProxyPassReverse / http://192.168.1.25:8123/
since I'm not really familiar with this .. is this right ?
Smart Home Sellout .. I am a bit embarrasssed but after my heart attack and a bad reaction to the medication I was givin for recovery ... my brain doesn't function really accuratly .. I have difficult learning / memory issues. so old things that are stuck in my head is better because new things are like pulling teeth .. ask tinkerer in here .. he helped me with another issue and he had to point out subtle changes in the code that I just couldn't see
You don’t need to be embarrassed dude shit happens
But understanding your weekpoints helps others fill in the gaps and that isn’t a problem that’s just being part of the community
FinnMacCool do I have to add anything in HA for the added code in the conf file for apache? like are the websockets already active to access?
It’s funny you found tinkerer so helpful a lot of people end up with the opposite end result
Different people learn differently as they say
he was a bit condesending but .. basically .. I'm a moron when it comes to HA .. and my memory / spotting of details .. makes it hard so .. I can understand his attitude
If you want one on one help you’re welcome to message me but I’m not a Linux cli guy so if that’s what you want I’m not your man lol
Yes that tracks
a lot of times he just said .. look at the code .. did you really look at it .. lol
I’ll get in trouble going down this path
lol ok .. changing subjects 🙂
Can we back up and you describe your exact issues with hass
well let me see what happens when I add that config to my apache file and see if the HA stuff is already enabled
And can you hone in on specific issues so we can do one at a time?
Let’s start knocking the ducks out one at a time
Yeah your HA config should be good, the only stuff you need in your HA config is the trusted proxy stuff you already have in there.
OK thanks .. adding it now and going to try to test it 🙂
no it didn't work 😦 same error
[homeassistant.components.http.ban] Login attempt or request with invalid authentication from router (192.168.1.1). Requested URL: '/auth/token'.
I forgot the address I used to paste in yesterday since I guess pastebin can mess up I have an apache error log also but its to long to paste here
Smart HomeSellout this is I guess the issue to hone in on first .. I have others dealing with rhasspy and Google home but .. those arent worth dealing with until I get this fixed since this is the capability of using it when I'm not home (lol I can still use it when I'm not home .. I use vnc to connect to my dns server and have a browser connected to HA lol)
Why not consider nginxproxymanager or similar
Where the footwork is done for you
Built in letsencrypt certbot for ssl certs
Etc
I guess this says everything and nothing at all :
[Fri Jun 30 22:36:37.625099 2023] [authz_core:debug] [pid 1541449] mod_authz_core.c(843): [client 192.168.1.1:14394] AH01628: authorization result: granted (no directives), referer: https://homeassistant.mysite.com/service_worker.js
[Fri Jun 30 22:36:37.625136 2023] [proxy:debug] [pid 1541449] mod_proxy.c(1511): [client 192.168.1.1:14394] AH01143: Running scheme http handler (attempt 0), referer: https://homeassistant.mysite.com/service_worker.js
[Fri Jun 30 22:36:37.625148 2023] [proxy_fcgi:debug] [pid 1541449] mod_proxy_fcgi.c(1069): [client 192.168.1.1:14394] AH01076: url: http://192.168.1.25:8123/service_worker.js proxyname: (null) proxyport: 0, referer: https://homeassistant.mysite.com/service_worker.js
[Fri Jun 30 22:36:37.625162 2023] [proxy_fcgi:debug] [pid 1541449] mod_proxy_fcgi.c(1074): [client 192.168.1.1:14394] AH01077: declining URL http://192.168.1.25:8123/service_worker.js, referer: https://homeassistant.mysite.com/service_worker.js
it grants one thing and then says proxyname: (null) proxyport: 0, then decline
because that interferes with my actual setup now .. I cant use all that because all that is already set up on the server computer so I would have to figure out how to have HA do all the certs for the server computer and run lets encrypt from HA instead of my server so all the other sites would have to be changed .and running the proxy manager doesn't work because for some reason I cant connect at all to homeassistant when I change the port from 443 to 9443 and I cant forward 443 to the proxy manager because its used by other sites on my server
I will point out that usually people help with home assistant related or adjacent stuff and you’re in homelab territory
well .. that's strange since getting https seems like its something home assistant wants you to do because you cant use some stuff unless you are using https and hehe .. they want to charge you 150 dollars a year if you want to be able to connect remotely "without hassle" with their "cloud"
I guess I don't really need https .. like I say I use a vpn connection but... connecting to a local computer to use home assistant isn't as smooth when accessing a 1080p screen on a phone and I guess things like the assistant offered by HA isn't needed since I can use Rhasspy ... not sure if I can access google without having https though
oh well .. its getting late .. I think I'm done for today thanks to those who took the time to try to help 🙂
Yea sorry dude we’ve bled into drunk o clock
is there a list of all ports that hass uses
are you using docker or a vm with the OS?
I don't know of a place for a list but .. HA uses a lot of ports depending on what you are using in HA like it uses port 22 for ssh by default and it uses 1883 if you use MQTT the web access is 8123 and 443 if you use https different integrations use different ports so I guess they never put out a list... but most of everything is configurable so it doesn't have to be a specific port . like I don't use 22 for ssh I changed it to a different port.
as a summery.. by default HA uses :
8123 TCP Web interface, API, and some integrations
1900 UDP SSDP discovery
5353 UDP mDNS
51827 TCP HomeKit
443 TCP HTTPS
and then other ports for specific integrations
lol but https is not playing nice for me .. I seem to be having issues with the redirect and Apache where my server is running and the machine HA is running on
if the server restarts, HA vm boots before the NAS vm, which results in HA not connecting to the NAS and shows the following error, and I have to go manually and click on reload to make HA try to connect again:
Could not connect to HBA_NAS_Media. Check host logs for errors from the mount service for more details.
Use reload to try to connect again. If you need to update HBA_NAS_Media, go to```
instead of delaying HA vm to boot after the NAS (because HA is more important to me to load faster than the NAS), is there a way to make HA reload and try to reconnect to the NAS by it self until it connects?
very likely, but configuring a boot order may be significantly less work
So your apache should be configured right now, now it's just a matter of figuring out why HA isn't allowing the connection.
Based on a little research you might try adding
trusted_networks:
- 192.168.1.1
Under the http: section of your configuration.yaml.
tried that and its still giving me the invalid authentication from router and the requested url is /auth/token
how is it that Home Assistant messed up my Deebot .. ever since installing home assistant .. it seems the deebot cant connect and becomes unavailable. when I go to my phone and open the deebot app .. I have to reconnect it to the deebot for it to start working again
this now happens at least once a day and I had the deebot for 3 months before I installed home assistant and it never disconnected and had to be reinstalled into the phone app .. does home assistant have issues with it messing up devices connections ... because my lights randomly fail also
oh yeah .. if I reboot my router it will also connect without having to reinstall it into the app .. so I guess its messing with the router not the deebot.. maybe I need a new router .. I do need one that allows more ports because I'm full up on this one and it wont let me add any more ... I think I want a router that I can flash dd-wrt to .. I miss my old dd-wrt Buffalo router I had
hi, coming back to HA after being gone for a year. I am moving from a hyperV install to a raspberry pi docker container install. Should I start with the current version and rebuild things, or restore a full backup with a year old version? Sometime starting with an outdated version makes more headaches than it solves.
Id suggest you look at the updates "breaking changes" to see how much has changed and how your old installation would fair. I just installed HA and my cameras had a configuration that has been changed so the cameras would stop working and cause issues in August if I didn't change the configuration.yaml .. so for a year ... there may be some breaking changes that would cause, like you say, major headaches
lol just by looking at breaking changes for 2023.5 and 2023.6 , id suggest probably starting fresh and reconstructing your configuration. https://www.home-assistant.io/blog/2023/06/07/release-20236/#breaking-changes
https://www.home-assistant.io/blog/2023/05/03/release-20235/#breaking-changes
taking a backup and then restoring from backup on latest stable and fixing whatever is broken is probably a good idea
ah nvm docker container so no restore functionality
fun
Is anyone able to help? I just loaded virtual box on the new windows pc and tried to restore home assistant from a previous backup (.tar file) but it failed to fetch. Is there a chance the backup is too old? It’s from January 2021
There have been quite a lot breaking changes meanwhile.
At least 2
this release you mean
Hello, I’ve a question regarding hardware, on which machine do you run your home assistant ? For the moment I’m running on RPI it is a good solution ? Or there is a better one ?
The Pi is your basic minimum
https://analytics.home-assistant.io/ gives you some insight into what people use
Firstly how do you get half a user 
Secondly thats a lot of people on 21.12
Well, there are people here with half a brain...
Also, the stats go back to 2021.4...
In that case my analytics should report 0.25 then 😛
Thanks!
like 0.66 or thereabouts for me
I've switched from hassio to docker container, how do i remove from my ha conf:
- Missing SUPERVISOR environment variable
- Setup failed for hassio: Integration failed to initialize
nvm i found it
Can you do a pure docker install with HA, mariadb, cloudflared, mosquitto, z2m, piper, whisper, matter yet? and if yes do anyone got a compose?
Mostly yes
Matter is ... complicated, but #matter-archived can help there
You can find compose entries for almost all of those
matter can wait for now 🙂
official piper and whisper dockers?
I’ll post a compose file for him there
Aand that’s what you linked to. Derp
Imo that’s pinworthy too
(moving from #general-archived ) proper official steps to migrate from core to hassio? forums and even the docs talk about copying the whole folder
Take a backup, download it, restore the backup on the new install
that would include hacs stuffs 'n all?
Yes
how does one install journalctl on a Rpi hass os install?
that worked (nearly) perfectly. I was left waiting for the backup to complete, with just a spinning progress wheel not really doing anything, eventually opened things up in a new tab and it had completed successfully, but just hadn't moved on from the onboarding/backup view
ok how do i see the system logs?
like if there's something wrong with the hardware?
I’ll let someone else jump in it’s like ‘ha show logs’
Reboot after a successful restore
It helps addons start properly iirc
jjfs you can look at the home-assistant.log in the config directory .. either with samba addon .. or Studio Code Server .. of even maybe the Log Viewer but I don't remember if that was an addon or something I had to find and add to home assistant
lol just to pick on you SmartHomeSellout .. actually you can install stuff in HA in a terminal you use apk add <package name> but usually you have to do an apk search <package> because its not as extensive as what you would have in a dabian system .. I'm struggling a bit with Alpine Linux since I'm used to Debian derivatives and lol .. just ribbing ya 🙂
It's not technically HAOS though
Ok update and see how that works out lol
Or just reboot
I have lol .. apk update .. apk upgrade 🙂
It’s on a free reign os man
It will let you shoot yourself in the dick and restart and be gone lol
well I guess HA is running on Alpine Linux so .. I guess you arent actually installing in Home Assistant
i wish so badly I could have installed HA on my server so I could have installed it with an encrypted web server instead of having to dick around with forwarding.... im looking into figuring out how i can make my apache server to run in mpm-worker or mpm -event since it seems there is something about using http2 proxy and that wont install in my system because my system is running in mpm-prefork and i guess some of what apache runs isnt compatible with worker or event 😦 ... i know .. thats what i get for running Apache 🙂
hey, question about installing HA-supervised on a fresh debian 12 install. systemd-resolved is now in the list of pre-installation dependencies. however, once I installl systemd-resolved, all DNS resolution is lost. it doesn't use the dns server advertised by my router, unless I go into /etc/systemd/resolved.conf and manually enter the DNS server IP (router) under the DNS field. is this what is what the process is supposed to be like on debian, or does anyone know how to get systemd-resolved to inherit the DNS server advertised from the router?
@fresh mesa what's in resolved.conf before you change it?
If you're not a Linux expert recommend not running supervised
im a linux expert and I still don't run supervised
because I would like it to work rather than me have to work on it
thanks for the non-answers friends (except for gambl0r, thanks for attempting to help), forget that I asked anything. have a good day.
I was only trying to direct you to something with less of a headache. Docker is spin up and forget
A VM with HAOS is spin up and forget
Supervised is dedicate the device to it and monitor for every single dependency update
I mean the behaviour you're describing is how it works by default unless you configure it otherwise
so that means you didn't read the man pages before asking the question, which is kinda stated in that you should do a few things before asking https://discord.com/channels/330944238910963714/331130181102206976
systemd.network and systemd-resolved can work with DHCP defined DNS server, you just have to configure it to do so
Huh til
(And more reason why I shoot myself in the foot anytime I touch DNS)
the rules contain outrageous things like "
7. If you're a programmer, try to find an answer by reading the source code: https://github.com/home-assistant/core" under the "before you ask". I'm a programmer. So, I am to intrepret the rules as "read the source code before you ask anything"? come on
What about the first 6 steps tho
duh. i'm just asking in the ether if anyone knows what that configuration is. instead you say "hey don't use supervised dummy". if you don't know, or don't want to answer my explicit question then dont say anything
come on
If you can read it competently then it may not only solve your issue but add more detail that someone else won't be able to help with
But that's also a bit of an extreme step so understandable to ignore lol
Is there a reason you want to use supervised rather than HAOS or docker?
of course i can solve it myself, I just asked in a chat room in the off chance anyone had a quick answer
maybe i'm used to a different culture. i'm leaving now
This culture is a lot nicer than the IRC culture if that's what you're wondering
I never called you a dummy, or said not to use anything
IRC would be why wouldn't you read the source code 😉
I gave the reason why I don't use it
And I just recommended not using it because it's only caused pain for a lot of people here
Supervised is the self serve pump at the gas station.
So no one's gonna offer to clean your windows 😂🤣
Maybe they left to go see if they can find help on matrix more to their liking
I answer my questions and others by reading the source code all the time
Most recently: #beta message
I haven't used it in years, I googled the man page and the solution was right there....
New card in the UI/dashboard?
yes I want to do these steps and I don't know how in haos_ova-10.3
Download the repo as a zip or with git clone and copy the /dual-thermostat folder to the /www in your configuration folder.
Configure Lovelace to load the card:
resources:
- url: /local/dual-thermostat/dual-thermostat.js?v=1
type: js
The #frontend-archived channel can help with cards, but you just pasted the instructions 😛
You should have /config/www/dual-thermostat/
Another option would be HACS. In any case you want to read this: https://www.home-assistant.io/common-tasks/os/#configuring-access-to-files
Good Morning everyone. I could need some help right now. Over the weekend the home assistant in my office stoped working. Its running on VirtualBox on a NUC, I guess someone shut it down without knowing. The consol tellms me that CLI didnt start and it jumps into emergency console. After booting in rescue mode and looking at the Journal I didnt find any error or warnings exept that the executable /usr/bin/plymouth is missing at the last line. At first I tryed changing the DNS like the guys in the forum did but it didnt work for me. Sadly we have no snapshots or backups of it and I dodnt really want to reinstall if its possible. Any suggestions what I should try? Thanks in advance.
Hi guys, I'm setting up a second HA, this time for my mum. I've flashed a card with the Pi3 version using the Official Pi Flasher and I've plugged int the Pi3 with an ethernet cable directly to the router. I've booted it up and waited several minutes but the Pi never seems to show up on the network at all. Logging into the router shows zero devices connected over wired connections.
The Pi itself has no lights showing on the ethernet port. It shows the green light flashing in a fairly consistent pattern that at first glance looks like activity until you notice the pattern.
I've tried reflashing the card in case something went wrong and I've tried switching to a different Pi 3, but I seem to be getting the same issue. I've also tried switching ethernet cable and trying a different port on the router.
It's hard to know what could be wrong but it's like the Pi simply isn't booting far enough for the networking port to come to life.
Any troubleshooting tips I could try?
A monitor and a hdmi cable would be good
Good idea. Frustratingly not an ethernet long enough to reach a TV, but I'll see what it comes up with anyway 🙂
I‘d say DNS
If it's not even reaching the router to get an IP address or even turn on its connection lights, it seems a bit unlikely :/
Did you actually use the Pi3 image?
Pi Imager describes it as "Home Assistant OS 10.3 (RPI 3)"
Okay, I've moved the router and plugged into a TV. It's in an infinite loop that goes:
Net: No ethernet found.
starting USB...
Bus usb@7e980000: USB DWC2
scanning bus usb@7e980000 for devices...
Then it reboots and does it again. That explains the pattern from the LED.
I'll try a third ethernet cable, see what happens...
No change. Going to see if I can find another device that I can plug in using ethernet to see if it can connect...
Is it even booting from the SD card?
It's booting something called U-Boot (that's the logon on the right of the screen) and it's showing that stuff on the left.
Right, router works with a windows laptop I found that has an ethernet port using same cables, so clearly not the physical network equipment.
*logo on the right of the screen, not "logon"
I'm going to try downloading an image instead of using the one Pi Imager is bringing down...
Aha, where might I find such an image? The official tutorial seems to direct me to Raspberry Pi Imager now 😅
https://www.home-assistant.io/installation/raspberrypi#writing-the-image-with-balena-etcher has the links you need
Found it 🙂
If this doesn't work, I'll try a previous version if I can find it...
Same problem. Trying another Pi again...
Same problem. Looking for an archived version...
The only other Pi I've got I could try with is a V1.2 which I'm pretty sure is 32bit so I doubt would even boot.
Try another SD card?
That is a definite option if I can find one. I only brought one with me that had Raspbian on it. My mum lives on a carless island so nearest shops to buy one are a short passenger ferry ride and a 30 minute drive but I'm thinking that's the only option left at this point.
10.2 has failed, so it looks like new card is my only option. Really didn't want to have to go to the mainland today 😦
I'll have a hunt, see if there's any lying around I don't know about.
The card works as a flash drive well enough, so I'm going to see what happens if I try sticking raspbian on there :/ I suppose I could run it as a docker on raspbian lite but would rather have an all in one solution that is easy to maintain and update from afar.
If this works though I could try a firware update on the Pis to see if that solves anything.
Right, a very similar startup loop happens with Raspbian Lite too, so yeah, hardware not software. Thanks for your help guys, I'll have to get over to the mainland I suppose.
Can Pis boot off USB flash drives? I've never actually thought to try...
Some can, though you wouldn't want to run that way for any length of time
Hmmm, why not? I've got one of these little stubby USB3 thumb drives with 64GB on it so if it's something I can leave behind and be as reliable as an SD card then it'd be a suitable solution as I've never really used it for anything useful. Got it years ago when I had one of the original Macbook Airs with only 64GB SSD itself so it effectively doubled my storage XD
Oof, but it's toasty after flashing it!
They do that quite ok. You need a 3+ or 4 tho at least
Also they are very picky when it comes to external enclosures
USB thumb drives tend to have lower write lifes than SD cards
They're also usually not designed with sustained use in mind
Considering the price for a sata SSD these days...
The hub is likely more expensive
Ah, yes, that would be a problem, hopefully it'll last a month or two then I can get back over to my mum's and set up something more suitable 🙂
It's annoying, I grabbed an SD on the way out the house and thought "I should look for a few more just in case, oh what's the liklihood this is the first time I actually encounter the dreaded SD card failure?!" One 3.5 hour journey and a ferry ride later...
The to_sd adapters stack pile for me
Seems I'm out of luck here, the Pi isn't booting from the USB drive at all. It's a Pi 3 v1.2
The one with the heatspreader?
If yes, you may need to manually do the firmware update
[shrugs helpfully]
If no you may be out of luck
I'd considered a firmware update, but can't boot anything to do it. I'll just have to visit the mainland and find a new SD card for it 🙂
Hey, I'm pretty new, be kind. I just updated HAOS, and now the yellow zigbee2mqtt thing seems to be gone, and I'm getting a bunch of errors about hassio, it's a little long but I can post the code from the logs if that's cool
Please do
Please use a code share site to share code or logs, for example:
- https://dpaste.org/ (select YAML for the language, and consider picking a longer expiry)
- http://pastie.org/ (select YAML for the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.
thanks
I just rebooted the server, but no change, still not loading the hassio stuff
isn't 403 a web forbidden kind of error?
looks like maybe failed update, I'm running the ha repair and core update from the server
see if that helps
command seems to be taking a long time to execute, not sure if normal
Can you check the supervisor, maybe even host logs (select supervisor/host on the top right)? https://my.home-assistant.io/redirect/logs/
the only thing in the top right on that page is a refresh button
home assistant core logs, that's all my options
and I can download the whole log
where do you guys prefer screenshots from, I can take one
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.
just showed up
I think the ssh command fixed it
stand back
by
yeah a whole. bunch of the OS just loaded and now it wants a reboot
I see the drop down menu you were talking about, it wasns't there 2 mins ago
What SSH command? You can also check the logs via SSH and ha supervisor logs/ha host logs or docker logs hassio_supervisor and so on but GUI is easier for most people
then ran
core update```
since it made sense this happened after the update to rebuild and that might have resolved the issue
it was weird, the mqtt stuff didn't load right but my lights still worked while that was going on. I'm pretty new and lost
I'm sorry I don't have all the terminology down...
Don't worry
I had the yellow zigbee2mqtt thing working, and now the yellow icon is gone. My lightbulbs are all saying they have updates, with the yellow icon, then I click install nothing happens
and under the integrations I see the purple mqtt, no yellow, and the zigbee dongle wants to be configured
it fails to configure
ok the yellow one is in addons, I'm an idiot
so my light switches work, but I can't reach the individual lights, they're both zigbee so that's odd
oh interesting, the lights only work when they're powered on.
is home assistant supposed to make me feel like I have a brain injury every few minutes
There's lots of parts working together and it's kind of a black box (in the abstraction sense) so yeah, in the beginning I think so
well that makes me feel a little better
I installed home assistant last week, added in like 5 switches and 20 lightbulbs before I realized I should name them as I go, it's a cluster fuck now
walking around the house like a weird with my laptop muttering thing's like den underscore 4 while my wife laughs at me
You have taken a slightly more complex route too. z2m is a wee bit more complex than zha. (There are benefits, of course. for me they weren't worth it.) 😉
ZHA has improved much over time
yep. main 'benefit' of z2m is the ability to stick it elsewhere in your home. device support is a swings and roundabouts thing.
I can't get some rooms bulbs into pairing mode 😦
Create a naming convention and stick to it.
Once your beyond a handful of things it's a necessity
yeah I did all the stuff I added now
now I can't get the other half of the lights to pair, but I asked in hardware and zigbee about that
I have one of these
https://shooopping.ca/fr/minuterie-de-salle-de-bain-pour-echangeur-d-air-lifebreath-p100000265975/
For my bathroom fan exhaust. Will a Shelly 1 be enough to turn it off/on and will the timer part of the switch still work?
Is there any documentation on recommended ports to keep open to a local network for a home assistant setup?
I solved a personal networking mystery just now where services weren't auto-discovering and I expected them to (such as Sonos speakers, Google cast), and disabling my firewall on the home assistant host worked.
Depends on the integration I guess but you can check the ports for the things listed here: https://www.home-assistant.io/integrations/discovery/
Hello. So I just installed HA onto a NUC using the generic method. I booted the the image on the USB and it brings me to a commandline interface. I'm not quite sure what to do with it now. Any advice?
Open your browser and go to http://homeassistant.local:8123
Tried that, "This site cannot be reached" is what I'm getting
Still nothing
Nope. Note, both the computer I am trying to connect from and the HA system are hardwired if that makes a difference.
Oopsie 🤣
http://<ha_IP_or_host>:8123
If you don't know the IP of the home assistant machine, figure that out first
You are talking about generic method and plugged in USB. What exactly have you done?
MAde what I assumed is a bootable image for the HA OS, but it seems like it runs like a live disk
Seems like http
that doesnt sound like what the install docs say :x
You need to write the image to the bootdrive - the SSD or HDD
I used Balena Etcher
Yeah... If you connect the SSD or HDD with a USB adapter to your computer to write HAOS to it
I have an M.2 installed
And that needs the HAOS image to be flashed on
i think you misunderstood the install directions
Right. Typically when I have a bootable image or live disk I get the option to install on any drive found. This went straight to the CLI
it either wants you to boot a live linux flavor off usb then install home assistant os to a boot drive or take the drive out and flash it
Home Assistant will just show a CLI - that's normal. But the HAOS image needs to be on the m.2, not the USB stick
So I need a linux live disk on the USB drive first?
I think you are right
i'm always right yo
https://www.home-assistant.io/installation/generic-x86-64/#configure-the-bios-on-your-x86-64-hardware it's explained below the images here
Or you remove the m.2 from the NUC, connect it to your computer and use Balena Etcher to flash it to that drive.
Got it, thanks
If this is a latest generation NUC or even 2-3 year older one...sacrificng the entire NUC for HA seems waste of computing power 😃 i would say, if you are a bit of techie, do a docker install. This will free up the NUC for other things as well
Or proxmox if you want HAOS
Q.... i ssh in to HA and i try to ping the outside world (dmi.dk)... nothing happens
why would that be?
fun thing is that i can install add-ons etc.. so it can connect to the outside
its when i ssh in to HA the ping command just sits there
ie no timeout... nothing... i can ctrl+c to abort thou
so how to diagnose?
https://imgur.com/a/c9m2ehe
i'm running on the raspberry pi image
ie i just burned the image file to an sd card
i have also posted issues about tailscale... that is now removed so its all about being able to ping the outside world from a "normal" HA
Try another address to ping
yep
well now i can concentrate on tailscale... i just wanted to rule out the base install
there are an offcial add-on for tailscale by @shut rivet but also one here https://github.com/tsujamin/hass-addons
i have taken the issue on github as i have not seen much reaction on it here or on the forums
What issue?
with the tailscale add-on installed i can't ping other tailscale machines
and the install is as KISS as it can be
just provide an auth key to the add-on and its done
it do show up in the tailscale admin console on their website
maybe also post in #add-ons-archived ?
done, but thanks for the try another address idea
i gues a lot used to use dmi.dk for pings to such a degree they decided to filter out pings
I usually use pings to test firewall rules and that non response immediately reminded me of DROP behavior and since the web site works...
why do i get an access denied with the disk in VMWare and Virtual box
What operating system are you running your VMs on? What's the exact error message?
windows
can't send image
Images of text are horrible
oh
But if you must, use imgur and share the link instead
https://imgur.com/a/8lzqWeW my text recognition software don't work so
That's not access denied
No bootable...
Make sure you followed https://www.home-assistant.io/installation/windows#hypervisor-specific-configuration
that sorted it then?
secure boot is nice and all, but it can be a pain.
2-3 years old. I've got no other use for the NUC.
Guys, I'm at a loss, I went to the mainland after a day wasted yesterday, I bought a brand new micro SD card, a sandisk extreme one, and it still is coming up with this infinite reboot cycle. I can't think what I can possibly do differently. I'm flashing a card, it boots to the U-boot screen, it says it can't find ethernet, it tries USB, then it instantly reboots and tries again. Two Pi 3s are doing this. The same ethernet cable works fine if I plug in a laptop to it. I can think of nothing else I can do, what could possibly be wrong?
What exactly have you done with the SD card?
and what have you done to the pis bootloader?
[smashes head against table]. Solved. The USB cable wasn't good enough to provide enough power. Like the first thing everyone knows to check with Pis is the one thing I didn't.
Pi and pi things strikes again
The main thing I've learned over the years is that with Pi issues, everyone will always blame the SD card when it's never the SD card.
Luckily they are very easy to use
Step 1 usually involves not using a pi :^)
Except it very much is
The decision to move to a microsd one was bad
Not having emmc / m2 available on the 4th gen kinda killed it
Tho really there has been more wrong with it
No them focusing on selling 90% of their stock to businesses instead of enthusiasts killed it
I don't think so
Like yea they totally make no sense for 200 bucks a piece
But they never where a great value based on their price to performance ratio
Like most people totally don't use em as io dev board
Which is really what they were intended for.
Which esp devices are better for regardless
Yes ish. If you wanted to not write c class code you could very well do it on the pi, even with a gui if that would have been needed
But it totally tried to be more on the general compute side of things which just doesn't work out by running old arm cores at unreasonable high speeds without any cooling
I mean pcie lanes or lack thereof is a big issue
They fixed something tho
Before it was shared bandwidth between the USB and the eth interface
Pi4 ssd boot still can’t even do light web browsing without significant delay
Shits weak
That works a lot better when you use powered hubs for whatever reason. Tho yea it's not as great as any proper sata attachment
If I want to move from HAOS to HA container, can I use a HAOS backup to restore, or would I need to start over?
You can extract the homeassistant.tar.gz archive from the backup into your new config directory
Would I run into any issues later?
No
well you're manually gonna be recreating the containers and configuration for those programs unless they have a built in backup and restore functionality
depends on what addons you use i guess
HA installed on VM VirtualBox on windows. suddenly keep receiving You are in rescue mode and the mechine stops. Any ideas?
how can i enable network access, it says disabled. i cant enable it. my installation is trough docker on a raspberry pi 4 ?
This is one of those cases where an image of what you're seeing may help us understand
Howdy — not sure if this is right channel but I am running HA on a ODROID N2+. Used to run on a Pi 3 and am loving the stability here.
Should I use external storage? If so what type? The eMMC is 30% filled and says it at 10% of its life. (I think this might be a new metric, have not seen it before.). Been running on the ODROID since December 2022
SSDs are good
Through which port?
please help with enabling the network access of my home assistant ?
This is one of those cases where an image of what you're seeing may help us understand
Gonna have to be USB 3.0
I don’t think I have an onboard M.2 in this ODROID N2
Yeah that’s what I was thinking — thoughts on using an m.2 SSD in a USB enclosure?
Should be fine
You may need a powered USB hub to give it enough power
please help with enabling the network
Okay, I have some m.2s laying around but have never used a USB adapter didn’t know if it would jive and the controller would take it
Yeah, will use a powered USB hub, already have one running to ODROID. Thanks for the thoughts @humble mirage
The Odroid N2 (at least the Plus variant) has quite a weak USB power delivery. If too much is drawn it becomes unreliable.
@humble mirage, showing my lack of storage support for HA/NDROID, NVME or SATA?
I had heard that — thanks for reminding me
USB connected, it doesn't matter, USB is your limiting factor
It’s across the entire USB bus though as I understand it. I have a Zwave and Zigbee controller plugged into USB already — I think I am going to share the USB bandwidth across any SSD I may plug in along with these other two USB devices
I wonder if the speed of the USB / Stability is going to be worth plugging in an external SSD versus just rolling with the eMMC. Probably next HA deployment is just in a Docker container on larger server 🙂
Only one way to find out — Leeeeeroyyyyy Jenkinssssssssssss
