Disclaimer: This setup is for people who have some experience with the Pebble SDK, the command line, and have a decent Python setup on their Mac.
If you follow the steps below you can use your Pebble smartwatch to remote control your Keynote and Deckset presentation without a Wifi or your phone, directly from your Mac via Bluetooth.
The Pebble app allows you to
- go to the previous/next slide via the up/down buttons
- quickly see the total time you spent on your presentation
- see the time you spent on the current slide
To make the work
- clone this repository,
- install the Pebble app via
pebble install
, and - run
peynote.py
to get further advice.
When you run the peynote.py
command it will respond with this simple message:
usage: pebble logs 2>&1 | ./peynote.py
As you can see, this setup is a real hack!
The Pebble app you installed earlier uses APP_LOG("UP")
to signal a button press to Pebble's standard log output.
The pebble logs
command from the Pebble SDK receives these logs for every button your press in the app.
When piping this output to peynote.py
it will scan for "UP" and "DOWN" to detect the relevant presses and
uses ScriptingBridge
(Python's way to use AppleScript-enabled applications) to remote control your running Keynote instance.
Yes. Due to popular demand, this hack now supports both, Keynote and Deckset. It basically works the same way: just start your presentation and use Peynote to control it from your wrist.
Nope.
Use the pebble
command with --pebble_id
or the PEBBLE_BTID
environment variable to establish a bluetooth connection directly from your Mac.
NOTE: This requires Python lightblue to be installed.
Sure!
Use the pebble
command with the --phone
or the PEBBLE_PHONE
environment variable as suggested by the Pebble SDK setup.
You will have to put the official Pebble app into the developer mode, also your Mac and the phone have to be on the same Wifi.