Documentation ¶
Index ¶
Constants ¶
View Source
const ( ReadBattery = "read_battery" // Read EV battery's capacity and state of charge ReadCharge = "read_charge" // Know whether vehicle is charging ReadLocation = "read_location" // Access location ReadOdometer = "read_odometer" // Retrieve total distance traveled ReadVehicleInfo = "read_vehicle_info" // Know make, model, and year ReadVIN = "read_vin" // Read VIN WriteChargeStartStop = "write_charge_start_stop" // Start or stop your vehicle's charging WriteWakeUp = "write_wake_up" // Wake up car. Only valid for Tesla )
View Source
const URI = "https://api-eu.tronity.io"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EVBatteryLevel ¶
type EVChargingStatus ¶
type Location ¶
type Location struct { // Latitude float64/string // Longitude float64/string Timestamp int64 }
Click to show internal directories.
Click to hide internal directories.