A Home Assistant integration designed for mobile installations (RVs, boats, etc.) that automatically keeps your Home Assistant location and timezone in sync with your GPS position.
- Automatic Location Tracking: Configure GPS entities and Arvee automatically updates Home Assistant's home location
- Automatic Timezone Updates: Timezone is automatically determined based on your coordinates using offline lookup
- Configurable Threshold: Set a minimum distance (in miles) before updates are triggered to avoid constant updates
- Manual Services: Services available for manual timezone/location control via automations
- Open HACS in Home Assistant
- Click on "Integrations"
- Click the three dots in the top right and select "Custom repositories"
- Add
https://github.com/ThisSmartHouse/hass-arveeas an Integration - Search for "Arvee" and install it
- Restart Home Assistant
- Copy the
custom_components/arveefolder to your Home Assistant'scustom_componentsdirectory - Restart Home Assistant
- Go to Settings → Devices & Services
- Click + Add Integration
- Search for "Arvee"
- Select your latitude and longitude entities (from a GPS tracker, phone, etc.)
- Set the update threshold (minimum distance in miles before updating)
Arvee works with any entity that provides numeric latitude/longitude values:
- Device Trackers: Phone GPS via Home Assistant Companion app
- Sensors: Dedicated GPS sensors, OBD-II adapters, etc.
- Input Numbers: For testing or manual control
Manually set the Home Assistant timezone.
| Field | Description | Example |
|---|---|---|
timezone |
IANA timezone string | America/New_York |
Manually set location and timezone based on coordinates.
| Field | Description | Example |
|---|---|---|
latitude |
Latitude coordinate | 40.7128 |
longitude |
Longitude coordinate | -74.0060 |
- Arvee monitors the configured latitude/longitude entities for state changes
- When a change is detected, it calculates the distance from the last known position
- If the distance exceeds the configured threshold, it:
- Updates Home Assistant's home latitude/longitude
- Looks up the timezone for the new coordinates (using
tzfpy- fully offline) - Updates Home Assistant's timezone
- Timezone Display: Home Assistant's UI uses friendly names for timezones (e.g., "Eastern Time" for
America/New_York). If you're in a less common timezone, the dropdown in Settings may appear blank, but the timezone is still correctly set. - Offline Operation: Timezone lookups are performed entirely offline using the
tzfpylibrary - no internet connection required.
- Check that your GPS entities have valid numeric values
- Verify the distance threshold isn't set too high
- Check the Home Assistant logs for any Arvee-related errors
Make sure your GPS entities exist and are available before configuring Arvee.
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - see LICENSE file for details.