question

Marcel avatar image
Marcel asked

Shutdown Rpi3B+ via BMV-712

I'm curently testing a setup with the following configuration:

BMV-712 connected with USB direct cable to Rpi 3B+. The Rpi is running with a voltage converter from 12V to 5V directly on the battery.

My main goal is to shutdown the Rpi when voltage drops below a certain voltage level. For that I'd like to use the relais connections from the BMV-712.


I thought that I could use a script to shutdown the RPi which will be activated by a button.

I'v tried to implement the following script as a starter:

https://howchoo.com/g/mwnlytk3zmm/how-to-add-a-power-button-to-your-raspberry-pi


The button is allready connected, The scripts are implemented, but the button can not be activated. the lines where "sudo" are used all fail, with user not found.


Is it possible to use the GPIO for shutting down the Rpi within VenusOS?


Thanks alot for your help.

Regards,

Marcel

Venus OS
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

0 Answers

Related Resources