Unofficial Pebble smartwatch support for Sailfish.
Rockpool is a port of the Ubuntu Touch application RockWork, which is a port of the Sailfish application Pebbled, which can trace its history back to the original python libpebble written by Pebble developers for exactly this sort of thing. It supports the v3 version of the Pebble firmware, which was released with the Pebble Time and is now available for earlier models. It has partial support for the new Rebble services, including the watchface and app store.
Features
- Forwards notifications to the watch, they can be opened or dismissed from there. New notification types in the pebble v3 are used: Hangouts for Hangish, Telegram for Sailorgram and the android client, Whatsapp for the android client. Different notification types can be silenced either completely or only when the phone is unlocked. SMS and IM messages can be replied to from the watch using user-defined 'canned messages'
- Calendar entries are added to the timeline on the watch, automatically refreshed when the phone's calendar is updated. If you have a reminder set on the entry before the event starts, you'll get one on your watch too. If you log into Pebble, then your watch will be able to subscribe to custom notifications from watchapps too.
- Send music info to the watch, including track duration and progress so you get the progress bar. You can pause, play, skip tracks and change the volume from your pebble.
- Show incoming call notifications, rejecting, accepting and ending calls.
- You can manage watch apps, and browse the pebble store for new ones. If you previously added apps manually, you should remove them and add them from the store so you get the nice icon. Your installed apps and watch faces can be synced with Pebble. Apps that push timeline pins to your watch from the internet are supported.
- Rudimentary native app API. Apps can send data to the hidden built-in fitness tracker.
- Support for Pebble Time watches' Weather application
- Lots more: Profile switching when the watch is connected (e.g. silent). Take, manage and share watch screenshots. Update the time on your watch whenever the time or timezone changes on your phone.
- Language file support for alternative character sets.
The following features are not yet implemented:
- Support for Pebble 2 watches. The new models only support Bluetooth Low Energy, and Pebble's BTLE protocol is not implemented in Rockpool.
- Fitness features such as step counting and sleep tracking work on the watch, but the data is not downloaded to Rockpool so there's no long term data or graphs of your activity. The heart rate monitor is not supported, though neither is the watch that has it.
Please feel welcome to contribute on GitHub, either by filing issues or chipping in. New translations are always welcome on https://hosted.weblate.org/projects/rockpool/translations/!
The best place to get Rockpool from right now (SFOS 4.5.0) is my community repository on OBS. Use one of these commands as root depending on your architecture
-
ssu ar rockpool https://repo.sailfishos.org/obs/home:/abranson:/sailfishapps/aarch64/
-
ssu ar rockpool https://repo.sailfishos.org/obs/home:/abranson:/sailfishapps/armv7hl/
-
ssu ar rockpool https://repo.sailfishos.org/obs/home:/abranson:/sailfishapps/i486/
And install with:
zypper ref && zypper in rockpool
Comments
mattpenn
Tue, 2019/11/26 - 12:27
Permalink
Hello,
Thanks for the awesome work on this.
I'm having some trouble initialising a Pebble Time from an Xperia XA2 w/ SFOS 3.2.012. Everything worked fine previously with an Xperia X.
Right now the Pebble and phone pair without issue but I then remain stuck at the initialisation screen. Rockpool sees the paired device but pressing the "Initialize Pebble" button doesn't do anything. I've tried various combinations of restarting devices/services and re-pairing.
Does anyone have any advice on troubleshooting this?
Cheers,
Matt
mdj
Thu, 2019/11/28 - 18:31
Permalink
So I managed to get this working but only after doing the firmware upgrade first on the iOS Pebble app. I then removed the iPhone bluetooth connection, paired it with my Xperia 10, opened up Rockwork and bam, all was as it should be. Maybe its possible to upgrade the firmware via the Pebble/Rebble apps for Android?
mattpenn
Mon, 2019/12/02 - 13:19
Permalink
It looks like the URLs that were being used in Rockpool for firmware downloads are no longer working. See https://github.com/abranson/rockpool/issues/80.
Will probably attempt to initialise with the Android for now as suggested.
jbj
Thu, 2019/02/14 - 04:37
Permalink
I will try to ask someone in the rebble discord chat when I have time.
the login should be done by clicking the link on boot.rebble.io from the mobile device, the link contains some kine of hash or key that tells the app about your rebble identity so that the apps you previously have installed are loaded, this will supposely make it easier to switch between devices
Termitebug
Thu, 2018/12/27 - 03:14
Permalink
@aerique Thanks! I got from OBS Rockpool 1.6 version installed and Rebble services works :)
jbj
Mon, 2019/02/04 - 01:39
Permalink
@Termitebug How did you manage to login to rebble?
[EDIT: I do have access to Rebble Web Services, just not the login]
I just downloaded 1.6 and connected my PTR, but I just get an offer to 'upgrade' from 4.4.0-rbl to 4.3
I can't use the URL "It's Rebble time" from boot.rebble.io and when I try to login from the rockpool app, I end up on https://auth-client.getpebble.com/en_US/ which obviously is not found.
do you have a trick that I could have missed?
Best wishes
Termitebug
Thu, 2019/02/14 - 03:00
Permalink
Sorry, I don't know either how to change the Rockpool 1.6 login to Rebble account. I do have, same as you, access to Rebble Web Services. You should ask from somebody else for better answer.
What does the login option do? My Pebble 1 Classic timeline (calendar) is broken but apps work again in Rockpool without account credentials.
wolliden
Fri, 2018/12/07 - 00:04
Permalink
XA2 SFX 3.0.0.8; connection to Pebble Time went well, but without switching the Pebble account to rebble.io, the watch is mostly useless. Thank yor for this app, but can we expect further development?
aerique
Wed, 2018/12/12 - 12:05
Permalink
Hi, there's automatic builds with Rebble support available here: https://build.merproject.org/package/binaries/home:abranson:sailfishapps...
toxip
Tue, 2019/04/30 - 17:11
Permalink
I don't know if it has something do with your rebble mod of this app but I tried using a weather watchface (which shouldn't work cause I don't have a rebble subscription) and the whole phone froze and rockpoold processor usage went to the roof. Something went terribly wrong somehwhere. The watchface I used was Weather My Way.
callebagge
Sun, 2019/02/17 - 18:46
Permalink
Thank you! This worked well with xperia XA2 and pebble time.
Amboss
Sat, 2018/11/17 - 17:29
Permalink
@termite: Pebble servers have closed down in June. I think calendar events where sent via the timeline service. If it doesn't get diverted to the corresponding service from rebble, it won't work.
Termitebug
Thu, 2018/10/11 - 16:03
Permalink
I don't know why but Sailfish calendar app stopped working with my Pebble Classic's events view. I'm running Rockpool on SF Xperia Mouhijoki. Any else having same issue? Now only clock app's past alarms are shown and working with events.
domino4evers
Mon, 2018/08/20 - 20:42
Permalink
Hi there
I have just bought a Pebble 2 SE (very cheap) - any news on getting it to work with Sailfish? Right now i am using my Lenovo Android tablet :(
Best Regards
Kim Domino
meierrom
Mon, 2018/07/30 - 19:03
Permalink
Hi,
I read great things about rebble.io taking over from fitbit. I may buy a pebble time or pebble time steal. They are rather affordable these days.
Is rockpool working well with the new rebble firmwares, which are apparently open source now?
Thanks in advance...
abranson
Mon, 2018/08/06 - 18:25
Permalink
As far as I know, no-one's tried Rockpool with rebble yet. It could be as simple as switching the URLs over in Rockpool. The timeline services may not be so easy though - from the quick look I took it seemed the auth mechanism might be different to pebble's.
alanmorford
Mon, 2018/09/03 - 22:31
Permalink
Did you see the Ubuntu Touch pebble app got updated for Rebble? Surely the source code used is very close. Heres the link https://launchpad.net/rockwork.
meierrom
Wed, 2018/08/08 - 14:53
Permalink
Can I help to make this work?
I don’t know much about your Rockpool code but maybe I can come in as a tester and give you feedback?
alanmorford
Sun, 2018/06/24 - 03:13
Permalink
I'm very appreciative of this app and developer. He's work with me before on adding a restart service option. I hope with Pebble's servers being shutdown and Rebble's cloud services replacement coming soon that this app will also be updated!
pamoedo
Mon, 2018/01/29 - 22:59
Permalink
It works like a charm, thank you very much for this tremendous app.
Just a little question, as you know, the settings part is not running in most of the watchfaces or apps due to the webview thing that you already commented below, but I've tried some of those urls in a normal browser and they return pebblejs strings once saved, do you know if there is any workaround in place to push those strings back to the pebble via developer port?
Regards.
abranson
Mon, 2018/02/05 - 11:51
Permalink
No, I don't think that's possible right now sorry. If the settings page works in the sailfish browser, then it should work in the webview in Rockpool - though you have to close and re-open the app each time you want to view one. Should probably move back to the old WebKit at this point..
pamoedo
Sat, 2018/02/10 - 19:41
Permalink
By normal browser I meant an external one, in my phone is not working at all (SailfishX 2.1.3.7)
If moving back to old WebKit means recovering all settings functionality, you have my vote.
Thanks again for your effort to provide us this great app.
realwillow
Wed, 2017/11/08 - 16:00
Permalink
Hi,
thanks for the App. I have a short question. In some Pebble Apps I am not able to use the "settings". For Example in the Maptastic, cards or pENDLER. Sometimes the settings tab is not open, or does not react or cannot be used at all. Will there be an update on that in the future?
Thank you
abranson
Tue, 2017/11/14 - 17:43
Permalink
The webview is very unreliable at the moment. Either it needs to switch back to Webkit, which would mean lots more settings pages wouldn't work, or wait for the silica webview to get fixed, which might take a long time.
Piece_Maker
Fri, 2019/03/22 - 19:39
Permalink
I'm curious to know if it'd be possible to yank the configured settings files from the Android app, and copy them over to ~/.local/share/rockpoold? I know it's a bit heavy-handed of a workaround, but if it works it works. I've found the Android app settings in /data/data/com.getpebble.android.basalt (needs root to access) and there's an 'app_webview' file which seems to contain all of the files. Would simply copying this over and re-naming it to what Rockpool expects work?
Termitebug
Sun, 2019/05/12 - 21:31
Permalink
Might work if you have on Android side the exact same file structure (xx.xx.xx.xx.xx Bluetooth folder), database encoding and .conf files. For reference my twitter picture @Kalnoize. IDK that is bad way to share, but easy SFOS ways are limited :p
Piece_Maker
Sat, 2019/05/18 - 14:30
Permalink
I actually found my solution worked better using the UBPorts version of the app than the android one, presumably because it's a port of the same app. It's a bit messy, but the UBPorts app can change settings of watch apps/faces, and stores them in the same location as the Sailfish version, so you can just scp it across to your other phone once you're done setting stuff up.
I'm also curious to know if canned messages in Rockpool work for everyone - the default ones show up on the watch but my user defined ones don't. This is the same for both SMS and instant messages via my Jabber account!
jtab
Sun, 2017/10/29 - 22:06
Permalink
Is there any chance to get rockpool-1.3-3 for i486? I have a Jolla tablet and the armv7 version doesn't work there.
abranson
Tue, 2017/11/14 - 17:42
Permalink
Sorry, I didn't think anyone was using that! I'll try to do an x86 version next time I build rockpool.
ABreen
Tue, 2017/10/17 - 01:34
Permalink
Thank you for a great app. It works very well with my Pebble Steel.
I'd like to use my Pebble 2 on my Sony Xperia with Sailfish X. Are there plans to implement Pebble's BTLE protocol in Rockpool?
Thanks again
Pages