1

Ignition history JS API

(29/11/2019 10:06:41 отредактировано gly2008)

Тема: 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.

2

Ignition history JS API

Re: Ignition history JS API

Hello!

may be there is not registered events by system.
please specify in PM the itemID (unit), I can check registered events on server side.

Diana Cheley
Wialon Hosting Expert
Gurtam