Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Enable pre-conditioning by timer like in App #392

Open
ThraaxSession opened this issue Nov 6, 2024 · 6 comments
Open

Feature: Enable pre-conditioning by timer like in App #392

ThraaxSession opened this issue Nov 6, 2024 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@ThraaxSession
Copy link

The official app supports pre-conditioning with a timer. Would be awesome to have similar possibilities like in the main app.

@prvakt
Copy link
Collaborator

prvakt commented Nov 7, 2024

Below you can find some info how to activate the timer.

HTTP POST https://mysmob.api.connect.skoda-auto.cz/api/v1/vehicle-automatization/TMBXXXXXXXXXXXXXX/departure/timers
{
    "deviceDateTime": "2024-11-06T20:43:11.841+01:00",
    "timers": [
        {
            "charging": true,
            "climatisation": true,
            "enabled": true,
            "id": 1,
            "oneOffDay": "THURSDAY",
            "preferredChargingTimes": [
                {
                    "enabled": true,
                    "endTime": "06:00",
                    "id": 1,
                    "startTime": "00:00"
                }
            ],
            "targetBatteryStateOfChargeInPercent": 90,
            "time": "07:00",
            "type": "ONE_OFF"
        }
    ]
}

or

{
    "deviceDateTime": "2024-11-06T20:40:15.287+01:00",
    "timers": [
        {
            "charging": true,
            "climatisation": true,
            "enabled": true,
            "id": 1,
            "preferredChargingTimes": [
                {
                    "enabled": true,
                    "endTime": "06:00",
                    "id": 1,
                    "startTime": "00:00"
                }
            ],
            "recurringOn": [
                "MONDAY",
                "TUESDAY",
                "WEDNESDAY",
                "THURSDAY",
                "FRIDAY",
                "SATURDAY",
                "SUNDAY"
            ],
            "targetBatteryStateOfChargeInPercent": 90,
            "time": "07:00",
            "type": "RECURRING"
        }
    ]
}

where timers["id"] is identification of the timer (1,2 or 3)

@ThraaxSession
Copy link
Author

ThraaxSession commented Nov 7, 2024

Ah not sure it's what I need. This seems to be about charging only, not heating/cooling.

@prvakt
Copy link
Collaborator

prvakt commented Nov 7, 2024

just set charging to false and climatisation to true.. then time attribute should be set to time when you want to have you car ready

@WebSpider WebSpider added the enhancement New feature or request label Nov 8, 2024
@prvakt
Copy link
Collaborator

prvakt commented Nov 25, 2024

when playing with timers today, I have found out there are 2 different timers in MySkoda app with different endpoints and slightly different structure

  • departureTimer where you can configure charging/cooling at specified times
  • acTimer where you can configure only air conditioning at specified times

I think it should be possible to implement both timers into HA but priority for me is auxiliary heating at the moment

@dvx76 dvx76 transferred this issue from skodaconnect/myskoda Dec 3, 2024
@ThraaxSession
Copy link
Author

@prvakt do you like to takeover? I currently don't find that much time as I wished to. :/

@prvakt
Copy link
Collaborator

prvakt commented Dec 7, 2024

@prvakt do you like to takeover? I currently don't find that much time as I wished to. :/

Sure, why not :).. At least I can implement some generic On/Off functionality for now and later we can extend it

@prvakt prvakt assigned prvakt and unassigned ThraaxSession Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants