Skip to content

how to use libpebble #34

Description

@tristan-k

I'm trying to use libpebble from https://github.com/Hexxeh/libpebble in order to interact with my mac. I successfully installed it and I'm able to run python pebble.py, which gives me some instructions:

$ python pebble.py -h
usage: pebble.py [-h] [--debug] [--version]
             {new-project,convert-project,build,clean,install,install_fw,ping,list,remote,rm,current,uuids,logs,repl,screenshot,launch}
             ...

Pebble SDK Shell

optional arguments:
  -h, --help            show this help message and exit
  --debug               Enable debugging output
  --version             show program's version number and exit

Command:
  Action to perform

  {new-project,convert-project,build,clean,install,install_fw,ping,list,remote,rm,current,uuids,logs,repl,screenshot,launch}
    new-project         Create a new Pebble project
    convert-project     convert an existing Pebble project to the current SDK.
                        Note: This will only convert the project, you'll still
                        have to update your source to match the new APIs.
    build               Build your Pebble project
    clean               Clean your Pebble project
    install             Install your Pebble project to your watch
    install_fw          Install a Pebble firmware
    ping                Ping your Pebble project to your watch
    list                List the apps installed on your watch
    remote              Use Pebble's music app as a remote control for a local
                    application
    rm                  Remove an app from your watch
    current             Get the uuid and name of the current app
    uuids               List the uuids and names of installed apps
    logs                Continuously displays logs from the watch
    repl                Launch an interactive python shell with a `pebble`
                        object to execute methods on.
    screenshot          take a screenshot of the pebble
    launch              Launch an application.

The README.md refers to a p.py wrapper which is removed with commit a00d06c (a00d06c). There is no further knowledge about how to utilize libpebble.

Does someone have experience with libpebble and point me to right direction? Please update the README.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions