Git Product home page Git Product logo

workpi's Introduction

Work Pi

One-button time-management with the Raspberry Pi.

Ever get frustrated by time logging? Replace all that time spent navigating crummy UI and doing mental math with a Work Pi on your desk!

It's very easy to use, with only one button

  • rotate to scroll through currently-assigned tasks
  • click to start time logging
  • click to stop time logging

Note that this is a work in progress and currently has no export feature - it is easy to integrate into any time-logging API.

This is also an excellent platform for any project involving a rotary-encoder and a raspberry pi. Use this to build your own weather station or thermostat interface or other such things if you like.


Pre-requisites

The WorkPi runs a simple pygamescript which interfaces with a rotary encoder + button. Wiring up and installing the button requires drilling a single hole and soldering a few wires.

Hardware

This device can be built with only a few Adafruit components. To replicate this you'll need the below:

Materials

NOTE: if you are Canadian, like me, I recommend Elmwood Electronics when purchasing Adafruit products

Wiring it up

The following connections will be made between the rotary encoder and the RasPi-TFT's GPIO header (not the raspberry pi's own physical GPIO pins!).

I recommend soldering these to the PCB so as not to ruin the expansion GPIO header on the RasPiTFT.

wiring

Assembly

** TODO measurements + pictures**

  1. Just drill a single hole in the RaspiTFT enclosure on the side which has the microSD slot. Once inserted the encoder will fit nicely above the microUSB connector and below the RaspiTFT PCB.

  2. insert the Raspberry pi into the enclosure

  3. screw in the rotary encoder

  4. insert the raspiTFT and faceplate

    Done!

Software

There isn't a whole lot going on beyond just a simple startup script:

  1. Install the RaspiTFT drivers from the link here.
  2. Clone this repo into your /home/pi directory (as /home/pi/WorkPi)
  3. Make it run on startup by adding sudo python3 /home/pi/WorkPi/run.py to new file/etc/init.d/workpiscript
  4. cd to /home/pi/WorkPi and run sudo python3 install -r requirements

TODO:

I implore anyone intetested in using this as a work logger to help with the following tasks:

  • export functionality
  • API connection i.e. JIRA

This material was developed as part of an internal DarwinAI Hackathon held on Friday, March 20, 2020. For more information on DarwinAI, please visit: https://www.darwinai.com/

workpi's People

Watchers

 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.