Difficulty: Complex
Implement an OwnTracks provider using the `LocationProvider` ABC from `providers.py`.
OwnTracks publishes location updates over MQTT. This provider would:
- Subscribe to an MQTT topic (e.g. `owntracks/+/+`)
- Parse the OwnTracks JSON payload
- Convert to `PersonLocation` objects
- Run as a background listener alongside the poll loop
Considerations:
- Needs an MQTT client library (`paho-mqtt`)
- OwnTracks is push-based (not poll-based) — the provider interface may need a `subscribe(callback)` method in addition to `get_locations()`
- Config: MQTT broker URL, username, password, topic prefix
- TLS support for secure MQTT connections
Difficulty: Complex
Implement an OwnTracks provider using the `LocationProvider` ABC from `providers.py`.
OwnTracks publishes location updates over MQTT. This provider would:
Considerations: