GithubHelp home page GithubHelp logo

jrandall11 / fcp-cardboard-pi Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5 KB

A companion project to FCP Cardboard to monitor storage locations with a Pi distance sensor and alert the application when stock is low

Python 59.13% HTML 40.87%

fcp-cardboard-pi's Introduction

FCP-Cardboard-Pi

A companion project to FCP Cardboard to monitor storage locations with a Pi distance sensor and alert the application when stock is low

Instructions

Install python libraries necessary for code to run:

$ sudo apt-get update
$ sudo apt-get install rpi.gpio
$ pipenv install requests

Set API_ENDPOINT to url of storage location from the API url (/api/v1/storage_areas….)
Set token in head to the api_key of the storage_location.

Place Pi at storage location and make sure it has a proper internet connection.
Run :
	$ sudo python distance.py

When 	cardboard is depleted to a certain point the distance sensor will trigger.

fcp-cardboard-pi's People

Contributors

jrandall11 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.