Skip to content
This repository was archived by the owner on Jul 22, 2021. It is now read-only.

[feature] Pebble integration #44

@rubdos

Description

@rubdos

Hey Dylan!

This is a feature request. I'll soon be having a Pebble Time Round on my wrist, and it would be awesome if I got my trains (and delays!! #14 is related) on my watch in the Pebble timeline.

Thanks to the rockpool application by @abranson, this works decently on SailfishOS.
Rockpool has a daemon that listens to certain DBUS interfaces (@abranson, correct me if I'm wrong please!), one of which is the insertTimelinePin call. https://github.com/abranson/rockpool/blob/master/rockworkd/dbusinterface.cpp#L166 lists an example call: dbus-send --session --dest=org.rockwork --type=method_call --print-reply /org/rockwork/XX_XX_XX_XX_XX_XX org.rockwork.Pebble.insertTimelinePin string:"$(cat pin.json)".

It looks like D-Bus is quite easily interfaces in SailfishOS QML.

I'm mostly opening this issue to ask:

  1. @DylanVanAssche, would you accept a patch to make this work?
  2. @abranson, would you be okay with me "abusing" the D-Bus interface? I don't know of any app (beyond rockpool itself) using the interface yet, and normally, apps should push pins through Rebble's server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions