Skip to content

javascript datalogging #57

Description

@konsumer

I am working on a watchface that records accelerometer data. It would be super-cool if I could use just javascript (no native app) to datalog, and sync to a remote server. I am playing with PouchDB (#55) which has other issues, but might be ideal. If the DataLogging API is more efficient & fault tolerant, than I would much prefer it to AppMessages.

I might recommend code that looks like this, on the javascript side:

Pebble.addEventListener("datalog", function(e) {
    // do something with e.data, which is an array of new ints
});

Since the official Pebble app is not open-source, I am unsure of how I can contribute this functionality, but I would love using it!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions