maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Sailfish / Pebble users' club (https://talk.maemo.org/showthread.php?t=96061)

MikeHG 2015-10-17 08:46

Sailfish / Pebble users' club
 
There's already a thread for the daemon (thanks Smoku and co!) http://talk.maemo.org/showthread.php?t=93399

But I thought it would be good to have a thread for more general discussion about using the two together.

Which watch apps / faces / features work well on Sailfish? Which do not?... That sort of thing. Unfortunately, at least for the Time / Time Steel, you at present need to use an Android device to load the apps / faces, but you can then pair the Pebble with a Jolla phone, and at least some things continue working.

My favourite discovery so far is Gentle Wake. It's a smart alarm (which is to say it monitors your movement for a specified period before you need to wake up, and awakes you gently when you're already stirring). It doesn't do any 'sleep tracking' as such, but I don't really need that. Been using it for the last few days, and it seems to work very well.

Din Time is my watch face, seems pretty sensible, and includes weather which is handy because I haven't found a good / working standalone weather app yet.

mrsellout 2015-10-17 09:33

Re: Sailfish / Pebble users' club
 
I've been restricted with what I've done with my PT as I broke the screen on my Nexus 7 shortly after taking delivery of my watch :(.

I did notice this on Kickstarter:
https://www.kickstarter.com/projects...-and-modular-p

There's a $59 option which gives you GPS and NFC support. The whole project looks really interesting, with so many possibilities, but I don't really have the knowhow, or the time to get something done with it.

wormdrummer 2015-10-17 10:20

Re: Sailfish / Pebble users' club
 
To best honest, I love the simplicity of my pebble time and jolla. I get notifications, I can check the weathe, my battery lasts for 10 days.... thats about all that works.

The only thing I wished that worked was the calendar integration and the ability to add/remove apps.

Lets face it, most of the apps for the pebble are useless(all the pedometer apps for example are useless and totally inaccurate)

I tried a galaxy gear s2 and xepria z5 combination and only lasted a few hours before coming back to my faithful jolla and time steel.

Its just a shame we cant convince anyone to update pebbled!!!

Ive offered to pay for it but seems noone is interested.

MikeHG 2015-10-17 10:21

Re: Sailfish / Pebble users' club
 
There's a modular smartwatch (modules are parts of the strap) being kickstarted too.

https://www.kickstarter.com/projects...lar-smartwatch

I'm a little sceptical as to how well that'll work, but it's an interesting idea.

@wormdrummer - I don't know, it's early days yet since Smoku stopped developing it. I hope somebody else does take it further. RobertMe certainly seemed interested, and we don't know whether he's stopped, hit a hurdle, just been busy...

[eta- worth noting that Smoku has been merging patches as recently as a week ago. I don't know how long he'll want to keep managing the project if he isn't using it, but it's great that he's doing so thus far]

Which weather app are you using?

billranton 2015-10-17 12:17

Re: Sailfish / Pebble users' club
 
What needs updating in pebbled? Seems to work pretty well for me.

MikeHG 2015-10-17 12:30

Re: Sailfish / Pebble users' club
 
Which watch? On Times, you can't install apps / watchfaces (which is partially workaroundable with another device running Android or probably iOS, but not entirely because apps won't cache on the Sailfish device), and the Time Line support is limited. There's no support as far as I gather for the spate of microphone using apps coming out either, and I don't know how feasible that is - it might well require Android / iOS things that are unportable.

Probably a few other limitations too - I've tried a few apps that won't work, but haven't figured out why. Could be limitations of the daemon / app, could be Sailfish limitations, could be broken apps / buggy watch firmware...

I find it works pretty well (the notifications are better than I expected - you get a summary of the email / text when it actually appears, even if it just says '2 new emails' or whatever if you look in the notifications app afterwards), but these things will presumably become issues for older generation Pebble users too since they're going to get the updated OS sometime soon(tm).

billranton 2015-10-17 14:19

Re: Sailfish / Pebble users' club
 
Ah right, I have an original Pebble so I don't see any of these problems. The Time looks a bit too Apple for me. I don't think watches should be spoken to :)

RobertMe 2015-10-18 09:04

Re: Sailfish / Pebble users' club
 
Quote:

Originally Posted by MikeHG (Post 1485830)
@wormdrummer - I don't know, it's early days yet since Smoku stopped developing it. I hope somebody else does take it further. RobertMe certainly seemed interested, and we don't know whether he's stopped, hit a hurdle, just been busy...

I'm still alive :) I've started working on my own Pebble app/daemon. Currently this daemon is (only) capable off:
  • Adding and removing timeline pins based on the Jolla Calendar
  • Adding timeline pins for email[1], SMS, missed call
  • Showing and removing [2] notifications for email[1], SMS, missed call, Android WhatsApp [3]
  • Sending apps to the watch when they get requested [4]
  • Running some apps which need to run code on the phone (for internet access, positioning/GPS et cetera) [5]

[1] Details are shown for every single email, based on the new events view of SFOS 2, instead of the "X new emails" of Smokus Pebbled
[2] When the notification gets read on the phone it is also automatically deleted from the Pebble, while the pin, if there is any, is kept
[3] I've decided not to add timeline pins for WhatsApp as that could become a lot
[4] There is yet no support for actually installing apps on the Pebble, but if the app is installed and I put the installation file in a directory on the phone the watch is able to "download" it from the phone.
[5] Support isn't on par with Smokus Pebbled yet, but the missing bits are minor, and shouldn't hurt running most apps.

Some things which still need to happen before I can make a (public) release:
  • Automatic reconnect, it the bluetooth connection is lost it isn't reestablished yet
  • Creating a UI [1]
  • Bugfixing, bugfixing, bugfixing [2]

[1] This will be a lot of work, as I then also need to be able to have some form of communication between the app/UI and the daemon, which I didn't start working on yet.
[2] For example when I receive multiple WhatsApp messages quickly after each other I don't get a notification, or it is immediately removed again

Afterwards I would then be able to work on things like music control, call/phone control, app store support.

wormdrummer 2015-10-18 10:15

Re: Sailfish / Pebble users' club
 
Awesome news! Please let us know if we can be of any help.

Quick question, will other apps be supported to receive notifications (such as whatsup instead of whatsapp?)

Very appriciative of your work!

RobertMe 2015-10-18 16:23

Re: Sailfish / Pebble users' club
 
There are many areas were help is appropriated. In time I will of course publish to source code so others can contribute. I'll need tests/users who report feedback. And for the notifications I'll need users who can send information about how the app(s) send the notification/the data contained in it, which is relatively easy to do (so yes, support for Whatsup is possible, but as I don't use it I didn't implement it yet and don't know the exact details of how to "get" the notifications).

But in time I will create a new thread so further discussions, feedback, information, ... can handled there.

MikeHG 2015-10-18 23:02

Re: Sailfish / Pebble users' club
 
Quote:

Originally Posted by billranton (Post 1485847)
Ah right, I have an original Pebble so I don't see any of these problems. The Time looks a bit too Apple for me. I don't think watches should be spoken to :)

I actually think being able to set alarms, reminders and such things by voice would be pretty awesome... But I guess we've a long way to go yet to get there.

billranton 2015-10-19 07:20

Re: Sailfish / Pebble users' club
 
Quote:

Originally Posted by RobertMe (Post 1485906)
I'm still alive :) I've started working on my own Pebble app/daemon.

Running some apps which need to run code on the phone (for internet access, positioning/GPS et cetera) [5]
[5] Support isn't on par with Smokus Pebbled yet, but the missing bits are minor, and shouldn't hurt running most apps.

[1] This will be a lot of work, as I then also need to be able to have some form of communication between the app/UI and the daemon, which I didn't start working on yet.

Afterwards I would then be able to work on things like music control, call/phone control, app store support.

The existing Pebbled already does most of this. Wouldn't it be easier to just fork that? You'd get the UI and the D-Bus API for app/UI communication. You'd get Javispedro's work on the JSKit for running code on the phone. Seems silly to start anew.

MikeHG 2015-10-19 14:35

Re: Sailfish / Pebble users' club
 
Quote:

Originally Posted by MikeHG (Post 1485838)
...I find it works pretty well (the notifications are better than I expected - you get a summary of the email / text when it actually appears, even if it just says '2 new emails' or whatever if you look in the notifications app afterwards)...

I stand corrected about this, actually. Seems you only get a summary of the email if you've only got one new email since the previous notification (they appear on the watch at the same time as the phone, but the phone only seems to spit them out every so often), so if you're receiving lots of emails, you won't get anything except "X new emails..."

RobertMe 2015-10-19 16:25

Re: Sailfish / Pebble users' club
 
Quote:

Originally Posted by billranton (Post 1485998)
The existing Pebbled already does most of this. Wouldn't it be easier to just fork that? You'd get the UI and the D-Bus API for app/UI communication. You'd get Javispedro's work on the JSKit for running code on the phone. Seems silly to start anew.

Building from scratch means I can "design" everything the way I want to. And I can thus build it in such a way that the features I want to include are easily possible. As in the end I also want the app to be able to be used in combination with the SDK (so the Pebble SDK running on a PC or cloudpebble can send commands to the Pebble app running on SFOS to communicate with the Pebble watchapp).

And properly integrating with the timeline also would have been a lot of work in Smokus Pebble app, and the same goes for notifications (as the solution chosen in Smokus app doesn't allow to update notifications, nor removing them when the notification gets removed on the phone). While rebuilding things like music control and call support are neither complex, nor that time consuming.

And besides the technical reasons it's also a political reason. As Smoku has stopped development (although he's still merging the pull requests) I didn't want to rely too much on him and his app. And as he also has the closed source firmware upgrade support which is only available after donating that could become an issue.

billranton 2015-10-19 19:51

Re: Sailfish / Pebble users' club
 
I understand why you'd want to start from scratch, but that doesn't stop you forking/integrating any parts you're missing without relying on the original project. It's all GPLv3 after all. It's meant to be shared.

We do it together round here after all :)

TomJac 2015-10-19 20:49

Re: Sailfish / Pebble users' club
 
Quote:

Originally Posted by RobertMe (Post 1486034)
Building from scratch means I can "design" everything the way I want to. And I can thus build it in such a way that the features I want to include are easily possible. As in the end I also want the app to be able to be used in combination with the SDK (so the Pebble SDK running on a PC or cloudpebble can send commands to the Pebble app running on SFOS to communicate with the Pebble watchapp).

And properly integrating with the timeline also would have been a lot of work in Smokus Pebble app, and the same goes for notifications (as the solution chosen in Smokus app doesn't allow to update notifications, nor removing them when the notification gets removed on the phone). While rebuilding things like music control and call support are neither complex, nor that time consuming.

And besides the technical reasons it's also a political reason. As Smoku has stopped development (although he's still merging the pull requests) I didn't want to rely too much on him and his app. And as he also has the closed source firmware upgrade support which is only available after donating that could become an issue.

Good to hear,
have you been able to get new watchfaces on the watch? I don't really use the watch right now again because the default watchface is just so plain boring and I would like to use some of the more colorful ones from the store. It would be great if you have some fix for this! :o

RobertMe 2015-10-20 06:46

Re: Sailfish / Pebble users' club
 
Quote:

Originally Posted by billranton (Post 1486057)
I understand why you'd want to start from scratch, but that doesn't stop you forking/integrating any parts you're missing without relying on the original project. It's all GPLv3 after all. It's meant to be shared.

We do it together round here after all :)

Before i start working on a feature I mostly both check Smokus Pebble and Pebbles libpebble2 to get a general idea about how things should work, if there are any pitfalls et cetera. So it's not that I copy/paste over the code of Smokus Pebble, but I do get inspired by it.

Quote:

Originally Posted by TomJac (Post 1486063)
Good to hear,
have you been able to get new watchfaces on the watch? I don't really use the watch right now again because the default watchface is just so plain boring and I would like to use some of the more colorful ones from the store. It would be great if you have some fix for this! :o

This actually consists of three things. App store, making the app known to the Pebble, and being able to send over the app when the Pebble requests it.

The last thing is part of the "unlimited apps" feature. As not all apps are constantly available on the Pebble itself. Sometimes the Pebble needs to download the app from the phone when you start the app. And this is something which I implemented last week and thus works already.

Making the app known to the Pebble shouldn't be that much work. Because it just means sending a single command to the Pebble to insert the apps information into a database on the Pebble. After that you're able to start the app and the Pebble will then automatically request the app from the phone. And getting the apps information can be done by reading the installation file, and is already possible.

Adding support for the app store is much more work. As you need to log in before being able to use the store, and I also like to build it "the right way". Smokus app just loads the website and uses that to browse the apps. But it's also possible to load an app listing and manually show it, which means it can be build using a custom UI and thus be Sailfish like, instead of just showing the website.

TomJac 2015-10-30 10:49

Re: Sailfish / Pebble users' club
 
Where can we donate for you? :-)

wormdrummer 2015-10-30 11:03

Re: Sailfish / Pebble users' club
 
No pressure, but do you have any sort of eta on a first release? There are quote a few of us that are quite keen to expand the use of our pebbles :)

javispedro 2015-10-30 11:39

Re: Sailfish / Pebble users' club
 
Quote:

Originally Posted by billranton (Post 1485998)
. You'd get Javispedro's work on the JSKit for running code on the phone. Seems silly to start anew.

I'd start a new program too. The Time is too different, as usual, and I know the complications of having a single program supporting many smartwatches.

Also, Allerta have mentioned they plan to publish the same software they use on the Time to the original Pebble, so that means that eventually even the older Pebbles would stop working with the original program.

(Note that, if they're still the same Allerta, they will never actually update the older Pebbles, just constantly promise the update is a few months away until everyone forgets about it).

Quote:

Originally Posted by RobertMe (Post 1486034)
as the solution chosen in Smokus app doesn't allow to update notifications, nor removing them when the notification gets removed on the phone

It would be more worrysome to me if you don't use libwatchfish for that at least. It's about time we start sharing the common parts of the different Sailfish smartwatch support programs, and why not start with notification support, since there's a shitton ways to get it wrong? (see the older issues such as pebbled "eating" jolla notifications).

I'm happy if you even fork it and make radical changes (the API is not fixed in stone); I will eventually pull them even if they don't apply directly to my branch.

For example, if this gets enough traction, I will push some changes to lipstick to support notification sinks as in the older Meego days, but first I need to know exactly which APIs are required by the different smartwatches... so please use it and make any changes you require!

RobertMe 2015-10-30 17:35

Re: Sailfish / Pebble users' club
 
Quote:

Originally Posted by TomJac (Post 1487146)
Where can we donate for you? :-)

I think it's a bit early for that. First let me build something which actually works :) Although if you really want to you can still find a donation link in Smokus Pebbled thread. As I posted a PayPal donation link there after popular demand for the timeline/notifications integration.

Quote:

Originally Posted by wormdrummer (Post 1487148)
No pressure, but do you have any sort of eta on a first release? There are quote a few of us that are quite keen to expand the use of our pebbles :)

No ETA yet. After two weeks of almost full time development (as I had some days of from my daytime job), I only spend a few hours on it the last two weeks after that. As it's also hard to find motivation and time to work on it after already having spend 8 hours on programming on my daytime job.

Quote:

Originally Posted by javispedro (Post 1487151)
I'd start a new program too. The Time is too different, as usual, and I know the complications of having a single program supporting many smartwatches.

Actually there aren't that many differences. The only breakages are related to the unlimited apps feature and the timeline/notifications. When using the PT(S) with Smokus Pebbled it actually still sends the now legacy commands when it starts and stops an app, which means JSKit still works (but you do need to manually put the pbw file in the /apps/ directory of pebbled). But I also didn't like the implementation. As all messages were build and read using the binary messages. My implementation looks like the way it is build in libpebble2, using classes which represent the messages, which IMHO is a lot cleaner to use.

Quote:

Originally Posted by javispedro (Post 1487151)
It would be more worrysome to me if you don't use libwatchfish for that at least. It's about time we start sharing the common parts of the different Sailfish smartwatch support programs, and why not start with notification support, since there's a shitton ways to get it wrong? (see the older issues such as pebbled "eating" jolla notifications).

I actually based the notification work on your code. Although I did modify it a bit. Changed the coding style to my likings, and I convert the messages to a QVariant instead of a class. But I didn't use/fork libwatchfish, just copied the code over into my project.

javispedro 2015-11-04 19:46

Re: Sailfish / Pebble users' club
 
Quote:

Originally Posted by RobertMe (Post 1487172)
Actually there aren't that many differences. The only breakages are related to the unlimited apps feature and the timeline/notifications. When using the PT(S) with Smokus Pebbled it actually still sends the now legacy commands when it starts and stops an app, which means JSKit still works (but you do need to manually put the pbw file in the /apps/ directory of pebbled).

Oh, I am not thinking protocol, but rather interaction model. In the older Pebble FW, the UI program should be more like a control panel, able to install or remove Pebble programs, slots, etc. For new Pebbles the watch is smarter and handles most of the stuff, including pulling binaries from the phone as required. So the phone program is dumber.

In fact, it could just be a browser to the Pebble store.

(They removed the ability to sort the menu from the watch, so that's not entirely true, though).

In any case, it changes entirely the design of the UI program and the way it communicates with the daemon.

Quote:

Originally Posted by RobertMe (Post 1487172)
But I also didn't like the implementation. As all messages were build and read using the binary messages. My implementation looks like the way it is build in libpebble2, using classes which represent the messages, which IMHO is a lot cleaner to use.

Personally I wouldn't fork it just because of this, since it's not like messages are hard to decode to begin with, there are many message formats, and most of them are specific to a single endpoint only. So one ends up with a shitton of classes to replace a single 3-line function that most probably would never change for the entire lifetime of the watch.

But oh well.

Quote:

Originally Posted by RobertMe (Post 1487172)
Changed the coding style to my likings, and I convert the messages to a QVariant instead of a class. But I didn't use/fork libwatchfish, just copied the code over into my project.

Oh well x2.

By the way they use Nuance non-HTTP for the voice API, so we can pretty much forget about it.

MikeHG 2015-11-05 13:58

Re: Sailfish / Pebble users' club
 
Quote:

Originally Posted by javispedro (Post 1487151)
...

Also, Allerta have mentioned they plan to publish the same software they use on the Time to the original Pebble, so that means that eventually even the older Pebbles would stop working with the original program.

(Note that, if they're still the same Allerta, they will never actually update the older Pebbles, just constantly promise the update is a few months away until everyone forgets about it).

...

Open beta starts in December, apparently.

http://www.wareable.com/Pebble/timel...steel-december

Make of that what you will :p

wormdrummer 2015-11-16 10:54

Re: Sailfish / Pebble users' club
 
Are we any closer to having something to play woth RobertMe? I paired my pebble time to my blackberry priv and realised all the functionality the jolla is missing out on (even just being able to review full notification content on the watch).

I am probably going to stick with the Jolla, so an update would be great :)

TomJac 2015-11-22 21:23

Re: Sailfish / Pebble users' club
 
Some updates would be great,

I don't use my pebble at all because of still the boring watchface... I better sell it if watchface not working :-/

wormdrummer 2015-11-23 03:20

Re: Sailfish / Pebble users' club
 
Unfortunately like Jolla, it seems this is dead. I've put my Jolla and Pebble on ebay and time to move on. Thanks for all the support guys!!!

javispedro 2015-11-23 03:24

Re: Sailfish / Pebble users' club
 
Quote:

Originally Posted by TomJac (Post 1489230)
I don't use my pebble at all because of still the boring watchface... I better sell it if watchface not working :-/

You can certainly change the watchface of non-Time Pebbles. For a Time I believe you need to pair and do it from an iPhone or Android device, and then you can use it without problem on Jolla.

MikeHG 2015-11-25 18:18

Re: Sailfish / Pebble users' club
 
I'd still love to know of a weather app that works. Not sure that's possible where we are... but if anyone's found one please do tell!

billranton 2015-11-25 18:59

Re: Sailfish / Pebble users' club
 
I use the MyStyle watchface, and the weather works on that on my pebble.

MikeHG 2015-11-25 20:10

Re: Sailfish / Pebble users' club
 
DIN time does as well (worth a look in my opinion).

I'm trying to find an actual app that goes into a bit more detail, but they all seem to rely on something on the phone unfortunately.

Thanks anyway - I'll give it a try.

billranton 2015-11-25 20:57

Re: Sailfish / Pebble users' club
 
I definitely noticed that Piny Wings can't connect to its licensing server. It seems to retrieve a URL in the jskit, but it just doesn't get delivered to the watch app.

matimilko 2015-11-30 15:51

Re: Sailfish / Pebble users' club
 
Quote:

Originally Posted by MikeHG (Post 1489737)
I'd still love to know of a weather app that works. Not sure that's possible where we are... but if anyone's found one please do tell!

..did You tried MINIMALIST WEATHER?
It has 3 day wiew...

asa 2015-12-01 07:27

Re: Sailfish / Pebble users' club
 
Why some apps can't be added and installed on my Jolla? I recently bought Philips Hue lights and would like to operate them through my watch.

abranson 2015-12-01 08:15

Re: Sailfish / Pebble users' club
 
I pushed two changes to the github repo:
  1. More apps using internet access work now. There are several callbacks that they can use, and only one was implemented. I added the one that Piny Wings uses, but there are more.
  2. Apps with worker binaries, like activity trackers, work now.

If anyone could test this code to see what works and doesn't now, that would be very helpful. For the Hue thing - I don't have any of that. Where does it fail? On installation? What happens?

matimilko 2015-12-01 12:52

Re: Sailfish / Pebble users' club
 
I hope soon this will be implementet in app :)

TomJac 2015-12-01 18:35

Re: Sailfish / Pebble users' club
 
Anybody knows if Endomondo and the pebble app work? Or another running app? :-)

MikeHG 2015-12-03 10:30

Re: Sailfish / Pebble users' club
 
Thanks matimilko, I'll give it a try.

TomJac - this seems to work: https://forums.getpebble.com/discuss...ps-for-runners

billranton 2015-12-03 14:31

Re: Sailfish / Pebble users' club
 
Morpheuz and Misfit both seem to work on the watch, but the config page of misfit comes up blank.

matimilko 2015-12-10 09:58

Re: Sailfish / Pebble users' club
 
Will We also get Pebble timeline with Sailfish?

"You can now sign up for the original Pebble’s Timeline update beta on Android" http://mobilesyrup.com/2015/12/09/yo...ampaign=buffer

matimilko 2015-12-16 10:11

Re: Sailfish / Pebble users' club
 
Anybody knows how to upgrade to a new Firmware on Pebble classic?


All times are GMT. The time now is 06:18.

vBulletin® Version 3.8.8