![]() Always choose SD card as a storage ( #define STORAGE STORAGE_SD), since internal SPIFFS memory is very small and will cyclically rewrite itself. The data gets immediately written to file storage as CSV files (but flushed incrementally with each 1 KiB, equal to approximately 6 records). Device gathers data every X milliseconds (see the DATA_INTERVAL_TABLE parameter).It has 2 types of requests, the first sends only events and alarms (without location) and the other sends only key-value data payload (location, ODB data, etc.).How does Freematics internally work? (tracking logic of firmware_v5/telelogger.ino sketch) Ways to circumvent it: A) make the requests to a regular server, that redirects/proxies it to the HTTPS server or B) use packet mirroring via WiFi router (any ideas how to do it?, does this work?). I tried using WiFiClientSecure library, but it didn't compile. As far as I understood, there is no support for HTTPS: I don't think it is possible due to the size and complexity of the SSL Library, because the Arduino would most likely be underpowered.Another approach is to use OBD port extender to put the tracker higher with access to sky. You can use an external GPS receiver (costs around $10), but that is more suitable to be used with model A which has no internal GPS. Due to the antenna being in the enclosure, sometimes the location of the OBD port may prevent the antenna from getting a good GPS signal from the sky. ONE+ Model B (as well as Traccar edition) has an internal GPS receiver.It means that if a theif cuts off the device, Freematics would not be able to send the SOS signal to the server. Works only when connected to USB (3.7V), OBD-II (12V), or SAE J1939 (24V). Doesn't work at all without external power, has no battery.If you want to switch to a different WiFi or mobile operator - you need to open your bloody Windows and recompile everything :) Currently, Freematics cannot switch between WiFi and SIM depending on connectivity.What are the pitfalls and hardware drawbacks of Freematics? Both are open-source, thanks to which I was able to improve both and their cooperation. In this article I listed some common problems I encountered when I tried to use Freematics OBD-reader together with traccar device-tracking server.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |