Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use libpebble #34

Open
tristan-k opened this issue Dec 10, 2014 · 2 comments
Open

how to use libpebble #34

tristan-k opened this issue Dec 10, 2014 · 2 comments

Comments

@tristan-k
Copy link

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.

@tristan-k tristan-k changed the title update readme how to use libpebble Dec 10, 2014
@st599
Copy link

st599 commented Jan 1, 2015

I too am interested in this.

I have 2 use cases

  1. send data to the pebble for display
  2. on a button press on the pebble, initiate a program on a Linux PC.

@ghost
Copy link

ghost commented Jun 9, 2015

same question here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants