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: 16528
Latest: fugley
New This Month: 16
New This Week: 1
New Today: 0
Stats
Total Posts: 133184
Total Topics: 16558
Most Online Today: 87
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 2
Guests: 52
Total: 54

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

Raspberry pi 4 issues by dspenman
Today at 04:54:47 PM

K2-Pi0 no output to pixels by ironsniof
Today at 02:30:33 PM

Varying Effects for Groups of Submodels by JonD
Today at 01:14:56 PM

So in Xlights what RGB in string settings do I use to get the colors correct by JonD
Today at 08:18:08 AM

K2-Pi0 Unable to Start FPPD by darylc
Today at 12:45:13 AM

Control lights directly from the GPIO of a PI by Poporacer
September 15, 2024, 12:25:42 PM

New K16s by dkulp
September 15, 2024, 08:23:40 AM

FPP After Hours Music Plugin has been updated by jcross
September 14, 2024, 08:49:51 PM

Intermittent Test Pattern failure on Channel Outputs > LED Panel by k6ccc
September 14, 2024, 08:11:30 PM

P5 Matrix on FPP 8.0 help by darylc
September 14, 2024, 07:09:50 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod