Skip to content

delvor64/api-driven-pi-buzzer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Simple web based API driven buzzer/led for a RasberryPI. Only tested on version 4. Uses flask and the gpiozero library.

  • Buzzer is expected to be on pin 17

To execute from docker on a PI, use:

#currently not working with temp sensor! Investigating how to deal with this
docker run --device /dev/gpiomem -p 5000:5000/tcp elongstreet88/api-driven-pi-buzzer

#not recommended but will work:
docker run --privileged -p 5000:5000/tcp elongstreet88/api-driven-pi-buzzer

Docker Multi Environment Seutp

docker buildx create --name mybuilder
docker buildx use mybuilder
docker buildx inspect --bootstrap

Docker Build

./build.sh

Docker Run

./run.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 67.1%
  • Dockerfile 26.5%
  • Shell 6.4%