strompi shutdown problem

Hello , i am having some problems with strompi 3.


my setup is : 


=>raspberry 4 / strompi 3 with 1.72 frameware version and battery hat joyit. 


i want the strompi to shutdown the raspberry 10 minutes after the main power source is down.


output of script Strompi3_status.py :


--------------------------------
StromPi-Status:
---------------------------------
Time: 01:10:22
Date: Tuesday 01.05.18
 
StromPi-Output: mUSB
 
StromPi-Mode: mUSB -> Battery
 
Raspberry Pi Shutdown: Enabled
 Shutdown-Timer: 600 seconds
 
Powerfail Warning: Disabled
 
Serial-Less Mode: Disabled
 
Power Save Mode: Disabled
 
PowerOn-Button: Disabled
 
 PowerOn-Button-Timer: 30 seconds
 
Battery-Level Shutdown: Disabled
 
Powerfail-Counter: 3
 
PowerOff Mode: Disabled
---------------------------------
Alarm-Configuration:
---------------------------------
WakeUp-Alarm: Disabled
 Alarm-Mode: Time-Alarm
 Alarm-Time: 00:00
 Alarm-Date: 01.11
 WakeUp-Alarm: Monday
 Weekend Wakeup: Enabled
 Minute Wakeup Timer: 30 minutes
 
PowerOff-Alarm: Disabled
 PowerOff-Alarm-Time: 00:00
 
Interval-Alarm: Disabled
 Interval-On-Time: 00 minutes
 Interval-Off-Time: 00 minutes
 
---------------------------------
Voltage-Levels:
---------------------------------
Wide-Range-Inputvoltage:  not connected
LifePo4-Batteryvoltage: 3.283V [50%] [charging]
microUSB-Inputvoltage: 5.142V
Output-Voltage: 5.086V


-------------------------------------

I  run SerialShutdown.py from rc.local , and i changed the "wait_for_shutdown =550"

when i unplug the primary power source the raspberry shutdown after 1 minute instead of waiting for 10 min as shown in the py script 

what am i doing wrong ? 

did i miss something ? 

 

thank you for your help 

 

Imed

 

imed

11.12.20 12:23

Does it shut down by the serialShutdown.py script or is it powered off after one minute by the strompi? You can put some debug print statements into the script and run it from the command line to find out. Kill the instance started by rc.local before.

Eggert

13.12.20 17:24

hey , No it does not shutdown by the serialShutdown.py. I know this because i put print in the script that shows the t counter decrement from 500 seconds to 440 then it shutdown. 


the script is not running from rc.local , i ran it manually to see the print output each time 

imed

14.12.20 09:15

Hi imed, is it possible that you are not using the newest firmware? If this is the case please update your StromPi 3 to firmware v1.72c, as the old firmware could cause the problem. You can find the zip archive (with firmware and update manual) in our download section.




Best regards


Nils (Joy-IT)



Nils

15.12.20 17:04