Author Topic: FPP Events  (Read 4186 times)

Offline lightsonlinden

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • Lights On Linden
FPP Events
« 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.

Offline Phrog30

  • Hero Member
  • *****
  • Posts: 1234
    • View Profile
Re: FPP Events
« Reply #1 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

James



Sent from my SM-G900V using Tapatalk


Offline flyinverted

  • Administrator
  • Hero Member
  • *****
  • Posts: 756
    • View Profile
Re: FPP Events
« Reply #2 on: January 14, 2016, 08:17:48 PM »
« Last Edit: January 14, 2016, 08:20:45 PM by flyinverted »
Steve Giron
Maricopa County, AZ
xLights user with a boat-load of channels.

Do not ask to know all the answers, but ask to understand the question.

Offline jnealand

  • Hero Member
  • *****
  • Posts: 1421
    • View Profile
Re: FPP Events
« Reply #3 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.
Jim Nealand
Kennesaw, GA

Offline lightsonlinden

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • Lights On Linden
Re: FPP Events
« Reply #4 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?

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: FPP Events
« Reply #5 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

#############################################################################

Offline jnealand

  • Hero Member
  • *****
  • Posts: 1421
    • View Profile
Re: FPP Events
« Reply #6 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.
Jim Nealand
Kennesaw, GA