Strompi does not power up again

I had power down timer set to 30 seconds (via the GUI) and disconnected the power source. After 30 seconds it powered down. When I reconnected the power source, nothing happened. I does not draw any current, and the LEDs at the RPi4 stay dark. It seems like the Strompi is dead.


I can still power up the RPi via the USB-C port (not via the µUSB at the Strompi). I cab still access the GUI.


Any hints how to make it work again?

Eggert

09.12.20 13:05

Additional Info:
>show-status

Time: 14:32:11
Date: Wednesday 09.12.2020
StromPi-Output:  Power-Off  
StromPi-Mode: Wide -> Battery  
Raspberry Pi Shutdown: Disabled  
 Shutdown-Timer: 10 seconds
Powerfail Warning: Enabled  
Serial-Less Mode: Disabled  
Power Save Mode: Disabled  
Power-Off Mode: Disabled  
Battery-Level Shutdown: Disabled
Powerfailure-Counter: 3
PowerOn-Button: Disabled  
 PowerOn-Button-Timer: 30 seconds
FirmwareVersion: v1.72c



>adc-output
****************************
Wide-Range-Inputvoltage: 20.257 V
LifePo4-Batteryvoltage: 3.173 V [50%]
microUSB-Inputvoltage: not connected
Output-Voltage: 0.062 V


So there is no output voltage. Is the Strompi really broken? The wide range input voltage looks about right.

Eggert

09.12.20 14:35

Hello Eggert,


please try to disconnect all power supplies and remove the CAP-Jumper for a couple of seconds. 


This should restart the microcontroller on the StromPi and could solve your problem.


Best regards


Tim (Joy-IT)

Tim

10.12.20 10:17

In the meantime I got it working, I had played with the settings in the GUI, and suddenly it came to life. Can this happen again?

Eggert

10.12.20 11:58

It happened again. Removing the jumper did not help. Can you tell me exactly which settings I should use for this scenario:



  • Power by primary wide range (12 V), secondary by 1000mAh.

  • High  power USB output powers a monitor, about 1.2 A.

  • RPi should start up without pressing the button.

  • When primary power is switched off, RPi should run on secondary power and shut down.

  • When primary power is switched on, it should start as normal.


Do I need the serialShutdown script?

Eggert

10.12.20 12:54

Hello,


 


Try the mode 6, StromPi-Mode: Wide -> mUSB -> Battery.


And test with a mUSB power, without the wide power.


Do you have a fix ip in the /boot/cmdline.txt? If yes remove it. I had troubles with the ip fix in cmdline.txt for the reboot process.


 


finally, test this setup::



StromPi-Mode: Wide -> mUSB -> Battery.


Raspberry Pi Shutdown: Disabled
Shutdown-Timer: 30 seconds


WakeUp-Alarm: Enable
Alarm-Mode: Minute WakeUp-Alarm
Weekend Wakeup: Enabled
Minute Wakeup Timer: 01 minutes



 


Normally, it should reboot after 1min.


 

S.Reillon

10.12.20 14:31


Raspberry Pi Shutdown: Enabled
Shutdown-Timer: 30 seconds



 


Raspberry PI Shutdown: Enabled,


sorry.


 

S.Reillon

10.12.20 14:33

At the moment, it seems to run fine wit this setup:
>show-status
Time: 00:02:19
Date: Wednesday 02.05.2018
StromPi-Output:  Wide  
StromPi-Mode: Wide -> Battery  
Raspberry Pi Shutdown: Enabled  
 Shutdown-Timer: 60 seconds
Powerfail Warning: Enabled  
Serial-Less Mode: Disabled  
Power Save Mode: Disabled  
Power-Off Mode: Disabled  
Battery-Level Shutdown: Disabled
Powerfailure-Counter: 17
PowerOn-Button: Disabled  
 PowerOn-Button-Timer: 30 seconds
FirmwareVersion: v1.72c
I have set up the serialShutdown.py script with a 5 seconds timeout. It will shut down the RPi after 5 seconds and then it is powered down after 60 seconds. When power is switched on again, it restarts fine. So it seems my problem is solved. Do I need the wakeup alarm settings? I do not want to restart it when the main power is off.


There is a trap one can easily step in: when the serialShutdown.py is running, it owns the serial port. The strompi_config_gui.py or the minicom will not work in this situation. This should be mentioned in the docs.

Eggert

11.12.20 14:08

Hello Eggert,


that's great news, we will mention it with the next documentation update.


Thank you S. Reillon for your help in this thread.


Best regards
Tim (Joy-IT)

Tim

15.12.20 13:33