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)
# 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 open100= 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.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyryse-0.1.0.tar.gz | 7.8 kB | Without provenance | Details for pyryse-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyryse-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pyryse-0.1.0-py3-none-any.whl |
Total release size: 14.7 kB
Release files / pyryse-0.1.0.tar.gz
| Download URL | pyryse-0.1.0.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9e9e4e7875d46ea7e1c1fbdf09e9f3c3263cdb6c9e8924790ee19bdd6ac120d
|
|
BLAKE2b-256 checksum How to use checksums |
475011b8f29de45b0f0375b99e37bb48b8223e1882cfdcbe3c0ebc2dc38ae900
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.10
|
Release files / pyryse-0.1.0-py3-none-any.whl
| Download URL | pyryse-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3d9e6f253d6f629d3be78f0ac6a171556ddec425ad62fe050c58199aa1624ae6
|
|
BLAKE2b-256 checksum How to use checksums |
e48a261396621ec60879da937579ba766830126fda2e6471a42cdf601b354f24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.10
|
Security for pyryse 0.1.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.