News:

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

+-+-

+-User

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

+-Site Stats

Members
Total Members: 16397
Latest: Markr90
New This Month: 3
New This Week: 2
New Today: 0
Stats
Total Posts: 132076
Total Topics: 16371
Most Online Today: 77
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 1
Guests: 43
Total: 44

Is there a way to auto-restart FPPD ?

Started by scampa123, November 29, 2023, 03:53:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

scampa123

I've noticed an issue through the years that sometimes I'll wake in the morning and the lights connected to one of my controllers are still on.  If I use the restart fppd service the lights will go out and all is well...until the next morning!

I'm running a raspberry pi with the latest Falcon software.

Is there a way to automate/schedule the restarting of the fppd service nightly? 

Thank you!!

JonD

#1
Yes.  There might be an easier way, but this is how I have done it in the past.  I have not used this in a while so may be outdated info.

Create a script by opening notepad or your favorite text editor and copy the below information into it.

****Copy after this line****

#!/bin/sh
###############################################################################
# restart-fppd.sh - Tell fppd to Restart fppd daemon
###############################################################################

# Tell fppd to Restart fppd daemon
fpp -r

**** Copy before this line *******

Save the file name as "restart-fppd.sh"

Copy the file to FPP by using the FPP File manager and place the file into the scripts tab.

Then create a playlist and instead of adding a sequence, add a script and then select the script you just created.

You cannot view this attachment.
You cannot view this attachment.

dkulp

The question is if that really is the issue.   When fppd restarts, it sends an "All Lights Off" command internally to turn off all the lights.    Thus, if the issue is that lights are left on somehow or are picking up interference or something, scheduling an FPP Command of "All Lights Off" might be enough.   That can be done in the scheduler.  
Daniel Kulp - https://kulplights.com


kenoman742

I just run a sequence at the end of the schedule called "All Lights Off". It is a 5 second sequence that just runs an "Off" effect on everything. That works well for me.

JonD

F.Y.I.  There was a new Falcon firmware build 30 released yesterday that addresses lights not shutting off.

Build 30 : 2023-11-29
- Enh : Add test mode where you can manually set the colour via web interface (3 and 4 channel pixels)
- Enh : Add CMY test pattern
- Fix : Playing sequence with audio from status page results in lights and audio getting out of sync
- Fix : When schedule ends lights do not turn off
- Fix : Nulls on smart receivers not being handled correctly

Ebuechner

It sounds like you need to look at your sequences and check to see if you have any effects that go beyond the end point. "Check sequence" will find this problem if it exists.

scampa123

The food restart script worked.  I tried the all lights off and it didn't work for me.

I haven't tried the new firmware nor have I run check sequence...not sure where that is..but at least when I wake the lights are off!!

Thank you all for the help and suggestions 

Support FPP

+- Recent Topics

Playing video to Monitor on RPi4 by TomsLEDs
Today at 10:08:20 PM

Problem with images in playlist. by CaptainMurdoch
Today at 08:56:43 AM

Choosing P4 Panels / Colorlight by CaptainMurdoch
Today at 08:52:41 AM

strang text behavior with all modell by MikeKrebs
February 28, 2024, 10:09:03 PM

Struggling with media playback sync by MichaelD
February 27, 2024, 03:40:10 AM

Live video with xLights and Falcon Controllers by Laser Falcon
February 24, 2024, 01:20:52 PM

Waveshare 7" Screen by skulltronix
February 23, 2024, 03:36:17 PM

Need to expand by darylc
February 22, 2024, 11:41:01 PM

reviving a bbb on an octoscroller by starsman20
February 22, 2024, 04:34:23 PM

FPP After Hours Music Plugin has been updated by MikeKrebs
February 21, 2024, 10:24:39 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod