![]() Please note that I run the python script on the same server as traccar. We are a group of like-minded enthusiasts from across the world who build and maintain the largest collection of Docker images on the web, and at our core. ("GET request for ".format(self.path).encode('utf-8'))Ĭlient = mqtt.Client("Traccar") #create new instanceĬontent_length = int(self.headers) # true ("GET request,\nPath: %s\nHeaders:\n%s\n", str(self.path), str(self.headers)) Very simple HTTP server in python for logging requestsįrom rver import BaseHTTPRequestHandler, HTTPServer ![]() I will add more as I go (waiting for my car tracker) The python script only includes basic location messages. Subscribe to the project news and updates. Traccar is a free and open source modern GPS tracking system. Unfortunately a direct connection of Traccar to openhab does not work (for unknown reasons) therefore I wrote a small python script which converts the Traccar event/position POST messages to MQTT messages: talKKonnect - Mumble PTT client for Raspberry Pi supporting Traccar: 10 months ago: zorand: 2: Commandline: a year ago: Dejohan: 3: Protocolo Osmand HTTP: a year ago: David: 15. I came across this thread in a desperate search for an answer on how to connect Traccar to Openhab. Job Description: Candidate must have a Raspberry Pi B or B to do job. That being said, and all, please have another look at the links from my last post if they could become a basis for that undertaking. Install TracCar Server Software with JRE on Raspberry Pi Proceedure. Even if you’re fine with paying the price for the service (and not every smarthome user is), you’re always at risk of that company to change anything (as Nathan just experienced), to provide a bad service (outages, data disclosure, …) or to stop providing the service at any time e.g. That comes at a price, literally and figuratively. Those available (like moj.io) are not open - you can only use them indirectly by subscribing to the service that that company offers.Īnd any company to offer that bundle (like moj.io or also pace.car) tries to make money with providing that service or app. But at least as of today, there do not seem to be generic (“open”) combined devices available. If someone came up with a device to combine those two, that’s also fine. Now ‘all’ we need is an Android app to read data via BT from the OBD adapter, to decode and turn it into preferrably MQTT or HTTP to be sent over the mobile network to some cloud or home server. Permanently install that into the glove locker and attach it to your USB there to get its battery charged at any time. A generic OBD-II bluetooth adapter plus no Pi but a cheap or used smartphone to have BT, GPS and SIM/GSM. That’s basically my idea and recommendation, too. ![]() I guess we could always hack a bluetooth dongle, rpi0 and gsm hat and then send data to an mqtt server or something… ![]()
0 Comments
Leave a Reply. |