The current build of raspbian has the EDIMAX drivers included as standard. However if you are using a distro without these drivers, Robert Savage has a good tutorial on how to use the EDIMAX wifi adapter.Now download the Pushover App, make sure you can send notifications to your pebble (see this entry in the Pushover FAQ for help) and login at http://pushover.net. Create a new application by clicking ‘Register an Application’.
For the code I simplified Adafruit’s tutorial code on playing MP3′s with buttons on the RPi to use only one button and added some code to push messages to the Pushover notification service. All you need to do is copy the code below into a new *.py file on your RPi and replace the ‘application_token’ and ‘user_token’ strings with those from your Pushover Account that you noted down earlier. Also you will need to save an MP3 for playing in the directory with the *.py script. Mine is called ‘doorbell1.mp3′ in the code below, but you can play any file you like.
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — Undercover in an iPhone Factory (video)
Wearables — Go with silicone
Electronics — Shift away from basic arithmetic
Biohacking — Bunnies Book “The Hardware Hacker” Applies to Biohackers
No comments yet.
Sorry, the comment form is closed at this time.