Jump to content

Pebble App and Data Logger for King Song [RELEASED]


JumpMaster

Recommended Posts

I dont have a pebble either but this app is awesome even without it. Why cant the manufacturers make connection as stable and easy as in this app? The logging feature is pretty cool too. So unless I want to change the riding mode I am using this app these days.

Link to comment
Share on other sites

  • Replies 236
  • Created
  • Last Reply

Thanks for the feedback! I've improved the connectivity in the latest version so it connects quickly and maintains the connection even if the wheel is switched off/on.  Hopefully I'll upload it to the Pebble and Android stores over the weekend.

Link to comment
Share on other sites

Great stuff @JumpMaster!!

I shall be using this on my Galaxy instead of the faulty King Song App. It was nice to see it recovered my current total mileage from the KS app.

Will this work the other way around? Say I am using WheelLog and then (in a week's time) I open the KS App, would it also show the total mileage recorded on the WheelLog App?

Finally, slighty off-topic on this thread (sorry) but I do not want to open a new discussion as I am sure this has been talked about: how can I change the display/colours of the led ring? (my KS16 is already unlocked).

Link to comment
Share on other sites

5 minutes ago, Fernembo said:

I shall be using this on my Galaxy instead of the faulty King Song App. It was nice to see it recovered my current total mileage from the KS app.

Will this work the other way around? Say I am using WheelLog and then (in a week's time) I open the KS App, would it also show the total mileage recorded on the WheelLog App?

Finally, slighty off-topic on this thread (sorry) but I do not want to open a new discussion as I am sure this has been talked about: how can I change the display/colours of the led ring? (my KS16 is already unlocked).

All the info including the total distance - "odo" - is stored in (and sent by) wheel and not by application so independent of what program or mobile you'll use at what time it will always show the same values. Also AFAIK it's not possible to change the LED colours.

Link to comment
Share on other sites

Thank you @HEC

17 minutes ago, HEC said:

All the info including the total distance - "odo" - is stored in (and sent by) wheel and not by application so independent of what program or mobile you'll use at what time it will always show the same values. Also AFAIK it's not possible to change the LED colours.

Thank you @HEC:o) I thought I read somewhere that the colours could be locked into a single colour-tone instead of the boat-party theme it currently displays, it looks like I am wrong then.

Link to comment
Share on other sites

@JumpMasterYour code is not open source since you haven't used an open source license. Legally speaking,. Nobody can use your code, they can only look at it since the owner has full rights if they release without using an OSS license. If you don't care about code being contributed back, and don't care about your code being used in proprietary products (or derivative works), I would suggest using the Apache License 2.0. Make sure to put the full license in a LICENSE at the root of your repo, and add the License boilerplate to each individual source code files top.

You can look at my king song unlocked for an example of how to properly license:

https://github.com/fearedbliss/KingSongISNKeyGenerator?files=1

Link to comment
Share on other sites

@rupi99

I've built it such a way that it could work with any number of wheels and decipher the data.  It would require someone with a ninebot to contribute to the project.

@fearedbliss

Licences/patents/copyright are only as good as the owners abilities to correct/stop people using it incorrectly.

Once it's on the internet I feel it's a bit of a free for all. If KingSong want to relabel it and release it as their own, having a license isn't going to stop them, and I wouldn't try to either (I really don't have the time or desire). I have projects that I don't want to be copied. I don't make them publicly available.

Link to comment
Share on other sites

Since I really like and use JumpMaster's WheelLog app v1.0.1 a lot even without a pebble watch I devised a single gnuplot command to visualize the runtime data recorded from KS16 units without any "data massaging". Thus you don't have to hassle with Libreoffice or Excel to see your data. - You need to install gnuplot first though (it's open source and free).

I include versions for Linux and Windows of my scripts, as well as one version that displays all original raw data and another one that displays smoothed lines for speed, current and battery level. Sample graphics and a sample csv file produced by the version 1.0.1 of WheelLog are included. The diagrams are similar but not exactly the same on Windows and Linux. I also applied a factor of 0.8 to the mileage data from KingSong.

To use, call on Windows:
plot_KS_raw.bat <csv_file_from_wheelog>
or
plot_KS_smooth.bat <csv_file_from_wheelog>
The Windows version also needs the two files plot_KS...cmd in the same directory. This could be simplified but I don't want to mess around with the command line length restrictions of Windows batch files. Maybe someone else does.

On Linux:
./plot_KS_smooth.sh <csv_file_from_wheelog>
or
./plot_KS_raw.sh <csv_file_from_wheelog>

On Windows you may have to adapt the path to gnuplot in the *.bat files. On Linux you may have to set (via chmod +x) the executable bit of the *.sh files. And of course, you are invited to play with the myriads of options of gnuplot to tailor graphics output to your liking.

And if I had one wish for JumpMaster it would be an app for the Samsung Gear S2 smartwatch ;-)

PlotKS.zip

Link to comment
Share on other sites

That's awesome @RenaissanceMan!  Thanks.

I've made a version with a GUI that I've released to beta.  You can sign up to the beta using the below URL and you'll receive the beta version through the Play store.  Any feedback on the design or issues on different devices is welcomed.  Preferably with screenshots!

https://play.google.com/apps/testing/com.cooper.wheellog

WpcQDhS.png

Link to comment
Share on other sites

12 minutes ago, JumpMaster said:

That's awesome @RenaissanceMan!  Thanks.

I've made a version with a GUI that I've released to beta.  You can sign up to the beta using the below URL and you'll receive the beta version through the Play store.  Any feedback on the design or issues on different devices is welcomed.  Preferably with screenshots!

https://play.google.com/apps/testing/com.cooper.wheellog

WpcQDhS.png

Just looking at the screenshot the font used for the speed feels "weird" / uncomfortable to read and "KPH" is also fairly untraditional acronym - most of Europe countries would have "Km / h" or just "Km" ... just my impression ;)

Link to comment
Share on other sites

@HEC

I've used the same font on the Android app and Pebble watch.  It's square to miimic an LCD screen / dashboard.  Hence the dashes used for speed, battery, and temperature arcs to mimic LEDs.  I do agree that the standard is KM/H so have updated that for the next release.

LGCWNZH.png

Link to comment
Share on other sites

3 minutes ago, JumpMaster said:

@HEC

I've used the same font on the Android app and Pebble watch.  It's square to miimic an LCD screen / dashboard.  Hence the dashes used for speed, battery, and temperature arcs to mimic LEDs.  I do agree that the standard is KM/H so have updated that for the next release.

LGCWNZH.png

The main "discomfort" from used font is that the digits (and letters bellow) are almost merging at the bottom which makes it less ergonomic to read. If you're aiming for the LCD feel I'd personally use some of the classic LCD fonts:

Thijmen---DigitalLCD-2011.png

Also - most of the tachometers / speedometers is using lower case version (km/h):

4ClusterGaugeSpeedoMarkskmhMPH-vi.jpg

or simply "Km" but that's indeed just cosmetic maybe though in this case highlighted a bit by used fonts. Alternatively you can have "Select font" option in app configuration later once all other more vital functions are fully operational ;)

 

 

Link to comment
Share on other sites

12 hours ago, JumpMaster said:

Here's the semi-final look of the app...

 

QACJRwu.png

Looking good! Are you planning to add a numeric value for the battery level (voltage) as well?

Link to comment
Share on other sites

On 28.7.2016 at 1:07 PM, JumpMaster said:

That's awesome @RenaissanceMan!  Thanks.

I've made a version with a GUI that I've released to beta.  You can sign up to the beta using the below URL and you'll receive the beta version through the Play store.  Any feedback on the design or issues on different devices is welcomed.  Preferably with screenshots!

https://play.google.com/apps/testing/com.cooper.wheellog

 

I tried your new WheelLog app with the graphical interface. Here is a video and the corresponding csv file. Seems all consistent and working :-)

Edit: I uploaded a version with the proper 16:9 aspect ratio.

2016_07_29_11_12_47.zip

As a suggestion, I would like to see voltage as well on the screen. - Uups, just saw your previous remark about the swipe and additional metrics.

Link to comment
Share on other sites

54 minutes ago, JumpMaster said:

That looks great. What app did you use for the screen capture?

I folded and change the font as well as adding voltage and current. New version should be in beta shortly. Just waiting for Google's approval.

dMx4L06m.png

Looking nice. Does it though sasy "W" on current?

EDIT: Looking really smooth now! Two comments:

- On the main GUI screen can you display the speed with one decimal while under 10 km/h (so it will show 3.6 for example instead of 03)?

- On the metric screen the version number - could be be displayed with the dot (like 1.19 or 1.20)? just cosmetics, I know ;)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...