Locus Map - forum

Content & Tools => Add-ons => Topic started by: zigzag on May 04, 2016, 09:59:49

Title: Locus addon for Pebble
Post by: zigzag on May 04, 2016, 09:59:49
Hi,
I make a simple addon for personal use, that show the informations on pebble smartwatch.

All Pebble smartwatches are supported.

Features:
- 9 different pages on watch
- up to 8 different data fileds in all pages
- start Locus Map with watch
- NAVIGATION
  - point / route guidance
  - turn-by-turn navigation
  - expected time to destination/next point/next turn
- REAL INFROMATIONS
  - speed
  - altitude
  - slope
  - heart rate (with HR belt)
  - heart rate zones
  - compass
  - gps accuracy
  - gps alert
  - phone battery alert
- TRACK RECORDING
  - control track recording (start/stop/pause/resume)
  - track time
  - pace
  - distance
  - average speed, max. speed,
  - max., min. altitude
  - energy
  - average, max. heart rate
  - last lap informations

zigzag

https://play.google.com/store/apps/details?id=com.gilisztaturmixgmail.locus_addon_pebble
Title: Re: Locus addon for Pebble
Post by: menion on May 04, 2016, 10:17:32
Good day zigzag,
this is indeed very good news. Suggest to post also information to this post http://help.locusmap.eu/topic/pebble_e_paper_watch_companion_app_to_locus , where are people waiting for exactly this information ;).
Title: Re: Locus addon for Pebble
Post by: rt on May 07, 2016, 08:27:30
I make a simple addon for personal use, that show the track recording information on pebble smartwatch.
- recording time - all time
- duration - for 4 sec
- average speed - for 4 sec
- actual altitude - at duration field for 2 sec, it begins with a colon
- heart rate - at speed field for 2 sec, between the two dash
Wow, this is great news as I am considering buying a smartwatch and Pebble Time looks like the most likely candidate.

Two questions:
Title: Re: Locus addon for Pebble
Post by: zigzag on May 08, 2016, 21:36:35
Hi,
1. See the firs post. (updated)
2. I learn android programming, It's fun for me. So I would like to do it myself. :-)

If you are a good programmer, you can be ready for such applications in two hours.
Locus api: http://docs.locusmap.eu/doku.php?id=manual:advanced:locus_api
Pebble developer site: https://developer.pebble.com/tutorials/

Title: Re: Locus addon for Pebble
Post by: menion on May 09, 2016, 18:46:41
Hello zigzag,
congratulation to the first app on Google Play.

If you will want to insert your app into list of Locus add-ons in app, let me know together with these infos: http://docs.locusmap.eu/doku.php?id=manual:advanced:locus_api:addon_is_ready_what_next#information_in_locus
Title: Re: Locus addon for Pebble
Post by: eldron on June 25, 2016, 01:41:39
@zigzag
I just wanted to thank you for your great work. Your app is a great addition to the pebble time and works like a charm :-)
Would be great to see a bigger choice of information that can be displayed, but having the track time, distance and play/pause is already awesome.
Thanks a lot!
Title: Re: Locus addon for Pebble
Post by: eldron on June 26, 2016, 15:42:30
@zigzag
I went on a longer hike today and took that opportunity to throughly check out your locus pebble app.
I still think that it´s a great tool, but I ran into two issues:
1) the pause button didn´t work. I could start/resume a track recording, but couldn´t pause it. After pausing the track within locus I could use your app to resume it, but not to pause it again.
2) Is there any way of manually starting you app? It disappeared twice from my watch (also the "sports" tile in the pebble menu was gone) and I didn´t know how to start it again, other than closing locus and opening it again.
Title: Re: Locus addon for Pebble
Post by: zigzag on June 26, 2016, 22:20:29
Hi eldron,


Quote
1) the pause button didn´t work. I could start/resume a track recording, but couldn´t pause it. After pausing the track within locus I could use your app to resume it, but not to pause it again.

Unselect "Use only SELECT button..."

Quote
2) Is there any way of manually starting you app? It disappeared twice from my watch (also the "sports" tile in the pebble menu was gone) and I didn´t know how to start it again, other than closing locus and opening it again.

Try start my app again on the phone, or try re-enable in Locus app "Enable periodic updates".

Quote
Would be great to see a bigger choice of information that can be displayed

Coming soon the next version with 9 different page on watch.
Title: Re: Locus addon for Pebble
Post by: eldron on June 26, 2016, 22:46:09
Thanks for your quick reply!
1) ahhh, now i get it. I misread that option. You might want to change the wording (position of the "only") to: "Use SELECT button only to start/resume" ;-)
How about creating an option that requires a double push on the select button to pause a track? That would make an accidental pause much less likely but still gives you the possibility to pause the track recording.
2) By starting the app do you mean opening the configuration screen? Or is there a different way of starting the app? Because I´m pretty sure that I tried that, but it didn´t work. I´ll try again though, should it happen again. Has this never happened to you?
I´ll also try re-enabling the periodic updates, but I´m not really sure if that´ll help - but then i don´t know what action of locus triggers the launch of your app.

I´m very much looking forward to the next version of your app!
Thanks for your great work!
Title: Re: Locus addon for Pebble
Post by: zigzag on June 27, 2016, 20:32:25
Hello,

I have found the solution.

Quote
2) Is there any way of manually starting you app? It disappeared twice from my watch (also the "sports" tile in the pebble menu was gone) and I didn´t know how to start it again, other than closing locus and opening it again.
R

If the phone lost connection with watch for some minutes, then sports menu gone.

I use a quick launch button to start sports app, so it has never happend to me.

So use a quick launch button to start sports app.

I will solve this issue in the next version.
Title: Re: Locus addon for Pebble
Post by: eldron on June 27, 2016, 22:38:50
@zigzag
I just double checked and you are right, a few minutes after deactivating bluetooth your pebble app closed itself and the "sports" entry disappeared from the menu. I then tried a few things to get it to open again (starting app on phone, re-enabling periodic updates, etc.) but nothing helped.
So for now I have put your app on one of the two pebble quicklaunch buttons - which does work.
Thanks for the workaround and looking forward to the next version.

What do you think about the double press to pause solution? I think that´s quite unlikely to happen accidentally.
Title: Re: Locus addon for Pebble
Post by: eldron on June 30, 2016, 00:32:18
Hi again,
I was wondering if there is any way to prevent your app from starting automatically whenever I open locus. I´d prefer if I could just open it manually when I need it. The reason being that I often use locus at home to either plan a hike / caching tour or to just try something out, sometimes even to just look at the map. Now everytime I do that the sports app opens on my watch.
It´s not a big issue, but I´d still prefer to be in control ;-)
Title: Re: Locus addon for Pebble
Post by: eldron on July 04, 2016, 15:33:54
And me again,
I went for a walk today and used your addon to display the info on my watch. The last few times everything worked well, but this time the distance stayed blank. Pace and duration worked fine though. I also noticed that it now says Dinstance (MI), I am sure that it used to be km. I checked the app setting but couldn´t find an option to change from miles to km. Locus is set to metric.
The only thing that has changed since my last hike is the locus version. I updated to the latest version yesterday.
Any idea how I could fix this?
@menion Have you maybe made any changes to the locus APIs in the latest version that could explain this problem?
Title: Re: Locus addon for Pebble
Post by: menion on July 04, 2016, 16:53:30
@eldron: yep, sorry, my issue. Will be fixed in next Locus (Beta) version.
Title: Re: Locus addon for Pebble
Post by: eldron on July 04, 2016, 17:35:35
ok, thanks for the quick reply.
Title: Re: Locus addon for Pebble
Post by: eldron on July 11, 2016, 13:43:52
@zigzag
I installed the update of your locus addon app today and was surprised to see that the track distance is now working again. I thought the problem was on Menion´s side?
Anyhow, I am happy that it´s working again.
It was also great to see that you have decided to launch a pebble app that can display more information. I tried to download the app, but it says that I need the companion app and I get forwarded to the play store. The pebble store does not seem to recognize,that I already have your android app installed. Is this the reason why you stated that "This function is not working yet" or should I be able to download the pebble app? I tried re-installing the android app, but that didn´t help.

I would love to buy your app to support future development, so please launch a donation / pro version!
Title: Re: Locus addon for Pebble
Post by: eldron on July 29, 2016, 18:09:03
@zigzag
downloaded your latest version and it´s great. Customizable screens with all the information I need - just awesome.
There is just one information missing - the time. It would be great not having to go back to the watchface to see what time it is. Any chance that you could include the time as one of the options? Like that everyone could decide whether or not he/she wants to sacrifice screen space to have the time displayed.
I would still prefer to launch the pebble app myself instead of it starting automatically whenever i open locus, but that´s a minor issue.
Great work, thanks a lot. If there´ll ever be a paid version, I´ll be the first one to buy it.

Title: Re: Locus addon for Pebble
Post by: zigzag on July 30, 2016, 10:30:40
Hi eldron,
The request accepted. :-)
Next version.
Title: Re: Locus addon for Pebble
Post by: jusc on July 30, 2016, 15:27:12
Hey guys,
is it possible to attach some photos, where others can see, how it looks on a Pebble?
Title: Re: Locus addon for Pebble
Post by: gynta on July 30, 2016, 17:08:20
e.g. on
https://play.google.com/store/apps/details?id=com.gilisztaturmixgmail.locus_addon_pebble
Title: Re: Locus addon for Pebble
Post by: eldron on August 02, 2016, 10:47:29
@Zigzag
Now that was quick - only a few days have passed and the new version is already in the play store, incredible!
Thanks for adding the time and also the option to deactivate autostart.
Title: Re: Locus addon for Pebble
Post by: blueberry63 on August 02, 2016, 14:56:21
THANKS A LOT for this fantastic app. This is exactly what I was searching for.

I have a question: would it be possible to start the Locus App and the track recording from the watch?

Regards
Blueberry63
Title: Re: Locus addon for Pebble
Post by: eldron on August 02, 2016, 15:15:01
Hi Blueberry,
I´m not aware of a possibility to launch locus from the watch, but it is possible to start the track recording from your watch, once locus is running. Just hit the "play" button and off you go.
Title: Re: Locus addon for Pebble
Post by: blueberry63 on August 02, 2016, 15:18:17
OK, np. It was just an idea: duringcycling I have my smartphone in the back and I so it would be easier to start Locus and tracking  ;)

Nevertheless: thanks a lot
Blueberry63
Title: Re: Locus addon for Pebble
Post by: eldron on August 02, 2016, 16:52:45
@blueberry
Have you ever used tasker (or any other automation app)?
Together with the "Autoapp" pebble app you could create a task that can launch locus from your watch.
I use Automagic (prefer it to tasker) to launch stuff on my phone from my watch and it works just fine.
Title: Re: Locus addon for Pebble
Post by: eldron on September 04, 2016, 22:20:14
@zigzag
On my recent holiday (with a lot of hiking trips) i used your app a lot and it worked like a charm - thanks a lot once again!
Just before the holiday was over I saw that there was an update available and read that it included a navigation feature. I tried it straight away and it is just what I had been hoping for. Now I can finally use my watch to find geocaches!
I had tried all other navigation/geocaching apps available for the pebble, but they all had their problems / drawbacks. And then you came along and out all features I had been hoping for into one app :-)
Finally I can see the direction and distance of a cache, as well as the GPS accuracy and any other information I want to have displayed - without having to look at my phone.

I was also happy to see that you have now included a way to pay for your app - a donation+ purchase has just been made :-)

There is one more feature that would make the app absolutely perfect for me: If you could implement an option to make the watch vibrate when you get close to the current target point. So let´s say when I´m 50 meters away from the cache (or any other POI) the watch vibrates (ideally with a customizable vibration pattern).

And if you are interested in general feedback, there are a couple more things that I would see as an improvement:
1) I have set the app to sync the data every 15 seconds. But for navigation to a POI this makes no sense. I guess that´s why you implemented the option to press any button and get real time info for 20 seconds - a great solution. But for geocaching those 20 seconds are often too short. Any chance to have that timespan customizable or maybe to have an option that would activate the "real data" as longs as a point guidance is active?
I tried setting the refresh rate to 1 second in the options, but that does drain the battery rather quickly.
2) I have set the app to notify me when the GPS signal is very bad - another great feature. But when using it in towns it keeps notifying you whenever you enter or leave a building. That´s fine, but the GPS bad / GPS ok message stays until i press a button. An option to auto hide that message after let´s say 10 seconds would be great.
Title: Re: Locus addon for Pebble
Post by: eldron on September 11, 2016, 23:32:34
@Zigzag
Thanks ever so much for adding the Poi alert feature! Can´t wait to try it out on my next geocaching trip :-)
You have even changed the GPS accuracy alert system - awesome!
I also saw that you can now modify the refresh rate with a long button press, but couldn´t figure out how it´s supposed to work...?
A long press didn´t seem to be any different to a short press (tried all buttons) - after 20 seconds the sync stopped.

Thanks once again for creating such a useful Locus addon for the pebble watch.
P.s. Have you tried your app with the new pebble firmware 4.01? Because I won´t upgrade if there are any issues. On the pebble forum there is one thread about compass issues with the new firmware.
Title: Re: Locus addon for Pebble
Post by: zigzag on September 12, 2016, 22:09:28
@eldron

First, it is not POI alert, it is only target point alert, so only that target ponit can vibrate what you have chosen as guidance.

Refresh rate: press long one of right button for 1 sec, and you can see that the up button icon is a refresh picture. Now press the up button once or more and the refresh rate changed. 1 -> 15 -> 30 -> 60 -> 1 ...

I have Pebble classic, and there is no new firmware for it. But I think, this is a simple app with few feature, so it works with all watch. The new calculated compass function is always accurate when you are moving. (The 12 oclock is the forward direction.)
Title: Re: Locus addon for Pebble
Post by: eldron on September 12, 2016, 22:41:54
Refresh rate: press long one of right button for 1 sec, and you can see that the up button icon is a refresh picture. Now press the up button once or more and the refresh rate changed. 1 -> 15 -> 30 -> 60 -> 1 ...
Thanks for the explanation. I have tried long pressing all of the buttons, but the up button symbol never changes, it always shows the up-arrow. I tested all sorts of combinations and long click durations, but to no success. I´m either not getting it right or it doesn´t work with the pebble time.

I have Pebble classic, and there is no new firmware for it. But I think, this is a simple app with few feature, so it works with all watch. The new calculated compass function is always accurate when you are moving. (The 12 oclock is the forward direction.)
I´ll wait with the update until the compass bug in the 4.0 firmware has been fixed and then I´ll report back if everything in your app works or not.
Title: Re: Locus addon for Pebble
Post by: zigzag on September 12, 2016, 23:26:02
Quote
Thanks for the explanation. I have tried long pressing all of the buttons, but the up button symbol never changes, it always shows the up-arrow. I tested all sorts of combinations and long click durations, but to no success. I´m either not getting it right or it doesn´t work with the pebble time.

Then your watchapp has not refreshed to v1.2. Delete and add it again.
Title: Re: Locus addon for Pebble
Post by: eldron on September 13, 2016, 13:51:57
@zigzag
I uninstalled the watchapp and when I tried to install it again I was told that I´d have to update my watch first.
Not sure why that was necessary, if you can still use the app on your pebble classic with an even older firmware...
So I just used my lunchbreak to update my watch and then your watchapp. Looks like everything is working fine. I was reluctant to update, as there is a thread on the pebble forum about crashes in apps that use the compass with firmware 4.0 (and 4.01 as well).
Now the long press works and I can change the refresh rate from my watch - nice solution!
 
Title: Re: Locus addon for Pebble
Post by: erwinmitg on March 18, 2017, 09:03:44
Hello zigzag,

great app, I love it!

Problem here with the compass:

In pebble I set a field to "guidance direction (calculated from moving)" and I thought, that pebble then shows the same compass direction like in locus, but it don't.

For example, I drive for 15 seconds just straight, then locus compass (calculated) shows straight, but pebble (calculated) differs a lot (shows for example right).
Sometimes it workes very well, than again not.
So its not reliable at all and makes orientation difficult.

When I switch to the build in compass of pebble, it's absolutely useless at all (ok, thats the hardware of the watch, we can't change here anything,  I guess).

So, to sum up:
It would be very nice and useful, if the (calculated) compass of pebble really shows the same direction like the locus gps direction.

How is it in your system?

I really appreciate your help and thoughts,
Erwin
Title: Re: Locus addon for Pebble
Post by: zigzag on March 18, 2017, 14:46:53
Hello Erwin,

The guidance direction (calculated from moving) and the compass (calculated from moving) are working when you are in moving. If you stop, it is not accurate. In moving the 12 o'clock is your moving direction, and the arrow shows the destination.

The built in compass:
Before use it rotate the watch every direction.

ZigZag
Title: Re: Locus addon for Pebble
Post by: erwinmitg on March 19, 2017, 08:32:03
Thank you zigzag for your good explanations and hints.

So, the arrow shows the destination (or just north of course). I finally got that.

But now, as proposal:
it would be very useful, when the arrow also would be able to show the "next navigation action point".
I think, that would be really helpful, because thats the point in practice you have to work with, what is your nearest aim and destination.

The overall destination isnt sooo important, because s.times you will get there, ok.
But the next action point, thats always the little challenge.

Would be happy, if it's possible for you you to add this.

Erwin

Title: Re: Locus addon for Pebble
Post by: zigzag on March 19, 2017, 09:40:21
Hello Erwin,

The guidance direction show on
- Guide on: direction to the destination point,
- Navigate to: direction to the action point,
- Guidance (guidance along the track): direction to the next track point.

ZigZag
Title: Re: Locus addon for Pebble
Post by: erwinmitg on March 27, 2017, 20:07:39
Hello zigzag,

I tested it, and I'm convinced that at "navigate to" it shows not the next action point,it shows the destination.

Greetings, Erwin
Title: Re: Locus addon for Pebble
Post by: zigzag on April 03, 2017, 21:43:18
Hello Erwin,

Read this topic: http://forum.locusmap.eu/index.php?topic=5598.0 (http://forum.locusmap.eu/index.php?topic=5598.0)
Title: Re: Locus addon for Pebble
Post by: erwinmitg on April 06, 2017, 08:02:06
Hello ZigZag,

thanks you asked Menion! Looking forward to changes.

Another bug (?) I explored recently:
when "Heartrate Zone +HR" or just "Heartrate Zone" is shown (of course your addon HR Zones installed),
Pebble shows as HR Zone all the time "5".
No matter what HR, just 5.

The acoustic alarm works without problems.

Do you have a idea?
Is it my failure or a bug?

Below some pictures for better understanding.

Appreciate your app and work a lot. It's fun!!

Erwin

Title: Re: Locus addon for Pebble
Post by: zigzag on April 06, 2017, 22:17:47
Set the hr zones in LocusAddonPebble app.
Title: Re: Locus addon for Pebble
Post by: erwinmitg on April 07, 2017, 04:32:53
Set the hr zones in LocusAddonPebble app.

Oh, I didn't see it. Thanks!  8)
Title: Re: Locus addon for Pebble
Post by: toong90 on April 25, 2017, 12:38:57
I'm a heavy locus pro-user (city, mountainbiking, walk&fly etc.) and using mostly the offline-maps. Locus Map is the best choice for me !
Title: Re: Locus addon for Pebble
Post by: Cymru2010 on June 22, 2017, 16:54:48
Hi all,
I've got a newbie question.
I am not getting ANY data displayed on my Pebble watch and looking for ideas on where I may have gone wrong.
Here is my setup and installed apps.
Pebble 2 with HR
Locus addon+ installed in watch
Locus addon for Pebble on my Android
Locus map Free on my Android.

Set the Misc --> Enable periodic updates ON.

App launches on the watch. Settings on Android app updates the watch app e.g. configure page items.
Watch can start track recording on Locus.

As I say, there is some communication between watch and Locus, but absolutely no data being displayed on the Pebble.

Please help or give me some suggestions. Everyone else seems to be having loads of fun with their watches. I want to join in.

Cheer.
Title: Re: Locus addon for Pebble
Post by: menion on June 22, 2017, 18:09:04
Good day Cymru,
there seems to be some issue in latest version of Locus Map. We are working on the solution.

Thank you for understanding.
Menion
Title: Re: Locus addon for Pebble
Post by: Cymru2010 on June 22, 2017, 23:28:25
Thanks Menion for the information.
I will look out for the update and then re-check.
Title: Re: Locus addon for Pebble
Post by: benuli on June 23, 2017, 06:38:04
Good Morning, I have the same issues since last locus pro update and I hope I can use my pebble as bike computer at the weekend again... :) ;) :D
Benuli
Title: Re: Locus addon for Pebble
Post by: zigzag on June 24, 2017, 09:39:02
The new update of Locus addon Pebble fix the issue.
Title: Re: Locus addon for Pebble
Post by: Cymru2010 on June 25, 2017, 12:29:45
Fantastic. Downloaded and it is working wonderfully.  ;D Now to play with the settings

I wish my devs could turn around a bug fix so quickly  :-[