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: 16521
Latest: Vet4Christ
New This Month: 9
New This Week: 1
New Today: 1
Stats
Total Posts: 133093
Total Topics: 16543
Most Online Today: 83
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 1
Guests: 34
Total: 35

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

P5 Matrix on FPP 8.0 help by tbone321
Today at 06:32:47 PM

New K16s by dkulp
Today at 06:07:48 PM

Lights don't work on K16 by tetleytealeaf
Today at 03:12:11 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

HELP - Panels Blown or PocketScroller messed up by DaSarge
September 06, 2024, 07:38:55 AM

PiCap-V2 String port webpage display issue by JonD
September 06, 2024, 06:00:13 AM

Recent update broke ArtNet Advanced Plugin on RasPi only by k6ccc
September 05, 2024, 04:28:51 PM

REST API: Start playlist and set repeat flag to true by Pweazle
September 05, 2024, 02:46:33 AM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod