maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [WiP] SkippingStones, Pebble Protocol Implementation and UI for Qt5/SailfishOS (https://talk.maemo.org/showthread.php?t=92695)

Wonko 2014-04-14 08:44

Re: Pebble Smart Watch...
 
Thanks for all the feedback.
It seems that SkippingStones really reached a state in which it is actually useful for some. :)
As one consequence (and due to popular demand), I added SkippingStones to OpenRepos:
https://openrepos.net/content/ruedig...skippingstones
Please note, however, that I don't know if I can keep the OpenRepos site always up to date with the most recent updates.
Most likely, I will post links to new versions here before I upload new versions to OpenRepos.

Quote:

Originally Posted by geekgirl74 (Post 1421202)
I can't imagine running this app in the background. How do you access it in case of the reconnect not working? This happens from time to time... I hope it stays accessible in the foreground.

(I am just replying to you as this is the last message in this thread of discussion. But of course, the answer is also directed to the original requestor.)

Architecture-wise, a solution for this would be to split SkippingStones into two parts: a daemon and a user interface.
The daemon would then run in the background and do all the "business logic" like handling the connection with the watch, receiving notifications from the phone and forwarding these to the watch etc.
The user interface would then be used only when needed to tweak settings or interact with the daemon in case some things went wrong.

However, this would require quite some additional effort which I cannot afford to do time-wise.
One thing to consider is, e.g., the communication between the daemon and the user interface.
Furthermore, I don't really know if it is possible to run a QML application headless, i.e., as daemon.
The reason for this is that I chose to implement large parts of the protocol in QML.
I actually used QML because it significantly eases the "hackability" as it enables people to hack on the device without the need to recompile things.

Quote:

Originally Posted by HtheB (Post 1421201)
...
Can you also try to add a dbus patch for CuteSpotify to control the music when cutespotify is running? (it's the spotify app from Elleo)
...

Similar things as stated above apply here as well.
It is very unlikely that I will find the time to do something like this.
(To get an idea of how something like this could be done have a look at, e.g.: https://github.com/ruedigergad/Skipp...yer_dbus.patch )

However, for feature requests like this and other things:
The code of SkippingStones is publicly available and it uses a very liberal license:
https://github.com/ruedigergad/SkippingStones
So, everyone can actually do anything she/he wants.
If I can afford it time-wise I am also always happy about contributions to SkippingStones, e.g., in the form of patches or pull requests. :)
If someone adds support for SkippingStones to other apps, like cutespotify, it would be also great to share the patches here.
For those who are not that much into code, other ways of contributing can be, e.g., sharing ideas and experiences in this thread, discussing best practices, or supporting new users. :)

P@t 2014-04-14 12:37

Re: Pebble Smart Watch...
 
Just to add a thank you as I could install your app and connect my pebble. Seems to work nicely. A bit rough in corners but the essential part is here, and given that this is done in some free time, this is much welcome :)
I would love to contribute but... pure user here !
thanks again

PS: you probably know that as well but apart from Elleo, there is another guy working on pebble for sailfish:
https://github.com/jroivas/waterwatch

Wonko 2014-04-19 18:34

Re: Pebble Smart Watch...
 
I just uploaded version 0.11.
Please note that the new functionality (see below) is still pretty experimental and may lead to reboots or may even result in the watch not booting and thus requiring to reflash the watch via the Android or iOS app.
Still, for the adventurous, here is the download link.
https://github.com/ruedigergad/Skipp...l.rpm?raw=true

This version adds the experimental capability to manage the apps/watchfaces on the watch.
It is possible to remove and add watchfaces/apps.
The *.pbw files for apps/watchfaces have to be put in "/home/nemo/skippingStones/pbw".
The installation process takes quite some time.
Please do not close the progress page.

So far, I only tested the new functionality with the Pebble firmware version 2.0.2.
Generally, the new functionality still has to be considered as pretty experimental and bad things may happen such as reboots or fallback into the recovery boot loader requiring to reflash via the normal Pebble apps.

I don't plan to upload this new version to OpenRepos soon.
First, I want to do some more testing.
If there are some brave out there, feedback with respect to the new functionality is highly appreciated.

Cyrano 2014-04-19 19:56

Re: Pebble Smart Watch...
 
Loading watchfaces works :)
Firmware watch v1.14.1
Thank you very much Wonko

Boxeri 2014-04-19 20:15

Re: Pebble Smart Watch...
 
Have to dig my old android or iPhone up and test them with my Pebble and then try this out. Just in case if it backfires

geekgirl74 2014-04-19 20:44

Re: Pebble Smart Watch...
 
Thank you for still taking the time to push it to an even higher level :)

vasvlad 2014-04-20 06:32

Re: Pebble Smart Watch...
 
Hi.
I've tried to add the new feature to SkippingStones: "Possibility to hangup incoming call using Peeble watch".
Please test it
https://github.com/vasvlad/SkippingS...-2.armv7hl.rpm

Vlad.
P.S. Patch in pull request you can find here
https://github.com/ruedigergad/SkippingStones/pull/1

Cyrano 2014-04-20 07:07

Re: Pebble Smart Watch...
 
It works :)
Even some and the program will be fully functionalized.
Thank you very much.

geekgirl74 2014-04-20 07:49

Re: Pebble Smart Watch...
 
Quote:

Originally Posted by vasvlad (Post 1421995)
Hi.
I've tried to add the new feature to SkippingStones: "Possibility to hangup incoming call using Peeble watch".
Please test it
https://github.com/vasvlad/SkippingS...-2.armv7hl.rpm

Vlad.
P.S. Patch in pull request you can find here
https://github.com/ruedigergad/SkippingStones/pull/1

Feels great to see another developer jumping on the boat :)
Do you think you could add the possibility to receive calendar reminders? That would be the last thing missing. Or would that mean too much trouble to implement it?

Edit: I only wonder why the rpm file is almost twice as big now? Must be some really big changes :D

vasvlad 2014-04-20 08:14

Re: Pebble Smart Watch...
 
Quote:

Originally Posted by geekgirl74 (Post 1421999)
Feels great to see another developer jumping on the boat :)
Do you think you could add the possibility to receive calendar reminders? That would be the last thing missing. Or would that mean too much trouble to implement it?

I will try to explore calendar reminder.

Quote:

Originally Posted by geekgirl74 (Post 1421999)
Edit: I only wonder why the rpm file is almost twice as big now? Must be some really big changes :D

:)
I forget remove debug information from binary file in builder.

Vlad.


All times are GMT. The time now is 11:14.

vBulletin® Version 3.8.8