Primer
MySkoda relies on two ways to connect to the Skoda servers:
- MQTT (For realtime information and for checking whether operations were performed by the car.)
- HTTP Api (For retrieving detailed information and initiating operations.)
Performing Operations
Every operation is executed the following way:
- An HTTP request to the MySkoda servers is executed, initiating the desired operation (e.g. starting window heating)
- The HTTP request will immediately return status 200, no matter whether it is successful or not.
- An MQTT message with an
OperationRequestis is published. It will be statusIN_PROGRESS. - At some point, the vehicle will pick up the operation and perform it.
- An MQTT message with an
OperationRequestand statusCOMPLETED_SUCCESSwill be published. - The operation is completed.
Subscribing to Events
The vehicle will proactively send ServiceEvent messages to the MQTT broker. These events are very generic and most of them contain no meaningful data or information about what exactly happened.
When a message with ServiceEvent is received, detailed information can be gathered from the Rest API.