Skip to content

Instantly share code, notes, and snippets.

@rbotzer
Last active December 4, 2019 03:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rbotzer/93a1b59c50d2289533d1cef5269fe192 to your computer and use it in GitHub Desktop.
Save rbotzer/93a1b59c50d2289533d1cef5269fe192 to your computer and use it in GitHub Desktop.
One day's data for a single sensor
print("\nGet sensor{} data for April 2nd".format(sensor_id))
key = (namespace, set, "sensor{}-04-02".format(sensor_id))
if options.interactive:
pause()
_, _, b = client.get(key)
pp.pprint(b["t"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment