GithubHelp home page GithubHelp logo

tempgraphcomp's Introduction


! ! ! Win a Raspberry Pi Zero WH, DHT22 Sensor and a 4 way relay module ! ! !


Make a python module that creates a graph of the temperature data generated by a Pigrow open-source growbox and greenhouse automation device to win great prizes!

Pigrow is an open source project which shares it's code and designs freely, we want to make the best possible growbox automation software and are experimenting with the idea of running competitions to help gain interest and get some cool features added, if this competition works we'll be running many more ever bigger and better competitions in the future so subscribe to www.reddit.com/r/Pigrow and watch this introduction video to the pigrow https://www.youtube.com/watch?v=F756b0_3Afk and subscribe to the channel for future updates :)

--- How to Enter ---

There's room for code and instructions towards the top of temp_graph.py

When you've created your graph post the code and images it outputs for the three example logs included to the competition thread on www.reddit.com/r/Pigrow or alternatively email your entrance to [email protected]

         - - - - - - - - - - - - - - - - - - 
      - - - Runner up prizes and rewards - - - 
         - - - - - - - - - - - - - - - - - - 

Competition Example Logs

There are three logs each covering a different time-range, these are logs recorded from a DHT22 sensor and contain first the Temperature data then the Air Humidity Percentage and finally the datetime string, the three readings are sepearated by a single '>' character. Though you don't need to worry about this, inside temp_graph.py is a function that'll read the logs and pass you two lists, one with the Temp data and the other with the Datetime data - these are both the same length and in the same order.

To see example graphs made with the logs you can use the following command line arguments;

./temp_graph.py log=dht22_comp1.txt out=comp1_example.png example ./temp_graph.py log=dht22_comp2.txt ./temp_graph.py log=dht22_comp3.txt temp_unit_f colour_graph=false example

for more information on the temp_graph script use

./temp_graph --help 

Name log entries dates notes

comp1_dht22.txt 8356 Mar-10 00:00 to Mar-12 23:59 two days comp2_dht22.txt 35759 Mar-30 00:00 to Apr-11 19:05 two weeks
comp3_dht22.txt 151300 May-05 11:49 to Jul-08 16:52 twp months - contains blank spot

MORE INFO GO TO www.reddit.com/r/Pigrow.com AND https://www.patreon.com/Pigrow

tempgraphcomp's People

Contributors

pragmatismo avatar

Stargazers

 avatar

Watchers

 avatar  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.