Control a fan attached to a GPIO via NPN transistor
(defaults to GPIO 14 (pin 8))
For more info see
Make sure to connect the snap interface for the correct GPIO
that your fan is attached to (see https://pinout.xyz for correct mapping)
snap connect pi-fancontrol:gpio pi:bcm-gpio-14
The snap allows a few configurations to be set
Pick a different GPIO to swithc the fan on/off (do not forget to use the
above connect command to enable access to this changed GPIO)
snap set pi-fancontrol gpio=23
Set the temperature threshold (in degrees celsius) at which the
fan turns on
snap set pi-fancontrol threshold=40
Set the interval (in seconds) at which the temperature gets scanned
snap set pi-fancontrol interval=60
Indeed you can set all these also from a gadget.yaml file in the ```defaults:``` section.
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
If you’re running Kubuntu 16.04 LTS (Xenial Xerus) or later, including Kubuntu 18.04 LTS (Bionic Beaver) and Kubuntu 18.10 (Cosmic Cuttlefish), you don’t need to do anything. Snap is already installed and ready to go.
Versions of Kubuntu between 14.04 LTS (Trusty Tahr) and 15.10 (Wily Werewolf) don’t include snap by default, but snap can be installed from the command line as follows:
sudo apt update
sudo apt install snapd
To install pi-fancontrol, simply use the following command:
sudo snap install pi-fancontrol
Publisher: Savoir-faire Linux
Privacy-oriented voice, video, chat, and conference platform and SIP phone
Publisher: Stichting Krita Foundation
Digital Painting, Creative Freedom
Mozilla Thunderbird email application
Publisher: Daniele Di Sarli
A Notepad++-like editor for Linux.
Publisher: Postman, Inc.
API Development Environment
The best email app for people and teams at work
Music for everyone
Team communication for the 21st century.
Publisher: Taqi Raza
foobar2000 is an advanced freeware audio player.
GNU Image Manipulation Program
Publisher: Hugo Authors
Fast and Flexible Static Site Generator
Publisher: Inkscape Project
Vector Graphics Editor
Browse and find snaps from the convenience of your desktop using the snap store snap.
Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.