Skip to content

Rust service allowing access to Raspberry Pi USB ports for easy management of USB fans. Supports scheduled operations and persists the activation state of USB fans.

Notifications You must be signed in to change notification settings

lucaired/smartgarden-hardware-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smartgarden Hardware Hub

example workflow

You will need:

  • A Raspberry Pi with USB port and networking capabilities, i'm using a model 3 B V1.2, but feel free to check out the other Pis.

Setup Rust on a Raspberry Pi

Download the installer:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Select 2) Custom installation, for Default host triple? enter arm-unknown-linux-gnueabihf and the nightly toolchain.

Since rocket requires nightly, we need to set this.

Start the fan service

cargo run

Future Work

  • add scheduled activation of fan

About

Rust service allowing access to Raspberry Pi USB ports for easy management of USB fans. Supports scheduled operations and persists the activation state of USB fans.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages