Ticket #290 (new defect)

Opened 8 years ago

Last modified 8 years ago

Value "timezoneoffset" missing when querying /sensors/list

Reported by: leonard broman <leonard.broman@…> Owned by:
Priority: major Milestone: 2.1.3
Component: Telldus Live! Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All Sensitive: no
Verified by Telldus: no


When querying sensors/info the sensors contains the value lastUpdated and timezoneoffset, however when querying sensors/list only the value lastUpdated is returned for each sensor.

{*, "name"=>"Sensor 2", "lastUpdated"=>1360403284, "ignored"=>0, *, "timezoneoffset"=>3600}

[*, "name"=>"Sensor 2", "lastUpdated"=>1360403089, "ignored"=>0, *, "online"=>"1", "editable"=>1}]

I've cut some of the data from the responses, but the timezoneoffset is clearly missing. Clients would be forced to query each sensor individually to be able to check if the values have been updated since last query. Instead, it would be better to have this value in the sensors/list and be able to query only once for all sensors.

Change History

comment:1 Changed 8 years ago by micke prag <micke.prag@…>

  • Milestone set to 2.1.2
Note: See TracTickets for help on using tickets.