Helpdesk

Hello , i am having some problems with strompi 3.


my setup is :[nbsp]


=[gt]raspberry 4 / strompi 3 with 1.72 frameware version and battery hat joyit.[nbsp]


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


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

I[nbsp] 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[nbsp]

what am i doing wrong ?[nbsp]

did i miss something ?[nbsp]

[nbsp]

thank you for your help[nbsp]

[nbsp]

Imed

[nbsp]

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.[nbsp]


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

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