-
Notifications
You must be signed in to change notification settings - Fork 3
[feature] Pebble integration #44
Description
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:
- @DylanVanAssche, would you accept a patch to make this work?
- @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.