Coder Social home page Coder Social logo

bryton-offline's Introduction

BrytonOffline

This is a simple application for accessing Bryton GPS devices.

Warning: Its not safe to use with BrytonBridge version other that 2.2.0.36

Features:

  • Works without internet access.
  • Upload history to strava.com and brytonsport.com.
  • Save you history in .tcx and .bdx format.
  • Show short summary of you rides.

Warning: It has only been tested with a Rider40, i don't know if it works with other devices.

Binary files for Windows

Binary files for windows can be downloaded from here: https://docs.google.com/folder/d/0B9_cvlT9lotxOGJwamFqMTB5WTQ/edit

When using the brytonoffline.exe the output is not visible in the console so you will not see the error messages if something goes wrong. If you want to see debug messages you have to run it from source.

Commandline arguments

All arguments are optional.

Strava.com:

--strava-email EMAIL

Your strava.com email address.

--strava-password PASSWORD

Your strava.com password.

--strava-auth-token TOKEN

A valid strava.com auth token can be used instead of email and password.

Brytonsport.com:

--bryton-email EMAIL

Your brytonsport.com email address.

--bryton-password PASSWORD

Your brytonsport.com password.

--bryton-session-id SESSION_ID

A valid brytonsport.com session id can be used instead of email and password.

Other:

--server-host ADDRESS:

This can be used to specify the address of the internal server. This is only usefull if the you are running BrytonBridge on a different host, e.g on a virtual machine.

-v, --verbose:

Enable debugging output.

Requirements to run from source

  • BrytonBridge2
  • Python 2.7
  • PyQt4
  • WebOb

Screenshots

image

image

image

image

bryton-offline's People

Contributors

pitmairen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

rmirage

bryton-offline's Issues

BB 2.2.0.36

Hey! Can you upload brytonbridge 2.2.0.36 to google docs?
It's definetly not working with 2.8.0.14

Upload to device?

Since Bryton seem to have dropped support for Rider 40 it's now impossible to plan a route and upload gpx tracks to follow.
It would be really really nice if this little piece of software could do that...
Just a suggestion...
/Fredrik

Problems connecting to a Bryton 50

I have been trying to help a friend with a Bryton Rider 50.

In Windows I tried the binary.

I get "Could not connect to BrytonBridge" (in red plus a "red cross")

In Windows I tried directly in Python, together with the -v setting I get the following error:

DEBUG:bryton:Connection refused
DEBUG:bryton:Error "Could not connect to BrytonBridge"

I have just tried on Mac and get the same error.

Looking at the code this error is thrown by line 197 of bryton.py which is a QTcpSocket reference. I've not dug deep enough to understand whether "connection refused" means it is finding the BrytonBridge but can not connect for some permissions / security reason or if it simply means it cannot detect the Bridge.

Both mac and windows machines are running the most up-to-date Bryton bridge version. Both machines can see the Bryton 50 when it is connected. The Bryton is able to upload and download files using Bryton's internet service.

Any suggestions where I am going wrong?

Issue with power extension

Hi, first of all, let me say a big thank you for putting this neat program together. It is so much better than the online version and saves a lot of time. I am not familiar with code so I'm afraid you'll have to bear with me in my explanation of the problem as I don't really know the correct terminology for things.

When I download a TCX file using the program, and then try and upload it to a third part program (ie. WKO+, golden cheetah) it seems that the power data is not picked up. I had a look at the tcx file in notepad and it seems the power data is specified under "extensions". For example:

< Extensions >
< a:TPX >
< a:Speed >11.25< /a:Speed >
< a:Watts >195< /a:Watts >
< /a:TPX >
< /Extensions >"

When I compared this to the file I get from the online program, I noticed that the "a" is replaced by "ns3". Like this:

"< Extensions >
< ns3:TPX >
< ns3:Speed >11.25< /ns3:Speed >
< ns3:Watts >195< /ns3:Watts >
< /ns3:TPX >
< /Extensions >"

Going through the file and replacing all "a" with "ns3" seemed to fix the problem and I was able to get my power data to be picked up by third party programs.

Also, I don't think my power data is being uploaded to Strava when using the bryton offline program directly. Maybe this has something to do with the above problem?

Thanks and keep up the good work.

Liam

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.