Jump to content

Recommended Posts

Posted
On 4/20/2024 at 2:00 AM, Alexx said:

All the above are 5  commands?

 

Yes. If you copy and paste everything into the terminal, it should do the job.

Posted (edited)

Hi Igor,

great work on this HA supervised image for the Edge2 oowow.

I install it and all fine, but no access to the usual http:ip:8123  and when I try to list the services or the actual "gdbus introspect --system --dest io.hass.os --object-path /io/hass/os" error: "The name io.hass.os was not provided by any .service files" 

 

If I can update or re-install the HA would be nice to know.

System:

Khadas Edge2 Pro, 

Install "Armbian_24.2.2_Khadas-edge2_bookworm_legacy_5.10.160.oowow.img.xz" from ooWOW

All working fine, I can connect with SSH as usual, can do updates or install; but nothing else for Home Assistant.

 

Any comment is apreciated, have a good one.

Richard.

 

Edited by _Rick
Posted

Hi Igor,

the image: "Armbian_24.2.2_Khadas-edge2_bookworm_vendor_6.1.43-homeassistant_minimal.oowow.img.xz" work and after few mins I have access as regular HA.

There are few warnings:

Unsupported system - AppArmor issues System is unsupported because AppArmor is working incorrectly and add-ons are running in an unprotected and insecure way. 

Unsupported system - CGroup version:  System is unsupported because the wrong version of Docker CGroup is in use.

 

Is it something you can fix in the image and I'll wait or I can upgrade and it will be fixed ?

You did a great job man!

 

I'll try to fix it for now, again thank you !

Richard.

Posted
1 minute ago, _Rick said:

Unsupported system - AppArmor issues System is unsupported because AppArmor is working incorrectly and add-ons are running in an unprotected and insecure way. 

Unsupported system - CGroup version:  System is unsupported because the wrong version of Docker CGroup is in use.


This is hard to say as we are talking about non standard Linux kernel. If HA works, IMO you can safely ignore those problems or:

 

4 minutes ago, _Rick said:

Is it something you can fix in the image and I'll wait or I can upgrade and it will be fixed ?


New kernel is being developed for several years and it might already be working for this use case. You can try by switching to it (armbian-config -> system -> alternative kernels -> select EDGE 6.8.something), but I give you no warranty that it will work. You might need to start with a new image. If it works well, report back and we will generate images by using that kernel. I know many things in graphical areas are missing there, but for this uses case we don't need HDMI output anyway ...

Posted

Hi Igor,

if this can help or you might already know this: 

AppArmor issues:

"The solution: If the AppArmor is not enabled on your host, add this to the Linux kernel boot parameters: apparmor=1 security=apparmor and then reboot your operating system."

 

CGroup version:

"The solution: In a supervised installation if you have switched to CGroup v2 you will need to revert what you did. Or you can re-run the supervised installer to fix it. Please be sure to reboot the system after the installation is done.

You should never see this issue on Home Assistant OS as all versions of the OS ship with a supported CGroup version."

 

If that help you, have a great one!

Richard.

Posted
22 minutes ago, _Rick said:

you might already know this

 

I will look into this when time permits but I don't promise to stick in researching very long. Kernel behind this specific hardware, this image, is developed with a solo purpose - to sell hardware and its dead end. For amateur usage, running desktop and similar toying this is usually enough. Rockchip cares only that hardware features works, everything else is unmaintained. We are looking at possible impossible tasks, weeks of work, which is something I can't afford to do in exchange for compliments. This is not Armbian problem. Try switching to normal mainline kernel (named EDGE, 6.8.y, that should not have those errors and that I know where to look for fixing if warnings will pop up. Also I can predict I will not lost more then few hours). 

Posted

Hi Igor,

I understand, I agree, this forum is for the Armbian, not the board.

 

Thank you again for your time, for what is working now, it is waaaayyy faster than my Pi3b !!!

 

In any case, a big thank you for your time!

Richard.

Posted

Tested on Rock5b:

 

Needed to solve apparmor warning :

 

Check that extraargs=systemd.unified_cgroup_hierarchy=0 apparmor=1 security=apparmor in /boot/armbianEnv.txt

Then update-initramfs -u

reboot

Posted (edited)

@Igor In the past I edit the supervised installation script (I've updated it now) to skip machine checks: all work fine (HACS too, on X96 max+ S905X3) and at that time debian 12 was not supported by HAOS.
Now it is supported (I'm tring with Armbian 24 unofficial inovato-quadra on T95 Max+ with Allwinner H6)  but "Unsupported OS" still remain, maybe because of Armbian as >derivate<  (?)
Log:

[supervisor.resolution.evaluations.base] Detected unsupported OS: Armbian-unofficial 24.5.0-trunk bookworm (more-info: https://www.home-assistant.io/more-info/unsupported/os)

https://travis90x.altervista.org/home-assistant-supervised-on-armbian-tvbox/
https://github.com/Travis90x/supervised-installer

Edited by Travis 90x
Posted
On 5/16/2024 at 12:11 AM, Travis 90x said:

Now it is supported (I'm tring with Armbian 24 unofficial inovato-quadra on T95 Max+ with Allwinner H6)  but "Unsupported OS" still remain, maybe because of Armbian as >derivate


This part 
https://github.com/armbian/os/blob/main/userpatches/extensions/ha.sh#L110-L111

is critical.

 

On 5/16/2024 at 12:11 AM, Travis 90x said:

I'm tring with Armbian 24 unofficial inovato-quadra on T95 Max+ with Allwinner H6


BTW. This hardware will now be officially supported https://www.armbian.com/inovato-quadra/ and there will be dedicated HA image too. Ofc if image is used on some other hardware there is no warranty that things will work.

Posted

I wrote the image to SD card and booted with it. I have a doubt. Should I boot with the switch in SPI or wMMC? I tried in the eMMC position and the server does not boot. Does not get a ip even.

Posted
51 minutes ago, Home Assistant said:

I wrote the image to SD card and booted with it. I have a doubt. Should I boot with the switch in SPI or wMMC? I tried in the eMMC position and the server does not boot. Does not get a ip even.

 

Nobody knows what you are doing. Which device?

Posted

Sorry about that. I had flashed Armbian minimal home assistant package to sd card for installation on Odroid N2+.  My doubt is should I keep the switch in SPI or eMMC to boot? 

Thanks

Posted
21 hours ago, Home Assistant said:

sd card for installation on Odroid N2+


You always proceed with Armbian install instructions. If there are some special hacks, they are described at download pages https://www.armbian.com/odroid-n2/ the rest is generic https://docs.armbian.com/User-Guide_Getting-Started/

 

All our images works without Hardkernel proprietary SPI boot loader, so choose eMMC. In case you have troubles with HA image, try some other (1st minimal was tested manually) from download page to make sure. Getting IP takes some time, but more then few minutes (big slow SD card).

Posted

Hello,

 

I am new in linux enviroment, so plese apologized me if I'll do stupid questions.

 

i got a ondorid N2+ with 

 

Armbian 24.2.2 bookworm 

Operating System: Debian GNU/Linux 12 (bookworm)
Kernel: Linux 6.6.32-current-meson64

Architecture: arm64
 

and home assistant supervised preinstalled.

 

All works fine and thank you for your great job.

 

Inside home assistant I have installed Nginx plugin and Duckdns to manange communication in SSL with external services (like google assistant).

 

Now I would like to install nginx manager as "normal" container directly outside of Homeassistant and not as  homeassistant container:

 homeassistant/aarch64-addon-nginx_proxy:3.9.0  

 

To do that I prefer to use docker compose (because the manage of parameter it's seem most easy to do). 

And now the question: It is possible to reverse "configuration" of preinstalled homeassistant to a yaml configuration? If yes, can you help me to find this information to recreating the yaml config?

Or, I can manage only nginx manager container with docker compose (plugin) + config.yaml? Some note or advice about that?

 

I hope not in OP.

 

Thank you in advance.

Posted
On 7/31/2024 at 10:51 AM, Tera said:

Inside home assistant I have installed Nginx plugin and Duckdns to manange communication in SSL with external services (like google assistant).

 

Now I would like to install nginx manager as "normal" container directly outside of Homeassistant and not as  homeassistant container:

 homeassistant/aarch64-addon-nginx_proxy:3.9.0  

 

To do that I prefer to use docker compose (because the manage of parameter it's seem most easy to do). 

And now the question: It is possible to reverse "configuration" of preinstalled homeassistant to a yaml configuration? If yes, can you help me to find this information to recreating the yaml config?

Or, I can manage only nginx manager container with docker compose (plugin) + config.yaml? Some note or advice about that?

 

You will probably be better off installing Nginx (Proxy?) Manager as an add-on, assuming it is available.  It will be much easier for you that way.

 

 

Posted (edited)

Hello, can i install this on amlogic s905x?

This one looks similar to cpu of my tvbox https://www.armbian.com/lepotato/

2gb, 100mbit, s905x

 

Armbian_24.8.1_Lepotato_bookworm_current_6.6.46-openhab.img.xz is meant for this hardware, right?

Tried to flash it but it doesn't work and boot me into android recovery menu. Not sure what to do next

Edited by shubkin
Posted
1 hour ago, shubkin said:

This one looks similar to cpu of my tvbox https://www.armbian.com/lepotato/


Sadly this is not as easy as it might look. Images are enough different that you can't boot images from similar devices. Sometimes it works, sometimes not. 

 

TV boxes are not supported. Here you can learn why:

 

1 hour ago, shubkin said:

Not sure what to do next


Perhaps buy hardware that is supported? Or dive in, spent days, weeks or whatever is necessary to make it boot. Once you are done with that part use instructions from first post to generate HA image.

 

This is what Armbian TV boxes community do. You have a lot of useful information on this forum. Use it.

Posted

@shubkin  Here are my recommendations, fist try to get plain Armbian to run on your box.  (https://www.armbian.com/amlogic-s9xx-tv-box/)

 

Then if that works, follow the DIY instructions on the first post to make your own build with the framework installed (ENABLE_EXTENSIONS="ha) and then try running that build.

 

My personal Home Assistant server is running on a TX3-Mini box which is Amlogic S905w, but I just run the standard HA docker build as that server setup predates this Armbian extension.  

 

So it certainly is possibly to run HA on a box like you have (given all the caviates mentioned in the Read First post Igor Link to above)

Posted

@SteeMan @Igor thanks for replies.

I got debian working on my box but scrips from the first page didn't do anything. When I'm enter

 -sL bash https://github.com/armbian/os/blob/main/userpatches/extensions/docker-ce.sh

 system just show me a lot of text but nothing happen or installing.

root@aml-s9xx-box:~# cat /etc/os-release

 


PRETTY_NAME="Armbian 24.11.0-trunk.81 bookworm"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.armbian.com"
SUPPORT_URL="https://forum.armbian.com"
BUG_REPORT_URL="https://www.armbian.com/bugs"
ARMBIAN_PRETTY_NAME="Armbian 24.11.0-trunk.81 bookworm"
 

Posted
On 1/15/2024 at 4:00 PM, Igor said:

Main difference between HA OS and Armbian with HA is that underlying OS here is clean Armbian Debian Bookworm and there is custom dedicated buildroot OS that is provided for a few single board computers, primarily for Raspberry Pi. We provide HA on a small selection of single board computers, but in theory, its possible to run this on (almost) all that are possible to build.

This is insanely good!!! I have a custom HA setup but was wondering if the armbian HA builds support the official add-ons. I think the official add-ons let you install MQTT, databases and other docker images with a single click.

Posted
3 minutes ago, OttawaHacker said:

if the armbian HA builds support the official add-ons

 

Probably what you are asking works, best to just try image on something, perhaps VM. I only use one (1) official add-on, which is Z-wave ..

Posted

Hello everyone,
I've been trying for days to get Home Assistant Supervised to work properly on my Raspberry PI 5 -> unfortunately without success.

I installed it once but then had sound problems, or rather no sound at all and only sound with this HACS Alsa fix. Which unfortunately doesn't work for my setup. I had already given up hope until I found this thread here by chance.

Did I understand correctly that Supervised works perfectly with add-ons on this image?

And which version would be the right one for my PI?
This one -> https://github.com/armbian/distribution/releases/download/24.8.4/Armbian_24.8.4_Orangepi5_bookworm_vendor_6.1.75-homeassistant_minimal.img.xz ?

Greetings

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines