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: 16897
Latest: 1492
New This Month: 13
New This Week: 1
New Today: 0
Stats
Total Posts: 135490
Total Topics: 16988
Most Online Today: 91
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 2
Guests: 77
Total: 79

Display TEXT to LED Panels form REST API

Started by ariemusbandi, January 10, 2025, 01:55:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ariemusbandi

I have a project to display data from a REST API on a P5 LED panel connected to a Raspberry Pi 3 and Falcon Player. The API data contains temperature, air humidity, and text messages. How can I create a script for implementation in Falcon Player?

CaptainMurdoch

FPP's "/api/overlays/model/:ModelName/text" REST API endpoint can be used to put text on an Overlay Model created for your P5 display.  See the 'REST API Help' section under the Help menu for more info.
-
Chris

ariemusbandi

I was try with curl command like this

curl -X PUT "http://192.168.33.249/api/overlays/model/LED%20Panels/text" \
-H "Content-Type: application/json" \
-d '{
  "Message": "Hello",
  "Position": "L2R",
  "Font": "Helvetica",
  "FontSize": 12,
  "AntiAlias": false,
  "PixelsPerSecond": 5,
  "Color": "#FF000",
  "AutoEnable": false
}'

and the response is 
{ "Status": "OK", "Message": ""}

but nothing happen in my LED Panels, What shoot i do

CaptainMurdoch

The overlay model is probably not enabled.  Either use the AutoEnable above set to true or you can use the /api/overlays/model/:ModelName/state endpoint to enable the model in a separate call.
-
Chris

Support FPP

+- Recent Topics

Virtual Display not working? by dkulp
March 19, 2025, 11:45:01 AM

PixelOverlay-Clock - Revisited Again by jnealand
March 18, 2025, 06:00:53 PM

PixelOverlay-Clock.php works but I have questions... by datajack
March 18, 2025, 04:38:32 AM

Backup Feature not functional by efamlights
March 16, 2025, 11:58:28 AM

WS2811, Raspberry Pi 5, GPIO, could not initialize. by Ulysse-srfc24
March 16, 2025, 05:07:48 AM

K16A-B Issue by nolatron
March 15, 2025, 01:52:26 PM

F16V5 and SRx1 v5 by jkp
March 15, 2025, 07:19:44 AM

Differential Board: PSU & Enclosure by hakko808
March 14, 2025, 09:17:01 AM

FPP 8.4 Back up by Jradical
March 13, 2025, 05:38:18 AM

FPP on Pi5 won't start with "FPPD boot delay" set to 2 min or higher by dnapier65
March 12, 2025, 05:39:00 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod