News:

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

+-+-

+-User

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

+-Site Stats

Members
Total Members: 16761
Latest: GabrielPuha
New This Month: 24
New This Week: 24
New Today: 7
Stats
Total Posts: 134724
Total Topics: 16845
Most Online Today: 102
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 4
Guests: 71
Total: 75

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

SRx1 v5 slow to up date - lagging by coyoteray
Today at 05:49:58 AM

Reconfigure pixel counts post installation by JonD
December 05, 2024, 11:12:48 PM

Overlay Model WLED Effect Not Working by JonD
December 05, 2024, 10:31:13 PM

DDP or E1.31 by bowhunter3125
December 05, 2024, 10:04:03 PM

Backup SSID Preventing Connection by Bwinter
December 05, 2024, 08:01:50 PM

Possible to install FPP on a RPi with WiFi configured? by rcowan
December 05, 2024, 07:09:48 PM

Possible Feature Request by Keuguer
December 05, 2024, 06:21:33 PM

FPP 8.3 on Pi 4B, can't get it to show correct date/time via NTP by geeman1082
December 05, 2024, 01:58:46 PM

LEDs Partially Lighting Up with ESPixelStick and FPP 8.3 by irumi
December 05, 2024, 01:54:53 PM

Reboot controller question by terrevue
December 05, 2024, 06:10:29 AM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod