Raspberry Pi, Nokia screen and BambooHR
- Raspbian
- SSH already enabled
- Plug keyboard/monitor
- Configure WiFi
- The hardware:
- Nokia 5110 screen
- 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 examples
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.php
Get, get, get, get down! Whoooo!
- 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 name
How to run (use sudo or run as root) :
sudo BAMBOOHR_SUBDOMAIN=your_domain BAMBOOHR_API_KEY=your_api_key python photos.py
sudo BAMBOOHR_SUBDOMAIN=your_domain BAMBOOHR_API_KEY=your_api_key python bamboo.py