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: 135491
Total Topics: 16989
Most Online Today: 154
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 0
Guests: 137
Total: 137

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

HA MQTT plugin for single model by s1godfrey
March 20, 2025, 08:21:46 PM

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

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod