Home

Awesome

A pebble app to control robots from your wrist.

With very few lines of code, you can:

my.pebble.send_notification("Hello Pebble!");
my.pebble.on('button', function(data) {
  console.log("Button pushed: " + data);
});
my.pebble.on('tap', function(data) {
  console.log("Tap event detected");
});
my.pebble.on('accel', function(data) {
  console.log(data);
});

Full examples of how to interact with watchbot

Hello Pebble!
var Cylon = require("cylon");

Cylon.api({
  host: "0.0.0.0",
  port: "8080",
  ssl:  false
});

Cylon.robot({
  name: "pebble",

  connections: {
    pebble: { adaptor: "pebble" }
  },

  devices: {
    pebble: { driver: "pebble" }
  },

  work: function(my) {
    my.pebble.send_notification("Hello Pebble!");

    my.pebble.on("button", function(data) {
      console.log("Button pushed: " + data);
    });

    my.pebble.on("tap", function() {
      console.log("Tap event detected");
    });
  }
}).start();
Accelerometer
"use strict";

var Cylon = require("cylon");

Cylon.api({
  host: "0.0.0.0",
  port: "8080",
  ssl:  false
});

Cylon.robot({
  name: "pebble",

  connections: {
    pebble: { adaptor: "pebble" }
  },

  devices: {
    pebble: { driver: "pebble" }
  },

  work: function(my) {
    my.pebble.on('accel', function(data) {
      console.log(data);
    });
  }
}).start();

More information about pebble drivers/adaptors

Download

watchbot appstore

You can find Watchbot in the Pebble Appstore, or add it directly to your phone's Pebble app with this link: pebble://appstore/52b11885b0661fb292000004

Configure

After app is installed, click on "Settings" and configure:

Usage

Watchbot has 3 main sections:

Releases

Contribute

Install from source

LICENSE

Copyright (c) 2013-2015 The Hybrid Group. Licensed under the Apache 2.0 license