traccar-event-handler | handle push notifications & other stuff

 by   sbma44 Python Version: Current License: BSD-3-Clause

kandi X-RAY | traccar-event-handler Summary

kandi X-RAY | traccar-event-handler Summary

traccar-event-handler is a Python library. traccar-event-handler has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

Traccar is a sophisticated open source GPS tracking platform. It is the product of years of development, supports a vast variety of GPS hardware, and is suitable for fleet management. But I didn't need most of that. I just wanted a replacement for my discontinued Automatic adapter. I want push notifications for when my car stops and starts, plus maybe a little extra fun stuff for my hardware hacking hobby. Traccar proved to be opaque to configure for these purposes. And Traccar is written in Java, a language I haven't touched in two decades. This project is a simple answer to that problem. It takes advantage of Traccar's forwarding capabilities: Traccar remains responsible for receiving and decoding GPS events from your hardware, but then forwards activity to this script, which runs a modest local webserver to interpret those events and take action. Note that I have not bothered with some obvious functionality--for instance, an MQTT server is expected; this function can't be disabled. Even more glaringly, only a single vehicle is currently supported! Open an issue if you need that or something else.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              traccar-event-handler has a low active ecosystem.
              It has 8 star(s) with 0 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              traccar-event-handler has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of traccar-event-handler is current.

            kandi-Quality Quality

              traccar-event-handler has 0 bugs and 18 code smells.

            kandi-Security Security

              traccar-event-handler has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              traccar-event-handler code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              traccar-event-handler is licensed under the BSD-3-Clause License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              traccar-event-handler releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions are available. Examples and code snippets are not available.
              It has 402 lines of code, 19 functions and 5 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed traccar-event-handler and discovered the below as its top functions. This is intended to give you an instant insight into traccar-event-handler implemented functionality, and help decide if they suit your requirements.
            • Handle GET request
            • Compute the distance between two points
            • Decode a query string into a dictionary
            • Fetches static map
            • Fetches ETA for a given time range
            • Fetches the geocode for a given location
            • Fetch static map from Mapbox
            Get all kandi verified functions for this library.

            traccar-event-handler Key Features

            No Key Features are available at this moment for traccar-event-handler.

            traccar-event-handler Examples and Code Snippets

            No Code Snippets are available at this moment for traccar-event-handler.

            Community Discussions

            No Community Discussions are available at this moment for traccar-event-handler.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install traccar-event-handler

            traccar.xml includes the Traccar configuration settings necessary to forward events and location updates to this script. Add them to your own Traccar config and restart the server. You will need to install the Python 3 dependencies listed in requirements.txt with a pip3 install -r requirements.txt. It's best to do this in a venv environment. To get this script running automatically at boot on a modern Linux system, you will need to configure a systemd service. traccar-event-handler.service is an example systemd service file that you can use for this purpose. Here is a tutorial showing associated systemd basics. Note that the service file uses a python executable in a venv tree. Be sure to edit this to reflect your own venv location.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/sbma44/traccar-event-handler.git

          • CLI

            gh repo clone sbma44/traccar-event-handler

          • sshUrl

            git@github.com:sbma44/traccar-event-handler.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link