Skip to main content

SmartCocoon API

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

Metadata

Release files for pysmartcocoon 0.1.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysmartcocoon 0.1.14
File Size Uploaded
pysmartcocoon-0.1.14.tar.gz 10.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pysmartcocoon 0.1.14
File Interpreter ABI Platform
pysmartcocoon-0.1.14-py3-none-any.whl Python 3 none any Details

Total release size: 26.4 kB

Release files / pysmartcocoon-0.1.14.tar.gz

Download URL pysmartcocoon-0.1.14.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f6fc2874961c300ef2d2eb1835abd6d90fa6a78578d87da5fca56e92be27da37
BLAKE2b-256 checksum
How to use checksums
41fdaaac3a8e60755bacf6bd04647f9eed1cf0f9734ef5445eca50adf61af1da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

Release files / pysmartcocoon-0.1.14-py3-none-any.whl

Download URL pysmartcocoon-0.1.14-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8dbe4ff7c12e52e4d96421ef3263c3ad6925effc19094fa099e66b4bc79e3b5a
BLAKE2b-256 checksum
How to use checksums
efb0105ab42a78645d629d1d4a4147554e2ce4987ddd03a07bfc3082e43e5ef7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

Release history Release notifications | RSS feed

1.4.6

2 release files

1.4.5

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.9

2 release files

0.7.8

2 release files

0.7.7

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.5.4

3 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

This release

0.1.14 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page