Giter VIP home page Giter VIP logo

ryse_mqtt's Introduction

MQTT integration for Ryse smart shades.

This allows to integrate Ryse SmartShade bypassing HomeKit bridge directly with MQTT. No need for the app or registration either.

Features

  • No-app, no-bridge, "free without registration" onboarding and integration.
  • Home Assistant auto-discovery as a cover entity grouped by device.
  • Fast mode for lightning fast responsiveness (might be detrimental for battery life, since it will keep connection alive)
git clone https://github.com/ibielopolskyi/ryse_mqtt
cd ryse_mqtt

Pairing

For now pairing is manual as there is no grouping feature. Use bluetoothctl as follows:

sudo bluetoothctl

Now, we need to locate the Ryse mac address (their name by default is always RZSS):

menu scan
pattern RZSS
back
scan on

After locating the mac address, put your Ryse device into pairing mode (3 clicks on pair button) and run:

trust <YOUR MAC ADDRESS HERE>
connect <YOUR MAC ADDRESS HERE>

Please, note that no pairing is necessary at this point. Bluetoothctl will offer to pair and remember. Click yes.

Configuration

cp example.conf config.conf

In config.conf the [mqtt] section is conveniently going to be passed through to the MQTT Client In the most cases, merely set up hostname variable there

[mqtt]
hostname=MQTT host IP

In the [ryse] section create a map of your device preferred names to it's MAC address:

[ryse]
A Blind=<Mac Address>
Another Blind=<Mac Address>

In home_assistant section set discovery_topic and device_name . Discovery topic by default is homeassistant and device_name will be used in Home Assistant device identifier to group entities.

[home_assistant]
discovery_topic=homeassistant
device_name=Ryse Controller

Finally, if you don't want to wait for reconnect, define specific blinds in [fast] section. Especially useful when your shades are part of automation.

[fast]
A blind=true

Run!

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python ryse_mqtt

Or:

python ryse_mqtt <path to config file>

FAQ

  • Ryse blind not connecting after restart.

A: go to bluetoothctl and run disconnect <RYSE MAC ADDRESS> or simply wait. It will expire previous session and reconnect.

ryse_mqtt's People

Contributors

ibielopolskyi avatar

Stargazers

 avatar  avatar Peyton Duncan avatar

Watchers

 avatar

Forkers

olatief

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.