diff --git a/src/nodes/vrm-api.html b/src/nodes/vrm-api.html index 0cfc32f..d1185c5 100644 --- a/src/nodes/vrm-api.html +++ b/src/nodes/vrm-api.html @@ -230,6 +230,7 @@ + diff --git a/src/nodes/vrm-api.js b/src/nodes/vrm-api.js index b03c0be..5e61e93 100644 --- a/src/nodes/vrm-api.js +++ b/src/nodes/vrm-api.js @@ -95,6 +95,9 @@ module.exports = function (RED) { } else if (start === 'bod') { start = (dayStart - hourStart) / 1000 } + } else if (start === 'bot') { + start = (dayStart - hourStart + 86400000) / 1000 + } parameters.start = Math.floor((hourStart / 1000) + Number(start)) } if (config.stats_end !== 'undefined') {