News:

LATEST RELEASE:  FPP 8.0 - Download from here - https://github.com/FalconChristmas/fpp/releases/tag/8.0

+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Site Stats

Members
Total Members: 16522
Latest: MrLV83
New This Month: 10
New This Week: 2
New Today: 1
Stats
Total Posts: 133120
Total Topics: 16545
Most Online Today: 87
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 1
Guests: 41
Total: 42

FPP as Home Assistant Add-On

Started by Ampig, April 25, 2024, 01:10:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ampig

I was wondering how viable it is to run FPP as an add-on for Home Assistant, essentially a glorified Docker container.

I'd really love to get this going so that I can consolidate my hardware and better integrate with some bespoke software pieces I have in the works.

I've played with some Docker proof-of-concepts outside of HA, and even had a crack at creating an add-on based on the docker-compose supplied in the FPP Git repo. I got FPP "running" in HA, but with numerous errors on the console, no mapped persistent storage, and no ability to view the web UI.

Given all these issues and my inexperience with Docker, I thought I'd consult the experts!

Thanks, love your work.

PixelsAndPepsi

I run both my main FPP player and my Home Assistant server as docker containers on the same docker server.  I use a slightly modified copy of the docker compose file in the FPP repository but it is mostly the same.  I created that repository version of the docker compose file as I was setting up my docker container.  I use FPP MultiSync, E1.31, and ColorLight channel outputs with this container and have it talking to HA via MQTT.  I also have the externally developed Falcon Player integration installed in HA so I can control FPP from within HA.

Ampig

Happy to hear I'm not alone in this endevour!

However, it sounds like you're running Dockerised HA. I'm pretty set on preserving HA using HAOS on a physical host for the convenience of add-ons and such.

Add-ons seem to require just a Dockerfile, with no support for docker-compose files. As such, I too tried tinkering and converting the docker-compose file to a Dockerfile. My primary concern lies in that I am unsure how to manage persistent storage volumes without control of a docker-compose file or the docker commands themselves.

As far as I can tell, FPP requires a volume at /home/fpp/media. However, HA add-ons are provided /data for persistent storage. Don't know enough about docker and volumes to fully understand how to handle this.

Once I got the add-on installed and running, the console shows the following and the web UI cannot be reached:
------------------------------
Running FPPINIT start
FPP - Checking for required directories
FPP - Directories created
ERROR: Unable to open /sys/class/graphics/fbcon/cursor_blink for writing.
Setting file ownership
mkdir: cannot create directory '/run/php': File exists

Support FPP

+- Recent Topics

Setting up FPP and Xlights to talk to PCA9685 (Servos) by Poporacer
Today at 05:21:56 PM

Can I control 12 volt WS2811 Pixels with the PI Hat. by tbone321
Today at 04:06:04 PM

P5 Matrix on FPP 8.0 help by cmora111
Today at 02:27:47 PM

Falcon srx1 psu problem by Vet4Christ
Today at 04:34:56 AM

HELP - Panels Blown or PocketScroller messed up by DaSarge
September 09, 2024, 05:03:25 PM

Lights don't work on K16 by jnealand
September 09, 2024, 07:23:53 AM

New K16s by dkulp
September 08, 2024, 06:07:48 PM

LED Panel issue after upgrade to v8 by k6ccc
September 06, 2024, 05:54:33 PM

Leave eth0 Gateway blank by colonelcline
September 06, 2024, 09:19:53 AM

FPP After Hours Music Plugin has been updated by ckuhner
September 06, 2024, 07:58:54 AM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod