Skip to content
PebbleKit JS library for sending messages to your Pebble.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
test
.eslintrc
.gitignore
.travis.yml
LICENSE
README.md
js-message-queue.min.js
karma.conf.js
package.json

README.md

JS Message Queue Build Status devDependency Status

PebbleKit JS library for sending messages to your Pebble.

Advantages

Automatically retries sending messages when they fail, and ensures that messages are sent in order (i.e. wait for first message to be acknowledged before sending the second message.

Usage

  1. Include js-message-queue.min.js in your Pebble JS file, either by copying and pasting it into the top of pebble-js-app.js, or by adding it to your JS build script.
  2. Replace all instances of Pebble.sendAppMessage() with MessageQueue.sendAppMessage().
  3. Profit!
You can’t perform that action at this time.