A simple plugin that adds a button to the navigation bar for toggleing a GPIO pin on the Raspberry Pi. I use it for turning ON and OFF the light on my 3D printer.
Install via the bundled Plugin Manager or manually using this URL:
https://github.com/gigibu5/OctoLight/archive/master.zip
There is an option in the settings menu for changing the GPIO the button trigeres. IMPORTANT: the pins are saved in the board layout, not by GPIO naming scheme. Below is a picture of the Raspberry Pies GPIO configuration. The correct numbers are those written in gray on the picture bellow.