-
-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-Software | Home Assistant - Supervised #4709
Comments
Hi, honestly I don't think so. Best to my knowledge it require @MichaIng |
Maybe with a warning that some things are broken then? |
@MichaIng could explain it better thy I. But if I'm not mistaken |
The only solution would be a docker installation then? |
the installation test I did ended up in a mixture of docker container and components (Network Manager) outside the container. Just check the forum post I linked above. |
OK, thank you! I will try the installation. |
This basically turns the OS into Home Assistant OS. I'm not sure about the benefit compared to flashing Home Assistant OS in the first place, it does not even support any other SBC then the ones where Home Assistant OS images are available for. We ship Home Assistant (core) for doing what its supposed to do: Managing smart home devices. This is the only way we can guarantee compatibility with other software installed for their purpose, which is one of the main goals of DietPi. And I'm also not keen to have two different HA install options, as those would be the case: The way Home Assistant supervised is installed has nothing to do with the way Home Assistant core is installed, it is a complete different "product". I can understand that it is convenient to have one web interface to manage everything, but often, the more it can do, the more it demands a specific setup and limits compatibility with other software. And finally there is nothing left for having DietPi as the whole system is turned into HA OS, and we had to deal with a lot of reports why this and that is not working anymore 😉. |
Btw, I just updated the FeatHub request, which still had the old name HASSIO: https://feathub.com/MichaIng/DietPi/+105 As it is a very frequently requested implementation, I'll keep this open and maybe I find time to do a test install and see whether we can make it work with ifupdown and limit or change its other demands. But as said, from all I read, even the statements of the HA team themselves, you should simply flash Home Assistant OS if you want this whole package. |
Thank you! It would be so nice to have all HA features available on Dietpi. |
The Installation worked very well. Unfortunately Pihole is broken then. No IP v4 Adpters bound and no valid ipv6 entries in setupVars. |
😉 Not having Network Manager installed in the first place would be required for us to even think about implementing it. I don't know about how Network Manager sets up interfaces by default and how HA Supervised may further configure and change this away from what our tools and Pi-hole expect or are able to deal with. To get info about the apparent network setup, use the following three commands to list adapter info, assigned IP addresses and routes: ip l
ip a
ip r Would be interesting what happened if you simply purge Network Manager again (breaks network connection at first) and let the hopefully still installed ifupdown again take over (after a reboot). Major question is whether HA Supervised actively makes use of NetMan, or whether only the installer wants it to have a consistent network stack across instances, while every other network stack works just fine. Docker at least sets up the host <> guest network independently. |
ive used the install script on dietpi many times without issue. i always use dietpi as the base. with that said i've noticed on bullseye you have to be careful when making network changes after installing home assistant. make sure you dont say yes when asked if you want to uninstall un-needed things as it will uninstall network manager and it's dependencies and it isnt fun to fix |
This is the output:
|
This sounds good! Can you maybe explain the exact steps how you successfully did it? :) |
One thing is to assign your IP as static IP. Not sure whether NetMan took over and changed it to DHCP, and no idea how to set it up as static IP in NetMan, if so, though. That may already be the issue with Pi-hole, when the IP changed due to DHCP. |
ahhh, yes... This was changed, it was static before. |
@HyperCriSiS I had to manually grab netman, and pretty much all it's dependencies and their dependencies. I then moved them into the cache location for apt and then used apt to install everything as it was easier than trying to do all the deb packages. I had reinstalled dietpi a few times because of this issue until I noticed exactly what was causing it, then I went about fixing it. After I was done I took a full image of my sdd so I can just restore to an already all set up state if I ever have to reinstall. Also rebooting didn't help at all, and manually setting the network info in dietpi-config didn't help either. |
That's exactly the point. Installing netman will break |
omg, I am not so familiar with Linux so I think I can not fix this. =D |
it has personal stuff in it as i run a bunch more than just home assistant on this pi. but i will see if i still have all the packages saved and ill zip them up and post them |
ok i dont still have it. do apt install network-manager and give me the list of dependencies it say's missing. and i will grab them all and send it with instructions on how to do it @HyperCriSiS |
Awesome, thank you so much! |
it isnt ha doing the uninstall. it is dietpi if you make changes to the network after installing ha. it will ask if you want to remove stuff you dont need anymore. saying yes is what makes it delete stuff. if you havent done too much on the system i would just grab a backup of your ha install and any other stuff you might need and reinstall dietpi as it is the easiest and fastest way to fix |
again guys, if you install HA supervised, you should not use dietpi-config anymore to adjust network details. This has been taken over by Network Manager. Hense nothing will be uninstalled. This is exactly the downside of HA supervised. |
ya you've said this. I'm simply trying to help him fix it now that it is broken, which is pretty obvious. As for a "fix" for dietpi maybe put a warning in the network section of dietpi-config telling people not to use it if they are using ha supervised. |
The best installation method seems to be a container. Am I wrong or did they ease the installation process? |
I guess you linked the HA version without the supervised stuff. Am I right? |
Yeah I think you're right. Seems not to be supervised. :( Incredible how much you guys did in the last months. The new Dashboard looks awesome. |
Amazing!! Will other services run along with it or will docker eat up all resources? |
that would more depend on the amount of ram you have and how much each thing uses. im using it on a 2gb pi4 and it has enough ram for other stuff to be run(it's what i originally used this pi for way back when i got it). as for changes, not really. mostly it was just taking settings from my working setup on my 8gb pi4 and using them for this test, reading the old install script to figure stuff out, grabbing a few bin files off the 8gb. theres one issue im trying to work out, dbus is messed up and cant figure out why. if i knew more about how to make docker compose files i'd make one(prob gonna look into it). but i will upload the system image once im done so it can be used/help with getting it actually added to diet pi |
hmmm my install that ive been using for a long time now the supervisor decided it no longer wants to run. the best part is it isnt giving me logs. the test pi is doing the same thing. so thats fun. ill keep things updated. also a thought occurred to me. with me running everything outside of home assistant, why am i using it supervised. the only addon i ever found useful was the file browser and that is easy to replace by just pointing docker to use an easy to find folder which i already do. |
found a tool to create a compose file. also my supervisor decided to just start working again so who knows what the hell is up with that. i still have to work out the dbus issue iirc. i accidently wiped the sd card i was using to test this so i have to start over. but this compose file will make things a lot easier to restart Config file attached. Click to expand!
|
Hi, |
You have much more devices to add and also better possibilities to customize the Dashboard which per default is very restricted and kinda bad. |
it's still up and running. it has stopped like once or twice after i made that post and has been fine since so not sure what it's issue was |
you can add devices and dashboards using hacs and you can install hacs without the supervisor. at this point i feel the supervisor is more of a hindrance than anything. all the addons are just docker containers, so it isnt really any different than just running those on their own. the only difference is that using it as an "addon" in home assistant means if home assistant breaks/wont start for whatever reason, none of the addons will either. which is pretty shitty tbh. it's a lot better to just use portainer if you want a ui to manage docker containers. |
Interesting: https://www.wundertech.net/how-to-install-hacs-on-home-assistant/ Probably we can do this even with the native HA installation. Docker is still required for the add-ons, but in theory? |
Ah, I understand just now that HACS is not for addons, but for additional integrations, themes and other customisation, isn't it? Thanks for the link, so it can be installed into HA core as well. Looks like a reasonable addition to our HA implementation, but not related to HA supervised. |
correct, it might be enough to make people not want to bother with supervised. |
But without the supervisor addons are not possible, or is there also a way without supervisor? |
At least you'd need to manage the addon's containers manually. So yeah, it is not exactly user friendly to use addons without HA supervised. |
Could use portainer. Then it's pretty much the same experience. A better one when you realize you can set the data locations to whatever you want so you can easily find them instead of wherever HA puts it |
That's true. But I guess users would like to have all HA related stuff in a single web UI and not a second process/webserver/UI for the addons. Also it is simpler to find new addons via HA supervised, compared to browsing the Docker registry or some website manually for them. But it's good that this is an option as well for those who do not have an issue with above points. |
Is there any chance that the supervisor could be part of the next releases? 😀 |
I don't think so. |
More likely HACS, but without the supervisor. |
Shall we close this issue with the merge of #5802 (HACS integration)? I don't think the whole HA Supervised is feasible for DietPi integration in general. |
I agree with you @MichaIng |
Merged |
Hi,
is there any chance that you can add a supervised Home Assistant installation?
https://github.com/home-assistant/supervised-installer
You have much more possibilities with a supervised version :)
Regards,
Hyper
The text was updated successfully, but these errors were encountered: