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: 16349
Latest: bweber
New This Month: 0
New This Week: 6
New Today: 0
Stats
Total Posts: 130977
Total Topics: 16214
Most Online Today: 70
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 6
Guests: 36
Total: 42

PIR Sensor to Trigger Random Video File

Started by rdavie2, October 09, 2023, 07:46:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rdavie2

I searched extensively and couldn't find a solution that fit my needs. Here goes: I have one master running audio, a remote hooked to my projector playing video files, and another remote with a PIR sensor. In an ideal world, I want people walking on the sidewalk in front of my house to trip the PIR sensor, then for one of my 10 video files to play. I want it to be random, or at least sequentially, because I want some replayability for the people walking by, as the videos are 15-20-second skits of pumpkins telling jokes and interacting with passersby. The main issue I'm running into is that when I have the PIR sensor start a playlist and check the "if not running" but, according to my dumb brain, I then use a playlist that begins another playlist at random, thus rendering the "if not running" useless. Another PIR trip will start another playlist, often before the first one is finished. I'm sure there's a simple fix out there. But I'm currently in the "fog of war," trying to get set up and not thinking clearly.    

Support FPP

+- Recent Topics

Stable version of FPP by JonD
November 30, 2023, 10:11:46 PM

Visualizer issues by soundwave
November 30, 2023, 09:45:44 PM

FPP 7.3.5 Master and Remote Video Issue by CaptainMurdoch
November 30, 2023, 09:14:31 PM

FPP Freeze Monitor by Poporacer
November 30, 2023, 06:27:35 PM

v1.03 Smart Receiver parts by tbone321
November 30, 2023, 01:58:02 PM

AC lights on arches not working by jonmtme
November 30, 2023, 01:34:45 PM

pi 3 b+ by stingray124
November 30, 2023, 09:37:08 AM

Disabling Logs by info@trans-mission.tv
November 30, 2023, 09:15:18 AM

FPP v6.3 with K16A-B not reacting to DDP from Vixen by tbone321
November 30, 2023, 08:38:22 AM

Is there a way to auto-restart FPPD ? by Ebuechner
November 30, 2023, 08:02:08 AM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod