Last night my OwnTracks auto-upgraded to 7.4, and now it seems to be sending out a long stream of messages to my Mosquitto server.
Here's the trailing snippet of them, but they're all of the same general form:
{"cog":335,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0001","t":"t","tst":"1426866369","alt":23,"_type":"location","tid":"NE"}
{"cog":335,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0001","t":"t","tst":"1426866369","alt":23,"_type":"location","tid":"NE"}
{"cog":264,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0000","t":"t","tst":"1426866382","alt":23,"_type":"location","tid":"NE"}
{"cog":335,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0001","t":"t","tst":"1426866369","alt":23,"_type":"location","tid":"NE"}
{"cog":264,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0000","t":"t","tst":"1426866382","alt":23,"_type":"location","tid":"NE"}
{"cog":264,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0000","t":"t","tst":"1426866382","alt":23,"_type":"location","tid":"NE"}
{"cog":264,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0000","t":"t","tst":"1426866382","alt":23,"_type":"location","tid":"NE"}
{"cog":264,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0000","t":"t","tst":"1426866382","alt":23,"_type":"location","tid":"NE"}
{"cog":335,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0001","t":"t","tst":"1426866369","alt":23,"_type":"location","tid":"NE"}
{"cog":264,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0000","t":"t","tst":"1426866382","alt":23,"_type":"location","tid":"NE"}
{"cog":335,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0001","t":"t","tst":"1426866369","alt":23,"_type":"location","tid":"NE"}
{"cog":264,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0000","t":"t","tst":"1426866382","alt":23,"_type":"location","tid":"NE"}
{"cog":335,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0001","t":"t","tst":"1426866369","alt":23,"_type":"location","tid":"NE"}
{"cog":335,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0001","t":"t","tst":"1426866369","alt":23,"_type":"location","tid":"NE"}
{"cog":264,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0000","t":"t","tst":"1426866382","alt":23,"_type":"location","tid":"NE"}
{"cog":264,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0000","t":"t","tst":"1426866382","alt":23,"_type":"location","tid":"NE"}
{"cog":264,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0000","t":"t","tst":"1426866382","alt":23,"_type":"location","tid":"NE"}
{"cog":264,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0000","t":"t","tst":"1426866382","alt":23,"_type":"location","tid":"NE"}
{"cog":335,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0001","t":"t","tst":"1426866369","alt":23,"_type":"location","tid":"NE"}
{"cog":264,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0000","t":"t","tst":"1426866382","alt":23,"_type":"location","tid":"NE"}
{"cog":335,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0001","t":"t","tst":"1426866369","alt":23,"_type":"location","tid":"NE"}
{"cog":264,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0000","t":"t","tst":"1426866382","alt":23,"_type":"location","tid":"NE"}
{"cog":335,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0001","t":"t","tst":"1426866369","alt":23,"_type":"location","tid":"NE"}
{"cog":335,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0001","t":"t","tst":"1426866369","alt":23,"_type":"location","tid":"NE"}
{"cog":264,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0000","t":"t","tst":"1426866382","alt":23,"_type":"location","tid":"NE"}
{"cog":264,"batt":"67","lon":"-120.000","acc":"10","vel":0,"vac":4,"lat":"30.0000","t":"t","tst":"1426866382","alt":23,"_type":"location","tid":"NE"}
The lat's weren't changing, but the lon's were only changing in the 4th dp, (values anonymized, but their relative values are correct)
It queued up over 1000 over night, without the phone moving, and then unloaded them when I started the app up this morning. It did this in "chunks", where it would pause in between and the screen had to be touched to get it going again.
Side-bar: It would be handy if these were "batched" into a smaller set of larger "array" messages. I think the round-trips are killing it when you get an opportunity to go online.
I suspect this is what's causing the weird non-responsive UI I saw last night (see Video on Box.net https://app.box.com/s/oyko2x0a363b0at2vdczko0m4i2az6p5). The timestamp on the video is real-time, so you'll get a sense for how the OwnTracks UI is reacting on my phone.
In that vid, you can see that when the App is started, it doesn't respond (No map) until the UI is touched, at which point the backlog counter in the corner starts to change. From then on, only when the UI is touched does this value change (up, or down) and the Map is unresponsive.
Env:
- iPhone 6 on iOS 8.2 (on WiFi)
- Mosquitto version 0.15 (build date 2013-08-23 19:24:40+0000) on Quad-core ARM Odroid C1 (on GigE)
- OwnTracks configured with Port 1883, no TLS, Auth enabled, a custom ClientID & DeviceID, No Remote Cmd (off), Allow Remote Location (on), Update Address Book (on) and ExtendedData (on).
- Topic is owntracks/myuserid/iphone (on iPhone), but I have iPad and Nexus 7 Devices also.
NB: The app is reporting Version 7.4.2 via the Settings UI, but the App Store indicated it updated it to 7.4 last night (Thu Mar 19th, sometime in the afternoon in California)
bug