News:

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

+-+-

+-User

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

+-Site Stats

Members
Total Members: 16961
Latest: CWalters
New This Month: 13
New This Week: 1
New Today: 1
Stats
Total Posts: 135706
Total Topics: 17036
Most Online Today: 285
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 0
Guests: 276
Total: 276

Help for my LED Pit board project

Started by Octonath, May 28, 2024, 10:49:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Octonath

Hey, I'm new to this scene and I would like some help, I'm in a small team who just did and finished the 24H of le Mans (Bike) and I was tasked to make a proof of concept of an LED Pit board. I need a way to send text to FPP to display the lap time and laps remaining. For now, I'm thinking of a script on FPP with arguments that I execute via the REST API but I can't seem to find a way to do it, could you help me ?

CaptainMurdoch

The simplest method would be to use the Matrixtools plugin to display text on an Overlay Model.  If you want to make it more fancy, you could make a simple plugin or web page which had a form which would POST the necessary REST API call to display the text supplied in the form.

Are you planning on making a WS281x-based pixel matrix or just use something like P10 panels?  If you already have a display, you can install the plugin and play around with it.  If you don't, then you can plug a Pi into a monitor and create a model for the monitor and test using that.
-
Chris

Octonath

Thank you, just had a try with the Overlay Model and it's a good way to solve the "how to place the text" problem. Could you elaborate a bit about the Fancy way because in my mind I had that idea because it won't be necessarily me that use it, does matrix tools provide some REST API documentation by any chance ? And about the panels I don't have them yet but I was planning on using 10 P5 panels for an area of 64 cm x 80 cm but maybe P10 could do the trick for how far the driver is seeing the pit board.

CaptainMurdoch

The Matrix Tools plugin uses FPP's REST API.  In FPP, click on the Help menu and go to the REST API Help screen.  Look at the 'overlays' endpoints for help on using those to enable/disable a model and put text on a model.

You could make your own .html or .php webpage with a form on it and JavaScript to call the FPP REST API.  The simplest way to be able to use that web page would be to put that file into /opt/fpp/www on the FPP system, but you could go all the way and create/install a plugin with the file(s) in the plugin.  As far as I know, we don't currently have any other way for a user to add a simple web pages with form to FPP. 
-
Chris

Octonath

Thank you again, works well like that but I got a final question, is there a way to authorize a PUT request from another domain ? I've tried a GET request from my own domain and it works well but as soon as I try a PUT request it refuse the connection, I have tried messing with the .htaccess files but doesn't change anything. Do you know a solution ?

Support FPP

+- Recent Topics

FM Transmitter – Si4713 by k6ccc
June 24, 2025, 09:15:18 PM

Limit for GPIO pixels by Poporacer
June 18, 2025, 07:13:49 AM

FPP 8.5.1 Abnormal Error - Can Not Parse data file - all outputs disappear by Compudon
June 12, 2025, 05:27:08 PM

Kulp K8-B-Scroller and P5 Panels? by dkulp
June 12, 2025, 12:11:45 PM

Keep lights on after effect finishes by Jeremia
June 12, 2025, 03:06:48 AM

Abnormal Conditions - May cause poor performance by Compudon
June 10, 2025, 06:05:59 PM

12v pixel for holiday lighting and permiter lighting by algerdes
June 08, 2025, 07:43:14 PM

Help With Expected Current Draw by jnealand
June 08, 2025, 12:44:40 PM

K16A-B v3 Cape not detected on power up...reboot and it's detected. by bmcin
June 06, 2025, 10:43:25 AM

Pipe and tube bender by algerdes
June 06, 2025, 08:50:51 AM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod