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.
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))
    indigo.server.log("ping failed for %s" % (dev.name), isError=True)
api_release_notes/1.16.txt · Last modified: 2019/01/26 00:10 (external edit)

© Perceptive Automation, LLC. · Privacy