Request for new methods in API

Moderator: Telldus

Post Reply
hekj
Posts: 992
Joined: Fri Mar 17, 2023 9:45 am
Location: Stockholm
Contact:

Request for new methods in API

Post by hekj »

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: 2243
Joined: Fri Mar 17, 2023 9:45 am
Location: Lund
Contact:

Re: Request for new methods in API

Post by micke.prag »

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

How do you plan on using the history api?
Micke Prag
Software
Telldus Technologies
hekj
Posts: 992
Joined: Fri Mar 17, 2023 9:45 am
Location: Stockholm
Contact:

Re: Request for new methods in API

Post by hekj »

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