Skip to main content

pyryse

Local (no-cloud) async Python client for RYSE SmartShade motorized shades, driven through a RYSE SmartBridge over its LAN HTTP API.

Built to back the Home Assistant integration ha-ryse-local, but usable on its own. Not affiliated with or endorsed by RYSE; "RYSE", "SmartBridge" and "SmartShade" are trademarks of their owner.

Install

pip install pyryse

Usage

import aiohttp
from pyryse import RyseBridge

async def main():
    async with aiohttp.ClientSession() as session:
        bridge = RyseBridge("192.168.0.123", session)
        device = await bridge.async_get_device()
        for gear in device.gears:
            print(gear.name, gear.position, gear.position_state.name,
                  gear.online, gear.battery)

        # Move a shade. Bridge scale: 0 = open, 100 = closed.
        await bridge.async_set_position(device.gears[0].id, 0)   # open

If your bridge has local security enabled, pass the serial: RyseBridge(host, session, serial="...").

Position convention

The bridge's position is the inverse of Home Assistant's cover scale:

  • 0 = fully open
  • 100 = fully closed

pyryse reports the bridge's native values unchanged; invert in your consumer if you need HA semantics. See docs/PROTOCOL.md for the full reverse-engineered API.

License

MIT

Metadata

Release files for pyryse 0.2.0

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

Source distribution (sdist)

Source distribution for pyryse 0.2.0
File Size Uploaded Provenance Actions
pyryse-0.2.0.tar.gz 9.2 kB With provenance Details for pyryse-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 16.3 kB

Release files / pyryse-0.2.0.tar.gz

Download URL pyryse-0.2.0.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a8d3af9ebd430d57fa34cd0c18c844f9e7106822848f507cfa9776144adc6423
BLAKE2b-256 checksum
How to use checksums
8227ae9534b4aa3606349ba1bb6a3f010c6ea5e63bb502e63c8883fbf298b11d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / pyryse-0.2.0-py3-none-any.whl

Download URL pyryse-0.2.0-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f349feaf745214c9e7ab9d2464269fbcfc27ea4187b04ef7110609ab8382a93d
BLAKE2b-256 checksum
How to use checksums
6793f9abe1e31e285dd1c46141d39f1669321d2b93af40b7ab57dfa3805fd8bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Security for pyryse 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyryse-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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