News:

Server migration complete, Welcome to version 2.1.1

+-+-

+-User

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

+-Site Stats

Members
Total Members: 15650
Latest: Androom
New This Month: 54
New This Week: 1
New Today: 0
Stats
Total Posts: 128366
Total Topics: 15784
Most Online Today: 59
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 1
Guests: 13
Total: 14

FPP RPi 4 GPIO Big Button question

Started by tynmar, November 30, 2022, 10:30:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tynmar

Hello, Long time lurker and user - great product by the way  :)  i'm using the big red button approach on a RPi 4 GPIO port to start the playlist, is there a way to make it so when someone presses it, it randomly selects just 'one' song from the playlist and then stops until next press?
Any help on how to do this - much appreciated.

dkulp

If using FPP 6.2, it's very easy. There is a built in command to do exactly that:

You cannot view this attachment.
Daniel Kulp - https://kulplights.com

tynmar

Hi Daniel, that's great just what I needed, I have been trying to think a way of doing that for about 2 years :) - thank you Martyn

tynmar

Sorry Daniel,

Dumb question but how do I link that 'Run FPP Command' so that it executes from the GPIO Button press I tried all the obvious options listed under GPIO, but it doesn't run like it does the manual way.

Thanks

Support FPP

+- Recent Topics

No network by Steve_63
Today at 08:17:21 PM

F48V4-NS Pixel Controller using all 12 Differential SmartReceiver ports by BirdingPix
Today at 02:26:30 PM

F48v4NS - Pi or No Pi? by rjhodgefamily
Today at 09:25:20 AM

Trying to configure LOR CF50D Floods on FPP Pi Player with PiCap by JonD
Today at 07:01:41 AM

Script/Plug-In Trigger on Data by darylc
January 30, 2023, 11:31:16 PM

Attempting to move to FPP 6.3 from 4.4 - Assigned IP is in different subnet. by Poporacer
January 30, 2023, 05:06:59 PM

Camera input for WS2811's by dkulp
January 30, 2023, 04:02:55 PM

F16v3 Won't boot or power on by rjhodgefamily
January 30, 2023, 02:22:05 PM

Set Time/Date by Rick
January 29, 2023, 10:09:08 PM

help getting started, next step? by Poporacer
January 28, 2023, 05:10:18 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod