Package Details: python2-libpebble2-git v0.0.27-1

Git Clone URL: (read-only, click to copy)
Package Base: python2-libpebble2-git
Description: The library portion of the successor to libpebble, a python library for interacting with Pebble devices.
Upstream URL:
Licenses: MIT
Conflicts: python2-libpebble2
Provides: python2-libpebble2
Submitter: ad1217
Maintainer: ad1217
Last Packager: ad1217
Votes: 9
Popularity: 0.000000
First Submitted: 2015-07-26 13:31
Last Updated: 2017-02-01 18:05

Latest Comments

The-Compiler commented on 2020-12-04 20:54

Removing my co-maintainership here - I haven't used my Pebble in a long time (switched to a Garmin watch since the screen is a bit broken, RIP).

CaptainKrull commented on 2020-08-07 12:54

'python2-backports.ssl_match_hostname' isnt avalible in the AUR anymore, it has to be removed from the PKGBUILD and installed manually by using pip where its still avalible.

ad1217 commented on 2016-03-27 16:48

bastelfreak: Added, thanks!

bastelfreak commented on 2016-03-27 16:39


setuptools is missing as a makedepend, could you please add it?

ecloud commented on 2015-11-02 21:32

Yes that's exactly what the problem was. I didn't think I could uninstall python2-websocket-client-pebble because it's also a dependency, but it works OK to replace it with python2-websocket-client.

So thanks for the tip.

ad1217 commented on 2015-11-02 19:58

ecloud: That command works fine for me. Do you have an old version of python2-websocket-client installed? (possibly python2-websocket-client-pebble?)

ecloud commented on 2015-11-02 19:49

Pebble SDK 3.6 depends on this, but I'm having trouble:

[ubook][08:44:36 PM] pebble logs --phone 192.168.x.y
Traceback (most recent call last):
File "/opt/pebble/pebble-tool/", line 7, in <module>
File "/opt/pebble/pebble-tool/pebble_tool/", line 31, in run_tool
File "/opt/pebble/pebble-tool/pebble_tool/commands/", line 39, in <lambda>
parser.set_defaults(func=lambda x: cls()(x))
File "/opt/pebble/pebble-tool/pebble_tool/commands/", line 13, in __call__
super(LogsCommand, self).__call__(args)
File "/opt/pebble/pebble-tool/pebble_tool/commands/", line 93, in __call__
self.pebble = self._connect(args)
File "/opt/pebble/pebble-tool/pebble_tool/commands/", line 100, in _connect
return self._connect_phone(
File "/opt/pebble/pebble-tool/pebble_tool/commands/", line 144, in _connect_phone
File "/usr/lib/python2.7/site-packages/libpebble2/communication/", line 103, in run_async
File "/usr/lib/python2.7/site-packages/libpebble2/communication/", line 299, in fetch_watch_info
File "/usr/lib/python2.7/site-packages/libpebble2/communication/", line 263, in send_packet
File "/usr/lib/python2.7/site-packages/libpebble2/communication/", line 275, in send_raw
File "/usr/lib/python2.7/site-packages/libpebble2/communication/transports/websocket/", line 53, in send_packet
File "/usr/lib/python2.7/site-packages/libpebble2/communication/transports/websocket/", line 56, in _send_to_watch
self.send_packet(WebSocketRelayToWatch(payload=message), target=MessageTargetPhone())
File "/usr/lib/python2.7/site-packages/libpebble2/communication/transports/websocket/", line 53, in send_packet
File "/usr/lib/python2.7/site-packages/libpebble2/communication/transports/websocket/", line 60, in _send_to_phone
AttributeError: 'WebSocket' object has no attribute 'send_binary'

Whereas whatever SDK 3.4 is doing works fine (and I guess I'll have to avoid upgrading the other machine that still has it installed).

milouse commented on 2015-08-15 14:23

Does anyone reach to have it working ? I try to connect to my new pebble watch and nothing to do... I always have timeout after a while. Is there any serious doc (not a reference, but a _real_ documentation with howto, the name of the serial device etc.).

In fact, does this lib always allow us to directly communicate to the watch ?

Koterpillar commented on 2015-08-01 08:02

'python2-wsgiref' is not needed (and indeed isn't uploaded on AUR4), please exclude it from the dependencies.