Тема: Ignition history JS API
Hi,
please specify how to use getIgnitionHistory() and getSensorsHistory() in JS API.
I perform code like this:
unit.getIgnitionHistory(1, from, to, 0, null, function(error, result) {
console.log(error, result);
});
but get empty object for each unit. What can be wrong?
ivalFrom and ivalTo are the time intervals is seconds.