An open API service indexing awesome lists of open source software.

https://github.com/advait/py-somfy-mylink

Python bindings for the Somfy MyLink Synergy API
https://github.com/advait/py-somfy-mylink

api api-client mylink python python3 somfy synergy

Last synced: 7 months ago
JSON representation

Python bindings for the Somfy MyLink Synergy API

Awesome Lists containing this project

README

          

somfy-mylink
============

TCP API bindings for the [Somfy MyLink Synergy API](https://www.somfysystems.com/somfy-synergy-api).

## Usage

```python
from somfy_mylink import SomfyMyLink

somfy = SomfyMyLink('yoursystemid', '192.168.86.31')
cover = somfy.target('CC104FA2.1')

# Async open the shade
await cover.up()

# Async close the shade
await cover.down()

# Async stop the shade motion
await cover.stop()
```

## System ID and Target IDs
The System ID and Target IDs can be found in the "Integration Report" in your Somfy MyLink app:
![Screenshot](https://user-images.githubusercontent.com/504011/47191668-7ff32480-d2fd-11e8-9b3a-573e0388aebf.png)