Skip to main content

A python package for interacting with the Grohe Blue API.

Project description

groheblue

A python package for interacting with the Grohe Blue API. The API uses the Grohe IOT API which is used by the Grohe Blue app. The API is not publicly documented and may change at any time. I am not affiliated with Grohe or the Grohe Blue app in any way.

Restrictions

  • The package currently only supports the Grohe Blue Home device, because this is the only one I have. If you have a Grohe Blue Professional device and are interested in creating support for this device, please contact me.

  • Currently, the package supports multiple devices, but only if the are connected to the same location and same room in the Grohe Watersystems App. If there is interest in supporting multiple rooms or locations, please contact me.

Installation

pip install groheblue

Usage

from groheblue import GroheClient

client = GroheClient("<EMAIL>", "<PASSWORD>")


async def main():
    await client.login()

    devices = await client.get_devices()  # get all devices
    device = devices[0]  # select the first device

    # To see all available data, look into the classes.py file. Here are some example values:
    print(device.appliance_id)  # print the appliance id of the device

    print(device.data_latest.remaining_co2)  # print the remaining co2 of the device in %

    print(device.data_latest.remaining_filter)  # print the remaining filter of the device in %

    print(device.config.co2_consumption_carbonated)  # print the co2 consumption for carbonated water

    await client.dispense(device, 1, 50)  # dispense 50ml of still water

    await client.dispense(device, 3, 200) # dispense 200ml of carbonated water


if __name__ == "__main__":
    import asyncio

    asyncio.run(main())

Acknowledgments

  • lennartkaden for his work on the Grohe-Blue-API-Python. His work significantly contributed to me being able to write this package.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

groheblue-0.1.1.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

groheblue-0.1.1-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file groheblue-0.1.1.tar.gz.

File metadata

  • Download URL: groheblue-0.1.1.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for groheblue-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1df04b706c4a2335bd66794e0d5445a2661c89222824194c175278ef600d6400
MD5 367c7efda1669f0f33dd943a866cc5e2
BLAKE2b-256 226a462f34f3a31d862ce519880e215a79b5e0b9af7aec4c17bca562c06994ca

See more details on using hashes here.

File details

Details for the file groheblue-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: groheblue-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for groheblue-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0400acd794ef12f4bcb394ba92224ade2f157b5d4dd926548f4e6bc30abfbfa4
MD5 64876b5062e50dce1b975b6b93298ebf
BLAKE2b-256 6245f9d0445bc54359ab6816b793036a65335c9666fa086d0e61acf36d4e73d0

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