Giter Site home page Giter Site logo

theonecurly / greyarea-old Goto Github PK

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

Sous-Vide Controller For The Raspberry Pi Zero

License: MIT License

Shell 14.20% Vim Script 28.70% CMake 0.65% C++ 41.50% Python 4.40% CSS 1.18% HTML 9.37%
raspberry-pi-zero cpp11 pybind11 sous-vide gunicorn-flask-webserver

greyarea-old's Introduction

GreyArea

Configuration files, control software, and web based user interface for a home sous-vide imersion cooker. Configuration files and paths assume this will be running on Raspbian, with minor changes any Linux distro will work.

Dependencies

Hardware

  • Raspberry Pi Zero (running Raspbian)
  • SRD-05VDC-SL-C Relay
  • DS18B20 One-wire temperature sensor

Software Setup

Automatic (Raspbian)

This is a work in progress, the setup script is not complete.

  1. Clone this repository to the pi user's home folder (/home/pi).
  2. Run ./setup.sh This will automatically download python, python modules, nginx, supervisor, and pybind11, build the program (this may take a while on the zero), and start the service.
  3. Go to the pi's IP address in a web browser and the control page should load.

Manual (Advanced)

  1. Clone the repository.
  2. Clone PyBind11 to ./cpp
  3. Make sure all other dependencies are installed. Virtual wrappers are recommended.
  4. Build the control program in ./cpp
  • cd ./cpp/build
  • cmake ..
  • make
  1. Run ./www/greyarea/app.py
  • The web interface will available on port 5000

The defualt configuration uses Gunicorn to serve the flask application, Nginx to reverse proxy, and Supervisor to kick off and watchdog Gunicorn. None of that is strictly necessary as you can run the python command on boot and access the web interface over port 5000, but it does make it a little easier to use.

Hardware Setup

License

MIT

greyarea-old's People

Contributors

theonecurly avatar

Watchers

 avatar

greyarea-old's Issues

Crash on init

A segmentation fault occurs during the init process. Most likely during sensor setup.

Multiple copies of Control being created

Gunicorn continually gives this output [CRITICAL] WORKER TIMEOUT, kicking off a new worker every few seconds. Every time it does this a new Control object is created and somewhere along the way the connection to the GPIO and temperature sensor breaks.

Setup Script

Add a script to link all the files in config to their respective locations and add it to the installation instructions.

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.