{"repo":"petrockblog/PowerBlock","free":true,"listed":false,"github":"https://github.com/petrockblog/PowerBlock","clone":"git clone https://github.com/petrockblog/PowerBlock.git","description":"Driver for petrockblock.com PowerBlock","language":"Shell","stars":47,"topics":["raspberry-pi","raspberrypi","power-switch","petrockblock","raspberry-pi-3","raspberry-pi-4","raspberry-pi-5","shutdown","shutdown-manager","soft-shutdown"],"license":null,"category":"self-hosted-apps","readme_excerpt":"PowerBlock Driver ================= This is the driver for the petrockblock.com PowerBlock, which is an extension board for the Raspberry Pi (TM). The driver itself is denoted as powerblock in the following. The driver provides a service for interacting with the power button signal as well as driving the optionally attached LED. :exclamation: The following description is intended to be used in combination with a Raspberry Pi and a Linux-based operating system running on the Raspberry Pi. There is a driver for Windows 10 IoT Core that can be found at https://github.com/petrockblog/PowerBlockWinIoT/releases :exclamation: Installation There comes an installation script with this reposity that does all the steps described below: install.sh This script compiles the driver, installs the binary and configuration files, and installs the PowerBlock service. To run the quick installation, you just need to call this one line from the Raspbian console To uninstall the service you can simply call sudo ./uninstall.sh from within the PowerBlock directory. Configuration The configuration file of powerblock is located at . It uses simple .ini file syntax = for setting the the values of its configuration parameters. The parameters are explained in detail in the following: - : Can be set to + : Activates the handling of the power switch signals of the PowerBlock. + : Deactivates the handling of the power switch signals of the PowerBlock. - : Raspberry BCM pin used for status signaling (default:","default_branch":null,"files":null,"tree":[],"storefront":"/r/petrockblog","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/petrockblog/PowerBlock/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}