Author Topic: Creating .NET library with API calls into xlights  (Read 1108 times)

Offline Shven11

  • Newbie
  • *
  • Posts: 2
    • View Profile
Creating .NET library with API calls into xlights
« on: January 26, 2021, 02:36:28 PM »
Hi All,

I was wondering if anyone knows if there is a way to create a .net library that I can store my xlights sequences on that I can call on when certain "triggers" happen. I want to incorporate a touch screen with my display next year that someone can choose the song that they want to play. I have a friend that thinks he can write the script but he did ask me if there is a way to access these files in real time or if not a predetermined library. I will be using an old windows PC to run FPP or if xlights has "background services" (thats what he asked) would be great. I am not familiar with all of this but If someone knows if this is possible I greatly appreciate it!

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: Creating .NET library with API calls into xlights
« Reply #1 on: January 26, 2021, 05:36:51 PM »
If running FPP as master, just use the "Big Buttons" plugin to launch commands to insert the desired songs.   It's very simple.

That said, FPP also has a very extensive REST api so you could easily have something that just sends off REST calls to start the various sequences or whatever depending on the button pressed.     If you go to http://fppipaddress/api/help.php you can get an idea of the various API's that are currently available, with more being added all the time.     Almost all of FPP's REST api's and Commands are also available via MQTT so if you have something that can fire off mqtt events, that could be usable as well.
Daniel Kulp
Framingham, MA

Offline jnealand

  • Hero Member
  • *****
  • Posts: 1421
    • View Profile
Re: Creating .NET library with API calls into xlights
« Reply #2 on: January 26, 2021, 07:10:34 PM »
You might also want to look at the remote falcon plugin.  Start at remotefalcon.com
Jim Nealand
Kennesaw, GA

Offline Shven11

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Creating .NET library with API calls into xlights
« Reply #3 on: February 02, 2021, 03:54:21 PM »
Thanks for the responses. I have started looking into remote falcon and its capabilities. I appreciate it, I will reach out if I have anymore questions. Thanks again