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 officially supports the Grohe Blue Home device, because this is the only one I have. If you have a Grohe Blue Professional device and can verify the functionality, 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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

groheblue-0.2.1-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: groheblue-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for groheblue-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fb1908049faa6a9c887bb0124bb74609503c6809a5ca0fdb1200d689ac8c243c
MD5 e0f316a2ff4b7dcf0463ed7f124a2d30
BLAKE2b-256 3d3d7ee7e18172e94ff67ce5a73c997b1eb132e518e4a2f2495fe16ca68fb7c3

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