HA and Kodi on Same Raspberry Pi?

Excuse me for being a noob. I just downloaded the software and successfully installed it onto my Pi. However I have a question. This Pi was usually dedicated to my Kodi setup. Now it appears as if I have to dedicate it to HA.

I know HA has a Kodi integration. However it appears as if it is only if Kodi is running on another system. Is this true or can the Pi run HA and Kodi on the same platform?

Thanks.

I have RetroPie installed and emulation station is what I boot into. I have Hass running and and I can choose to launch Kodi from emulation station. So yep I’m pretty sure there should be no issues.

Thank you for the reply @IKROWNI. I figured this was doable. I guess the real question is how do I install it?

You could follow this tutorial. Install Kodi. Then install home assistant using the AIO installer. Then just drop your config files in there and you should be good to go.

http://www.wirelesshack.org/how-to-install-kodi-on-a-raspberry-pi-3.html

Thank you again @IKROWNI.

I know how to install Kodi on its own. What I dont know is how to get them both onto the same pi. When I initially made this thread I assumed you had to install HA and then Kodi later. However judging from your response it appears as if I can install Kodi first then HA.

Alright I can do that. I can install Kodi first. Then what?

Thanks for your help.

After you install Kodi just follow the instructions to install home assistant with the AIO installer found here

Just use something like putty if you want and pop that command in there and you should be off to the races. Let me know if you need anymore help.

Still no plugin to run Kodi in a Docker contrainer on HASS.IO?

Is there ANY docker container that runs Kodi? I’m guessing you don’t understand how difficult it is to run a CLIENT app with a GUI from Docker? It will basically change everything about what hassio is intended for.

If you really want Kodi on the pi alongside hassio, just run raspbian, and do the alternative install for hassio instead of running the hassio image that runs resinos.

just install dietpi on your pi and you can install all kinds of software from their integrated auto installer which also includes home assistant and many other apps including kodi

full list
http://dietpi.com/phpbb/viewtopic.php?f=8&t=5


1 Like

I did not understand if it is possible to run Kodi and HASS simultaneously on Raspberry Pi?

It is doable to have them both running on a Raspberry. You have to install the desktop version of Raspbian and manually install both Home Assistant and Kodi.

The problem with that solution is that you can’t have Hass.io addons. Is there any solution to have Home assistant with addons and Kodi running together?

You have to run hassio if you want to run addons.

Solution is not being a tightarse and spend the $25 on another Pi!

2 Likes

Not true.
It is perfectly doable, and I found rather easy.
I had Kodi and HA running on the same Pi3 with zero problems, OS on the Pi was Raspbian Stretch Lite

I installed kodi first,

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install kodi

Then installed Home Assistant into a python virtual environment, as detailed here
Also make sure to follow the help to have HA auto start as a service.

I had both running simultaneously side by side for some time and never had any issues. In fact I also had a Plex server running on the same Pi3!

Only issue I found was SD cards were becoming corrupted (happened 2 times), but I guess this was due to the constant writing for the HA log, which I think is now improved in the latest version…im sure ill be corrected by the team if I’m wrong.

1 Like

I said it was possible, the only problem is that you can’t use addons.

1 Like

OK, but you for sure don’t need to install the ‘full’ version of stretch, lite is fine.

And regarding the addons, in my opinion there isn’t enough support and diversity to make that switch yet.

1 Like

Can you write how to install Retropie and HA on one RPi?

Install Raspbian.

Install RetroPie

Install Home Assistant in a python VENV or on Docker…

Thanks for the answer. I did it a little differently. I installed Retropie together with Raspbian from the image https://github.com/RetroPie/RetroPie-Setup/releases/download/4.4/retropie-4.4-rpi2_rpi3.img.gz and later Home Assistant according to this instruction https: //www.home-assistant.io/docs/installation/raspberry-pi/. At the end, I just added HA to autostart using this tutorial https://www.home-assistant.io/docs/autostart/systemd/

Bit late to join in, but i have Pi3 running OSMC as OS (is based on kodi).
Then HA in virtual environment and it runs very well. (I run kodi on all machines in house but this pi is not the mysql server for the network, that could impact performance)

How did you do that? I have a Pi4 with an external SSD running retropie. Wanted to run Hass with it and then you a tablet for a wall UI