This package enables the integration of Home Assistant device_tracker
entities into the Traccar GPS tracking system by synchronizing device IDs across both platforms.
If you like this project you can support me with ☕ , with GitHub Sponsor or simply put a ⭐ to this repository 😊
- Home Assistant instance running
- Accessible Traccar Server
Follow these steps to install and configure the integration:
- Log in to your Traccar server.
- Create a new device for each
device_tracker
you wish to monitor. - Ensure the device ID in Traccar matches the
device_tracker
ID in Home Assistant, as in picture.
-
Download the
traccar_positioning.yaml
file from this repository. -
Place the file into the
packages
folder of your Home Assistant configuration.If the
packages
folder does not exist, you will need to create it following the official documentation.
- Open the
traccar_positioning.yaml
file with a text editor. - Replace the
traccar_server_ip
andtraccar_server_port
value with the IP address and Port (default for the used protocol is 5055) of your Traccar server instance.
- In the
traccar_positioning.yaml
file, add the IDs of the devices you want to track under thedevice_tracker.<device_tracker_1>
keys. - Ensure the IDs match exactly those configured in Traccar.
After completing the installation and configuration, your Home Assistant device_tracker
entities will be synchronized with Traccar, allowing you to monitor their real-time location.
If you encounter any issues or have questions regarding the integration, please open an issue on this GitHub repository, and I will be happy to assist you. You can write to me at me@lorenzodeluca.dev
Contributions to the project are welcome! Please fork the repository, make your changes, and submit a pull request.
This project is licensed under the MIT License - see the LICENSE.md file for details. GNU AGPLv3 © [Lorenzo De Luca][https://lorenzodeluca.dev]
- Thanks to the Home Assistant community for providing a robust platform for home automation.
- Gratitude to the Traccar team for their excellent GPS tracking system.