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: 16395
Latest: jw1736435
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 132059
Total Topics: 16369
Most Online Today: 56
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 0
Guests: 51
Total: 51

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

Struggling with media playback sync by CaptainMurdoch
February 26, 2024, 01:30:42 PM

strang text behavior with all modell by e.oelberg
February 26, 2024, 11:35:54 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

Kiosk mode touchscreen by Poporacer
February 19, 2024, 08:57:25 AM

External WiFi Adapter and Antenna by JonB256
February 16, 2024, 08:25:13 AM

troubles getting UCS2904/TM1814 to work properly by ocupmoc
February 12, 2024, 11:15:53 AM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod