jamesremuscat / pyze

Unofficial Python client and API for Renault ZE
MIT License
111 stars 29 forks source link

What is the syntax for schedule? #101

Open jumpjack opened 2 years ago

jumpjack commented 2 years ago

How do I set charge schedule?

Command pyze schedule returns this:

Schedule ID: 1 [Active]
Day        Start time    End time    Duration
---------  ------------  ----------  ----------
Monday     03:30         08:30       5:00:00
Tuesday    03:30         08:30       5:00:00
Wednesday  03:30         08:30       5:00:00
Thursday   03:30         08:30       5:00:00
Friday     03:30         08:30       5:00:00
Saturday   03:30         08:30       5:00:00
Sunday     03:30         08:30       5:00:00

Schedule ID: 2
Day    Start time    End time    Duration
-----  ------------  ----------  ----------

Schedule ID: 3
Day    Start time    End time    Duration
-----  ------------  ----------  ----------

Schedule ID: 4
Day    Start time    End time    Duration
-----  ------------  ----------  ----------

Schedule ID: 5
Day    Start time    End time    Duration
-----  ------------  ----------  ----------

Let's suppose I want to change sunday schedule for id 1.

By the way, the output is wrong: it should show 01:30-06:30 for all days, and I am in timezone GMT+2 (Italy).