News:

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

+-+-

+-User

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

+-Site Stats

Members
Total Members: 17209
Latest: MichaelGilley
New This Month: 8
New This Week: 4
New Today: 1
Stats
Total Posts: 136927
Total Topics: 17300
Most Online Today: 305
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 0
Guests: 224
Total: 224

Enable/disable schedule through API or button

Started by info@trans-mission.tv, December 07, 2025, 08:38:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

info@trans-mission.tv

Hi I was just wondering if it is possible to have a button to turn on or off the schedule?
I am happy to do this through scripting or the api if this is possible.
Cheers
S

MikeKrebs

physical button or virtual button? Both possible. Look at Big button addin for FPP. Attach start playlist or stop playlist to two buttons.

If physical button, connect to a GPIO and do the same.

info@trans-mission.tv

Thanks, I can do that but I wont a script that will disable a schedule, regardless of what the playlist is. I can setup a lot of players and don't always know what the name of the playlist will be.
Cheers
S

info@trans-mission.tv

I found a solution using Curl.

Enable Schedule
curl 'http://10.0.0.253/api/settings/DisableScheduler'; \
  -X 'PUT' \
  -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' \
  --data-raw '1' \
  --insecure
 
  curl -X PUT http://10.0.0.253/api/settings/restartFlag \
  -H "Content-Type: application/json" \
  -d "{'1'}"

Disable Schedule
curl 'http://10.0.0.253/api/settings/DisableScheduler'; \
  -X 'PUT' \
  -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' \
  --data-raw '0' \
  --insecure
 
  curl -X PUT http://10.0.0.253/api/settings/restartFlag \
  -H "Content-Type: application/json" \
  -d "{'1'}"

Hope this helps someone :)

Support FPP

+- Recent Topics

FPP MIDI plugin installed but wont trigger Playlist by MichaelGilley
January 13, 2026, 04:12:30 PM

SRx4 Long Range Quad SmartReceiver by tbone321
January 13, 2026, 03:32:30 PM

Pixel Port by LedMutt
January 13, 2026, 12:57:46 AM

Peace Stake material by LedMutt
January 12, 2026, 12:15:36 AM

Forbidden Error Port 80 by darylc
January 11, 2026, 10:24:48 PM

LoRa plugin. Is it worth pursuing in 2026 by k6ccc
January 11, 2026, 11:16:25 AM

Analog input by MikeKrebs
January 10, 2026, 10:28:19 PM

2025 Show Video by MikeKrebs
January 10, 2026, 10:20:00 PM

Christmas count down timer by tbone321
January 09, 2026, 07:21:32 PM

DPIPixels-24 lock gpio inputs by CaptainMurdoch
January 09, 2026, 03:17:06 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod