Sean Meighan

Hardware => Falcon Pi Player => Topic started by: lightsonlinden on January 14, 2016, 07:47:26 PM

Title: FPP Events
Post by: lightsonlinden on January 14, 2016, 07:47:26 PM
Was hoping someone could direct me to a thread to understand FPP Events and explain some simplistic items that folks use the event function for, etc.
Title: Re: FPP Events
Post by: Phrog30 on January 14, 2016, 08:17:10 PM
Was hoping someone could direct me to a thread to understand FPP Events and explain some simplistic items that folks use the event function for, etc.
You should find all fpp info here.

http://falconchristmas.com/forum/index.php?board=8.0 (http://falconchristmas.com/forum/index.php?board=8.0)

James



Sent from my SM-G900V using Tapatalk

Title: Re: FPP Events
Post by: flyinverted on January 14, 2016, 08:17:48 PM
The FPP Wiki is at http://falconchristmas.com/wiki/index.php (http://falconchristmas.com/wiki/index.php/FPP:FAQ)
Title: Re: FPP Events
Post by: jnealand on January 14, 2016, 08:39:35 PM
You asked how people use them so here goes.

I have two events
1. Turn static lights on, the event calls a script  I trigger the event as the first item in a playlist and can also trigger it manually.
2. Turn static lights off, the event calls a script  I trigger the event as the last item in a playlist and can also trigger it manually.
Title: Re: FPP Events
Post by: lightsonlinden on January 14, 2016, 09:12:41 PM
Jim,

How are they triggered?  Via a sequence or some other means?

I may getting myself confused but how does one use the GPIO on on the Pi to either drive something through the GPIOs or input from the GPIOs?
Title: Re: FPP Events
Post by: Gilrock on January 15, 2016, 08:54:45 AM
I use events to turn on my inflatables at the beginning of the show and off at the end.  You create a Pixel Overlay in the FPP which overrides control of a channel.  I use some of my LOR A/C channels.  My inflatables are connected to those channels.  Then the scripts are written to activate those same channels.

Here's what my script to turn on inflatables looks like:

#############################################################################
# PowerUpInflatables.sh - Power up the inflatables
#############################################################################
#!/bin/sh

# Turn on the memory mapped block for the Inflatables
fppmm -m NeighborsYard -o on
fppmm -m RightInflatables -o on
fppmm -m LeftInflatables -o on

# Inflate the inflatables
fppmm -c 7977 -s 255
fppmm -c 7958 -s 255
fppmm -c 7959 -s 255
fppmm -c 25362 -s 255
fppmm -c 25363 -s 255
fppmm -c 25364 -s 255
fppmm -c 25365 -s 255

#############################################################################
Title: Re: FPP Events
Post by: jnealand on January 15, 2016, 10:02:10 AM
Jim,

How are they triggered?  Via a sequence or some other means?

I may getting myself confused but how does one use the GPIO on on the Pi to either drive something through the GPIOs or input from the GPIOs?

I know nothing about GPIOs.  Look at the playlist build function and you will see event as one of the dropdown options of what you are putting into a playlist.