openv / vcontrold

:fire: vcontrold Daemon for control and logging of Viessmann® type heating devices
https://github.com/openv/openv/wiki
GNU General Public License v3.0
102 stars 55 forks source link

Feature Request: Support "DayToDate" Format #95

Open Scrounger opened 2 years ago

Scrounger commented 2 years ago

Could you please implement an interpreter for the DayToDate Format. I have a vitocal-200s (W01C / 204D) and wouöd like to set the "Ferienprogram". To do this i need to set the start and end date.

The adresses are the following:   None None *1 None/0 Byte:0/0 ---
0xB100 Virtual_READ DayToDate(..) Array/4 Byte:0/2 --- WPR3_FerienBeginn_HK1
0xB100 Virtual_READ DayToDate(..) Array/4 Byte:2/2 --- WPR3_FerienEnde_HK1
0xB101 Virtual_READ DayToDate(..) Array/4 Byte:0/2 --- WPR3_FerienBeginn_HK2
0xB101 Virtual_READ DayToDate(..) Array/4 Byte:2/2 --- WPR3_FerienEnde_HK2
0xB102 Virtual_READ DayToDate(..) Array/4 Byte:0/2 --- WPR3_FerienBeginn_HK3
0xB102 Virtual_READ DayToDate(..) Array/4 Byte:2/2 --- WPR3_FerienEnde_HK3
0xB105 Virtual_READ DayToDate(..) Array/4 Byte:0/2 --- WPR3_FerienBeginn_Lueftung
0xB105 Virtual_READ DayToDate(..) Array/4 Byte:2/2 --- WPR3_FerienEnde_Lueftung

Output example: 91 4A 92 4A ->should be 07.04.2022 and 08.04.2022