Giter Club home page Giter Club logo

Comments (25)

ckrey avatar ckrey commented on September 26, 2024

I experienced the same problem.

Owntracks on IOS shows the latest position only, So when this happens, it seems as if the gw is no longer sending updates.

Will have a look

from gw.

jpmens avatar jpmens commented on September 26, 2024

I noticed two updates with different speed (spd) and (alt) elements, so the device was doing something ...

from gw.

ckrey avatar ckrey commented on September 26, 2024

do you have the raw data too? ($set raw=1)

from gw.

jpmens avatar jpmens commented on September 26, 2024

raw now enabled; if I notice it happening again, I'll yell. (But you know where I'm publishing to...)

from gw.

jpmens avatar jpmens commented on September 26, 2024

I've caught this again, with raw data. It may be a coincidence, but this happens when the clock ticks over into a new day:

$CHX,GWBUS-ak,A,09,140731,235815,5202.06815,
{"_type":"location","t":"t","tst":"1406851095",
    == Fri Aug  1 01:58:15 2014


$CHX,GWBUS-ak,A,09,140801,000015,5202.06523,
{"_type":"location","t":"t","tst":"1406894415",
    == Fri Aug  1 14:00:15 2014

from gw.

 avatar commented on September 26, 2024

anything related to auto reboot of the module (Matteo)?

from gw.

jpmens avatar jpmens commented on September 26, 2024

Doubtful, @bluewindthings, because the NMEA timestamp is correct; it seems to me to be a conversion thing within our code.

from gw.

 avatar commented on September 26, 2024

ok

from gw.

Choralthings avatar Choralthings commented on September 26, 2024

Yes, I think it is a conversion bug

from gw.

Choralthings avatar Choralthings commented on September 26, 2024

It seems that the hours result is: correct hours+years.
In the first case 08 + 14.
In the second case 00 + 14.
Could it be?

from gw.

ckrey avatar ckrey commented on September 26, 2024

I guess it is the conversion. Not obvious, but I'll find out!

Thanks for searching

from gw.

ckrey avatar ckrey commented on September 26, 2024

can't reproduce in unit test, probably side effects...

from gw.

ckrey avatar ckrey commented on September 26, 2024

Side effects eliminated

from gw.

jpmens avatar jpmens commented on September 26, 2024

Issue seen again per chance on your device this morning.

$CHX,356612027383852,A,07,140804,075336,

owntracks/gw/356612027383852 {"_type":"location","t":"t","tst":"1407182016"

    => Mon Aug  4 21:53:36 2014

from gw.

ckrey avatar ckrey commented on September 26, 2024

ok, I won't trust java's calendar (am/pm/utc) implementation anymore. I'll do it on my own.
Think I still have some 33 years old basic code for that purpose.

from gw.

jpmens avatar jpmens commented on September 26, 2024

Another, in case this helps finding the issue:

owntracks/GWBUS-ak/raw $CHX,GWBUS-ak,A,07,140805,042046,5202.06164,N
owntracks/GWBUS-ak {"_type":"location","t":"t","tst":"1407255646",

   => Tue Aug  5 18:20:46 2014

from gw.

ckrey avatar ckrey commented on September 26, 2024

fixed with homegrown code in DateParser.java

from gw.

jpmens avatar jpmens commented on September 26, 2024

Sorry, but this isn't quite right yet:

From your device this morning:

$CHX,356612027383852,A,09,140806,084557,
{"_type":"location","t":"t","tst":"1407401157"

  => Thu Aug  7 10:45:57 2014

One day in the future.

from gw.

jpmens avatar jpmens commented on September 26, 2024

And yeah, I am a pain, eh? ;-)

from gw.

Choralthings avatar Choralthings commented on September 26, 2024

Could it be UTC/GMT time in this case?

from gw.

Choralthings avatar Choralthings commented on September 26, 2024

No, sorry, also the day is wrong

from gw.

jpmens avatar jpmens commented on September 26, 2024

No. It's 24h off.

from gw.

ckrey avatar ckrey commented on September 26, 2024

Ok, will fix on friday, and yes timestamp is UTC

from gw.

ckrey avatar ckrey commented on September 26, 2024

I have committed but not pushed the last version to github

from gw.

ckrey avatar ckrey commented on September 26, 2024

Fixed in 0.3.79 (day string with 1, not 0)

from gw.

Related Issues (20)

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.