Request for new methods in API

Moderator: Telldus

Post Reply
hekj
Posts: 992
Joined: Thu Jan 18, 2018 11:08 am
Location: Stockholm
Contact:

Request for new methods in API

Post by hekj » Thu Jan 18, 2018 11:08 am

I would like a new method that returns a timestamp for a given device, the time when a command/value was last sent.

Requested (java syntax):
  • public long tdTimestampLastSent(int intDeviceId);
Existing (java syntax):
  • public int tdLastSentCommand(int intDeviceId, int methodsSupported);
  • public String tdLastSentValue(int intDeviceId);
The timestamp could be number of milliseconds since Jan 1, 1970.

I would also like a method that returns a limited number of raw events that has occurred since the service was started (each event should be marked with a timestamp).

/Henrik

micke.prag
Site Admin
Posts: 2242
Joined: Thu Jan 18, 2018 11:08 am
Location: Lund
Contact:

Re: Request for new methods in API

Post by micke.prag » Thu Jan 18, 2018 11:08 am

http://developer.telldus.se/ticket/83

How do you plan on using the history api?
Micke Prag
Software
Telldus Technologies

hekj
Posts: 992
Joined: Thu Jan 18, 2018 11:08 am
Location: Stockholm
Contact:

Re: Request for new methods in API

Post by hekj » Thu Jan 18, 2018 11:08 am

micke.prag wrote:http://developer.telldus.se/ticket/83

How do you plan on using the history api?
The first method will be used by the android application, NexaHome - Big Brother, to make it able to detect IR Sensor ON events that only last a couple of seconds.

The second method is to have easy dynamic access to temperature and moisture sensor data without having to register the sensors in "TelldusCenter".

/Henrik

Post Reply