mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
added test to convert HH:MM to minutes for scheduler
This commit is contained in:
@@ -608,36 +608,40 @@ let emsesp_schedule = {
|
|||||||
active: true,
|
active: true,
|
||||||
flags: 31,
|
flags: 31,
|
||||||
time: '07:30',
|
time: '07:30',
|
||||||
|
e_min: 0,
|
||||||
cmd: 'hc1/mode',
|
cmd: 'hc1/mode',
|
||||||
value: 'day',
|
value: 'day',
|
||||||
description: 'Turn on central heating in morning'
|
desc: 'Turn on central heating in morning'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '2',
|
id: '2',
|
||||||
active: true,
|
active: true,
|
||||||
flags: 31,
|
flags: 31,
|
||||||
time: '23:00',
|
time: '23:00',
|
||||||
|
e_min: 0,
|
||||||
cmd: 'hc1/mode',
|
cmd: 'hc1/mode',
|
||||||
value: 'night',
|
value: 'night',
|
||||||
description: 'Turn off central heating for the night'
|
desc: 'Turn off central heating for the night'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '3',
|
id: '3',
|
||||||
active: true,
|
active: true,
|
||||||
flags: 128,
|
flags: 128,
|
||||||
time: '00:01',
|
time: '00:01',
|
||||||
|
e_min: 0,
|
||||||
cmd: 'thermostat/hc2/seltemp',
|
cmd: 'thermostat/hc2/seltemp',
|
||||||
value: '20',
|
value: '20',
|
||||||
description: 'Force thermostat temperature to 20 degrees every minute'
|
desc: 'Force thermostat temperature to 20 degrees every minute'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '4',
|
id: '4',
|
||||||
active: false,
|
active: false,
|
||||||
flags: 85,
|
flags: 85,
|
||||||
time: '04:00',
|
time: '04:00',
|
||||||
|
e_min: 0,
|
||||||
cmd: 'system/restart',
|
cmd: 'system/restart',
|
||||||
value: '',
|
value: '',
|
||||||
description: 'auto restart EMS-EPS at 4am every other day'
|
desc: 'auto restart EMS-EPS at 4am every other day'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user