mqtt-sn
A UDP MQTT-SN library to replace the freematics server.
mqtt-sn
A UDP MQTT-SN library to replace the freematics server.
if you had a ride in the area with bad network coverage, your route there will have significat gaps; or if you stopped your car in place A with internet, then moved to place B while being offline and then internet appeared in place B, then Freematics will send just ping events (not location data), and Traccar will show that your are still in place A. I will fix so that it will ping server and also transmit latest location.
Good description of the woes these devices have with bad connectivity!
dt/<application>/<context>/<thing-name>/<dt-type>
Suggested topic structure
Prefix your MQTT topics to distinguish data topics from command topics
What if topic prefixed by device first? is device-1/{cmd|data)
?
Useful recipes to design MQTT setups.