Git / GitHub Workflow for Raspberry Pi

A quick aide-memoire for using GitHub: Create directory with 'Project Name' in Dropbox directory (extra layer of automated backup) cd 'Project Name' git init Create / copy initial files Create .gitignore file for Project git add [Files - if all can use .] git status [Check correct] git commit -m "First Commit" Go to github.com … Continue reading Git / GitHub Workflow for Raspberry Pi

Hiding Secrets from GitHub (or using ConfigParser)

As I get into the habit of using git and github for versioning I need to make sure that I hide personal settings and passwords. To do this I use ConfigParser in Python. It's pretty easy. Creating the Configuration File First create a 'config.ini' file in your code directory. I generally use a text editor or … Continue reading Hiding Secrets from GitHub (or using ConfigParser)

Face Detection with the Raspberry Pi Camera Board

I have a very basic face detection routine running with the Raspberry Pi camera board. To do this I used Robidouille's library functions (see previous post). I then modified the raspicam_cv.c example to use the face detection routine from Learning OpenCV. There were some tweaks so I will post the code below. You also need … Continue reading Face Detection with the Raspberry Pi Camera Board

Hacker News Update: Raspicam & WeMo

A quick update on my recent discoveries. Raspicam I now have a Raspberry Pi Camera Board (Raspicam)! There is a brilliant combo deal on at the moment allowing you to buy a Raspicam, Model A + 4GB SD card for about £35 (including VAT + shipping!)! That's £35 for a device that can run OpenCV … Continue reading Hacker News Update: Raspicam & WeMo

Magic Lights: Controlling Hue with a Raspberry Pi

This post shows you how to control the Hue light bulbs using a Raspberry Pi. In particular, it shows you how to fade up your lights half an hour before to sunset. In true Heath Robinson style the solution is rather convoluted. But hey, that's where the fun resides. Email me, Sun First, we set … Continue reading Magic Lights: Controlling Hue with a Raspberry Pi

Doing Useful Things with WeMo Motion

Using both the WeMo Motion rules and IFTTT allows you to do certain things with this motion detector. However, to expand our possibilities it would help if we could store our motion data and make it accessible to the programs that we write. To store our motion data in a database we need a bit … Continue reading Doing Useful Things with WeMo Motion