Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
api_release_notes:1.16 [2014/06/26 03:20] – created mattbapi_release_notes:1.16 [2026/04/07 18:27] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== API v1.16 Release Notes ======
 +This version of the API shipped with Indigo 6.0.13 - check the [[:API Version Chart]] to see what version of the API is available in which Indigo versions.
 +
 +  * Added //''ping(dev, suppressLogging)''// method to indigo.device command space to measure latency between Indigo and devices. The argument can be any device ID or device instance. Returned is dict with keys "Success" and "TimeDelta".
 +  * Added //''pausedScheduleZone''// and //''pausedScheduleRemainingZoneDuration''// attributes to sprinkler device instances, which return the paused sprinkler zone index and the remaining time on the paused zone. If schedule is not paused None is returned.
 +
 +^  Examples  ^
 +|<code>dev = indigo.devices[147133556] # "some Z-Wave or INSTEON module"
 +result = indigo.device.ping(dev, suppressLogging=True)
 +if result["Success"]:
 +    indigo.server.log("%.3f seconds ping for %s" % (result["TimeDelta"]/1000.0, dev.name))
 +else:
 +    indigo.server.log("ping failed for %s" % (dev.name), isError=True)</code>|