Adds query parameters for latitude and longitude to the `/TestStartParking` endpoint, allowing to simulate different locations.
Adds logic to set the gear to "P" if the received value is null to cover edge cases.
Ensures asynchronous message processing by awaiting the result of ProcessMessage to prevent potential race conditions.
Ensures the parking state is correctly managed by setting the parking started state before any parking zone checks.
Also, updates the logging message to more accurately reflect the car's state.
Adds logging of the parking zone code when parking starts in a determined zone.
This provides more detailed information for debugging and monitoring purposes.
Updates the default zone file path to point to the parking zones file.
This change ensures the application uses the correct GeoJSON file for determining parking zones.
Enhances parking state logic by setting the initial gear to "P" and adding more detailed logging for state changes and parking events.
This provides better insight into vehicle states and parking behaviors.
Updates the MQTT client to subscribe to all subtopics under "telemetry"
using the wildcard "#". This allows the client to receive messages from various telemetry sources, improving data ingestion.
Improves logging for MQTT server events to provide more detailed
information for debugging and monitoring. Logs the message payload
when a client publishes a message and includes username, password,
and remote IP address when an observer fails to connect due to
invalid credentials.
Adds an endpoint to retrieve fleet status information.
This endpoint uses a Tesla API proxy to fetch the fleet status
based on provided VINs. It handles authentication using a bearer
token and sends a POST request to the /api/1/vehicles/fleet_status
endpoint.
Also introduces new data models to properly serialize/deserialize the fleet status response.
Implements the /Authorize endpoint to redirect users to the Tesla
authentication page. This allows users to grant the application
permission to access their Tesla account data.
Updates the public key resource to be copied on build, ensuring
it is always available at runtime.
Adds logic to validate the application registration by comparing the
public key retrieved from the Tesla API with the public key stored
locally.
Adds initial files for a proof-of-concept project, including Dockerfile, .gitignore, project files, and MQTT-related services.
This commit sets up the basic structure and configuration for exploring and validating the core concepts of the project.