Skip to main content

Library built for Home Assistant to integrate with the SmartCocoon

Project description

SmartCocoon Python API

GitHub Release GitHub Activity License

pre-commit Black

Project Maintenance BuyMeCoffee

logo

This Python library allows you to control SmartCocoon fans.

Status

This is not an official API from SmartCocoon and is in the the very early stages of developement.

This API is built for the main purpose of integrating into Home Assistant but can be used independently.

Supported devices

  • SmartCocoon Smart Vents

Features

The following feature are supported:

  • Connect to the SmartCocoon cloud service
  • Obtain configuration data as it has been set up through the SmartCocoon mobile app
  • Ability to control fans
    • Turn on/off
    • Set speed
    • Set Auto mode
    • Set Eco mode

Examples

You can refer to the tests/test_integration.py to see an example of integration with the SmartCocoon API

Work to do

  • The fans are using MQTT but this is not being leveraged yet
  • Discovery has not been implemented, not sure if this is possible
  • Fan status will currently require polling if the fan is changed directly in the app

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

pysmartcocoon-0.7.4.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

pysmartcocoon-0.7.4-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file pysmartcocoon-0.7.4.tar.gz.

File metadata

  • Download URL: pysmartcocoon-0.7.4.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for pysmartcocoon-0.7.4.tar.gz
Algorithm Hash digest
SHA256 4911eb4c41af81710f6f3b29ef9f19e2b7441037c0f8843f508d8959e19ef0fc
MD5 8f239403eaaf71c5c23386880c925d47
BLAKE2b-256 18ba848c3686faf5856f4732cfccff2e6f5cdc0167cedcb8446f6286dc5656d2

See more details on using hashes here.

File details

Details for the file pysmartcocoon-0.7.4-py3-none-any.whl.

File metadata

File hashes

Hashes for pysmartcocoon-0.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4be0b5dd62a63a66666b981ac22db5d080ddf6d83740f3128196d76da9c4b4b0
MD5 cfa6fb2b66d8793078aa8f595f0bcf7b
BLAKE2b-256 5ceec5c40d5cf1718ed611c4f4940682f8cb75b5535369d7c44b147955061c5e

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