Adds fleet status endpoint
All checks were successful
Build, Push and Run Container / build (push) Successful in 25s
All checks were successful
Build, Push and Run Container / build (push) Successful in 25s
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.
This commit is contained in:
@@ -5,9 +5,9 @@ namespace ProofOfConcept.Services;
|
||||
|
||||
public class MQTTClient : IHostedService
|
||||
{
|
||||
private ILogger<MQTTClient> logger;
|
||||
private MQTTClientConfiguration configuration;
|
||||
private MQTTServerConfiguration serverConfiguration;
|
||||
private readonly ILogger<MQTTClient> logger;
|
||||
private readonly MQTTClientConfiguration configuration;
|
||||
private readonly MQTTServerConfiguration serverConfiguration;
|
||||
|
||||
private readonly IMqttClient client;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user