Skip to main content

Python package for GreenSens Plant Sensor Api

Project description

pygreensens

python package for the GreenSens Plant Sensor API

Usage:

from pygreensens import GreenSens gs = GreenSens("username", "password", ["monitored", "conditions"])

gs.fetch_single_plant(sensor_id) -> returns the information for a specific sensor gs.update() -> checks validity of Bearer token (renews if necessary) and updates the sensor data gs.hubs -> list of all hubs connected to account gs.sensors -> list of all sensors connected to account gs.plants -> dictionary of all plants and the monitored conditions

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

pygreensens-0.3.7.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pygreensens-0.3.7-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file pygreensens-0.3.7.tar.gz.

File metadata

  • Download URL: pygreensens-0.3.7.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for pygreensens-0.3.7.tar.gz
Algorithm Hash digest
SHA256 fac523a4ceb0bc76ed40a738ca49a2b7698f1a44b96c6b94f9df898ce39e8580
MD5 ec4daddc41f5cc9d9a3d19fd283a3d4e
BLAKE2b-256 0254db2ff183e395478a4f82ed600886382936909d5bdedecf8617daee092698

See more details on using hashes here.

File details

Details for the file pygreensens-0.3.7-py3-none-any.whl.

File metadata

  • Download URL: pygreensens-0.3.7-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for pygreensens-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 37bed59cef3bad719afc5f4cf78aee71ed52d3500926d6776c0e459870f485b8
MD5 c6392d886498e4ee0b7f693fa8c96944
BLAKE2b-256 fce1ecf7d9a67a1eae545199e4a023fa90766f54d7cfc323750be5e894018080

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page