Query Sensoterra probes using the Customer API
Project description
Sensoterra
Package with a module to load Sensoterra probe data by polling the Sensoterra Customer API.
Example code
import time
from sensoterra.customerapi import CustomerApi
email = "me@example.com"
password = "secret"
api = CustomerApi(email, password)
api.set_language("en")
while True:
api.poll()
for probe in api.probes():
print(probe)
for sensor in probe.sensors():
print(sensor)
print()
time.sleep(900)
print('-' * 70)
Changelog
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sensoterra-0.1.1.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for sensoterra-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 088312756843276b4d46b65e8daadf02d4c09c75933349bc441c687f8fef59f1 |
|
MD5 | 80a219370305d003cbba2072a5c28e4a |
|
BLAKE2b-256 | 12b552646f26ccc0b77c266fc080c39a19054f9069a288ed5c9907f852067730 |