Skip to main content

Asynchronous Python client for getting Plaato Airlock and Keg data

Project description

Python API client for fetching Plaato data

Fetches data for the Plaato Keg and Plaato Airlock using the official API handed by blynk.cc

To be able to query the API an auth_token is required and which can be obtained by following these instructions

For more information about the available pins that can be retrieved please see the official docs from Plaato

Usage

usage: cli.py [-h] -t AUTH_TOKEN -d {keg,airlock,both} [-u URL] [-k API_KEY]

optional arguments:
  -h, --help            show this help message and exit

required arguments:
  -t AUTH_TOKEN         Auth token received from Plaato
  -d {keg,airlock}

optional arguments:
  -u URL                Mock url
  -k API_KEY            Header key for mock url

Available pins

Keg

    BEER_NAME = "v64"
    PERCENT_BEER_LEFT = "v48"
    POURING = "v49"
    BEER_LEFT = "v51"
    BEER_LEFT_UNIT = "v74"
    TEMPERATURE = "v56"
    UNIT_TYPE = "v71"
    MEASURE_UNIT = "v75"
    MASS_UNIT = "v73"
    VOLUME_UNIT = "v82"
    LAST_POUR = "v59"
    DATE = "v67"
    OG = "v65"
    FG = "v66"
    ABV = "v68"
    FIRMWARE_VERSION = "v93"
    LEAK_DETECTION = "v83"
    MODE = "v88"

AirLock

    BPM = "v102"
    TEMPERATURE = "v103"
    BATCH_VOLUME = "v104"
    OG = "v105"
    SG = "v106"
    ABV = "v107"
    TEMPERATURE_UNIT = "v108"
    VOLUME_UNIT = "v109"
    BUBBLES = "v110"
    CO2_VOLUME = "v119"

Disclaimer

This python library was not made by Plaato. It is not official, not developed, and not supported by Plaato.

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

pyplaato-0.0.19.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

pyplaato-0.0.19-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file pyplaato-0.0.19.tar.gz.

File metadata

  • Download URL: pyplaato-0.0.19.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyplaato-0.0.19.tar.gz
Algorithm Hash digest
SHA256 86ee39b287c6ed0896655084d49ad964c0575a643fbf4b0af1026537e5417be5
MD5 30df7de365e58112eff66ef9846c34d5
BLAKE2b-256 ed5dfd8569c2c916e240b7a41cfc1106dc5dc683cfae4743bcbb62120f7b4cff

See more details on using hashes here.

File details

Details for the file pyplaato-0.0.19-py3-none-any.whl.

File metadata

  • Download URL: pyplaato-0.0.19-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyplaato-0.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 2b1ba9a4b1f10b1ac52d0df1e7280213ad5d5b848102862ee24f8b8edd2b5b76
MD5 826c058bf559ef2369d18989d60c7f5e
BLAKE2b-256 d3bda52c644633ed8c8d7c7979d00b80839832c31026677df0d734777434f2ba

See more details on using hashes here.

Supported by

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