Home Assistant
Home Assistant is an open-source home automation platform.
Colota has a dedicated Home Assistant integration that receives location updates via webhook and creates device_tracker entities. The integration source code is available on GitHub.
Setup
1. Install the Colota integration
Via HACS (recommended):
- Open HACS in Home Assistant
- Go to Integrations
- Click the three dots menu and select Custom repositories
- Add
https://github.com/dietrichmax/colota-home-assistantas an Integration - Search for Colota and install it
- Restart Home Assistant
Manual:
- Copy the
custom_components/colotafolder to your Home Assistantconfig/custom_components/directory - Restart Home Assistant
2. Add the integration
- Go to Settings > Devices & Services > Add Integration
- Search for Colota and add it
- Copy the webhook URL shown after setup
3. Configure the Colota app
- Go to Settings > API Settings
- Paste the webhook URL as the endpoint
- No authentication is needed - the webhook URL acts as the secret
The integration works with the default API format out of the box. To distinguish multiple devices, add a custom field tid with a unique value per device (e.g. colota-phone, colota-tablet).
Your device will appear as a device_tracker entity in Home Assistant that you can use for automations, zones and the map.
Payload
Colota sends the following payload:
{
"lat": 51.5074,
"lon": -0.1278,
"acc": 15,
"alt": 20,
"vel": 1.5,
"batt": 85,
"bs": 2,
"bear": 180,
"tid": "colota",
"tst": 1704067200
}
The tid field is used as the device identifier in Home Assistant. You can customize it in the custom fields settings to distinguish multiple devices.
Notes
- If you use Nabu Casa, the integration will automatically generate a cloud webhook URL for external access
- The integration supports multiple devices - each unique
tidvalue creates a separatedevice_trackerentity
Alternative: OwnTracks integration
If you prefer not to install a custom integration, you can use Home Assistant's built-in OwnTracks integration instead:
-
Add the OwnTracks integration in Home Assistant and note the webhook URL
-
In the Colota app, select the OwnTracks template and set the endpoint to the webhook URL
-
Add the following custom headers:
Header Value Description X-Limit-Ue.g. johnYour username - used as part of the entity ID X-Limit-De.g. phoneYour device ID - used as part of the entity ID Without these headers, Home Assistant will not create a device tracker entity.