Notifications

This sends simple notifications to the watch. It could probably use some improvement.

class libpebble2.services.notifications.Notifications(pebble, blobdb=None)

Sends simple notifications.

Parameters:
  • pebble (PebbleConnection) – The Pebble to send a notification to.
  • blobdb – An existing BlobDBClient, if any. If necessary, one will be created.
send_notification(subject='', message='', sender='', source=None)

Sends a notification. Blocks as long as necessary.

Parameters: