https://github.com/ultrabug/hacknight20141127
Raspberry Pi, Ecran Nokia et BambooHR
https://github.com/ultrabug/hacknight20141127
Last synced: 2 months ago
JSON representation
Raspberry Pi, Ecran Nokia et BambooHR
- Host: GitHub
- URL: https://github.com/ultrabug/hacknight20141127
- Owner: ultrabug
- Created: 2014-11-28T10:42:06.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-28T12:04:29.000Z (over 10 years ago)
- Last Synced: 2024-12-27T00:40:28.218Z (4 months ago)
- Language: Python
- Size: 101 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
HackNight20141127
=================Raspberry Pi, Nokia screen and BambooHR
1 - *Get* your Raspi
------------------- Raspbian
- SSH already enabled2 - *Get* your WiFi
------------------ Plug keyboard/monitor
- Configure WiFi3 - *Get* your screen
-------------------- The hardware:
- [Nokia 5110 screen](http://www.dx.com/p/replacement-1-6-lcd-screen-with-blue-backlight-for-nokia-5110-blue-145860#.VHhCZFTN-Cg)
- 8 wires
- Instructions from https://github.com/XavierBerger/pcd8544
- install wiringpi2 + python bindings
- install python lib for screen
- wire **carefully** the LCD to the Raspi, using `gpio readall` as a reference
- run some examples4 - *Get down* with the BambooHR API
------------------------------------- `pip install PyBambooHR`
- API doc: http://www.bamboohr.com/api/documentation
- get employees list: http://www.bamboohr.com/api/documentation/employees.php#getEmployeeDirectory
- get time off list: http://www.bamboohr.com/api/documentation/time_off.phpGet, get, get, get down! [Whoooo!](http://www.youtube.com/watch?v=h6kvY5g9KJY)
5 - *Test* the amazing result with the provided source code !
-------------------------------------------------------------- photos.py : loop on your employees and display their photo with their first name next to it (amazing !)
- bamboo.py : loop on your employees and display your BambooHR subdomain and their first name and last nameHow to run (use sudo or run as root) :
```
sudo BAMBOOHR_SUBDOMAIN=your_domain BAMBOOHR_API_KEY=your_api_key python photos.pysudo BAMBOOHR_SUBDOMAIN=your_domain BAMBOOHR_API_KEY=your_api_key python bamboo.py
```