Python script to safely shutdown the RPi

Suggest new features here
Post Reply
G6WOV
Posts: 27
Joined: Thu May 13, 2021 12:47 pm

Python script to safely shutdown the RPi

Post by G6WOV »

Currently when you use the Dashboard Powerdown Command it Shutsdown Pi-Star but does not switch Off the Pi. There are ways to use a GPIO Pin to call a Python Script to Safely Shutdown the Pi. Can this Python Script be added to operate a Safe Shutdown when the Dashboard Powerdown Command is operated?
G6WOV
Posts: 27
Joined: Thu May 13, 2021 12:47 pm

Re: Python script to safely shutdown the RPi

Post by G6WOV »

Thank you for your reply, as I am new to Pi and Pi-star, I thought that the two would do the same. I noticed that the Pi does not actually Powerdown when the Dashboard Powerdown Command was operated, which has already been explained that only Pi-Star Shutsdown and leaves a message that it will stop in 30 seconds. Then I read elsewhere about the Pi having a Shutdown Function that could be triggered from a GPIO Pin. It just seemed a logical idea to me to combine the two, but use the script triggered from the Shutdown Command instead of a GPIO Pin. But if it had been that simple it would have been done already. I'm still learning :)
Post Reply