Hi, I have few questions about Tracker One. Please respond to them accordingly;
1. Writing Your Own Code
I was able to compile code and upload to tracker using Workbench with Cloud Flash from command palette. However, when I try to compile it on Web IDE I get errors with missing tracker.h, tracker_config.h etc. I can manually add them but I thought it should be a part of particle cloud library.
This is my code:
#include "Particle.h"
#include "tracker_config.h"
#include "tracker.h"
SYSTEM_THREAD(ENABLED);
//SYSTEM_MODE(SEMI_AUTOMATIC);
//PRODUCT_ID(TRACKER_PRODUCT_ID);
//PRODUCT_VERSION(TRACKER_PRODUCT_VERSION);
SerialLogHandler logHandler(115200, LOG_LEVEL_TRACE, {
{"app.gps.nmea", LOG_LEVEL_INFO},
{"app.gps.ubx", LOG_LEVEL_INFO},
{"ncp.at", LOG_LEVEL_INFO},
{"net.ppp.client", LOG_LEVEL_INFO},
});
void setup()
{
Tracker::instance().init();
Particle.connect();
Time.zone(-4); // TimeZone - New York
String show_time_date = (Time.format(Time.now(), "%Y-%m-%d %r")); // Example: 2016-05-20 11:23:30 PM
Particle.publish((String(show_time_date)), "System Restarted", PRIVATE);
}
void loop()
{
Tracker::instance().loop();
}
2. Timestamp
Is there any way to change timestamp, it seems to be 4 hours ahead
{“cmd”:“loc”,“time”:1602895357,“loc”:{“lck”:1,“time”:1602895357,“lat”:40.XXXXXXXX,“lon”:-74.XXXXXXXX,“alt”:3.616,“hd”:38.18,“h_acc”:12.000,“v_acc”:31.000,“cell”:36.1,“batt”:100.0,“temp”:17.9},“trig”:[“lock”,“time”],“req_id”:49}
3. Vitals
They seem to show data partially, sometimes it’s completely empty.
I’ve been using Particle.publishVitals(3600); on my Boron LTE for couple of days and it doesn’t look like its making any improvements.
4. GPS
GPS seems not working as I would expect, I tested it in various locations and it’s been way off to many times. On the screenshot below you will see 2 RED arrows, this is where vehicle was parked for couple of hours within last few days. Looks like GPS is throwing a lot of false readings. Just so you know, the GPS is sitting on the floor of the vehicle under an open sky. The map you see is in Manhattan but I noticed the same behavior in other parts of the city.
5. Cellular Signal
I own couple of Boron LTE units and this Tracker One, they all seems to have a LOW cellular coverage, no matter where I go it’s always in 30’s and 40’s. I can leave antenna on top of my dashboard and it’s always the same. I’ve never seen anything close to Full Bars.
Please respond with any suggestions and advice as it will help other members of this community as well. Thank you