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: 16932
Latest: encore
New This Month: 7
New This Week: 2
New Today: 0
Stats
Total Posts: 135612
Total Topics: 17018
Most Online Today: 129
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 0
Guests: 78
Total: 78

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

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod