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

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

Latest Comments

ad1217 commented on 2016-03-27 16:48

bastelfreak: Added, thanks!

bastelfreak commented on 2016-03-27 16:39

Hi,

setuptools is missing as a makedepend, could you please add it?
https://ci.virtapi.org/view/Arch%20Package%20Continuous%20Delivery/job/Arch_Package_python2-libpebble2-git/2/console

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/pebble.py", line 7, in <module>
pebble_tool.run_tool()
File "/opt/pebble/pebble-tool/pebble_tool/__init__.py", line 31, in run_tool
args.func(args)
File "/opt/pebble/pebble-tool/pebble_tool/commands/base.py", line 39, in <lambda>
parser.set_defaults(func=lambda x: cls()(x))
File "/opt/pebble/pebble-tool/pebble_tool/commands/logs.py", line 13, in __call__
super(LogsCommand, self).__call__(args)
File "/opt/pebble/pebble-tool/pebble_tool/commands/base.py", line 93, in __call__
self.pebble = self._connect(args)
File "/opt/pebble/pebble-tool/pebble_tool/commands/base.py", line 100, in _connect
return self._connect_phone(args.phone)
File "/opt/pebble/pebble-tool/pebble_tool/commands/base.py", line 144, in _connect_phone
connection.run_async()
File "/usr/lib/python2.7/site-packages/libpebble2/communication/__init__.py", line 103, in run_async
self.fetch_watch_info()
File "/usr/lib/python2.7/site-packages/libpebble2/communication/__init__.py", line 299, in fetch_watch_info
self.send_packet(WatchVersion(data=WatchVersionRequest()))
File "/usr/lib/python2.7/site-packages/libpebble2/communication/__init__.py", line 263, in send_packet
self.send_raw(serialised)
File "/usr/lib/python2.7/site-packages/libpebble2/communication/__init__.py", line 275, in send_raw
self.transport.send_packet(message)
File "/usr/lib/python2.7/site-packages/libpebble2/communication/transports/websocket/__init__.py", line 53, in send_packet
handlers[type(target)](message)
File "/usr/lib/python2.7/site-packages/libpebble2/communication/transports/websocket/__init__.py", 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/__init__.py", line 53, in send_packet
handlers[type(target)](message)
File "/usr/lib/python2.7/site-packages/libpebble2/communication/transports/websocket/__init__.py", line 60, in _send_to_phone
self.ws.send_binary(message)
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.