Rollease Acmeda Automate Pulse Hub v2 integration.
Project description
aiopulse2
Asynchronous library to control Rollease Acmeda Automate roller blinds with the Pulse v2 Hub
This is an updated fork of aiopulse for the v2 hub (note: this is not compatible with the v1 hub, use aiopulse
for that). The protocol implementation uses a combination of WebSockets and a TCP connection using a serial like protocol. See the project wiki page for details.
Requires Python 3.7 or later and uses asyncio and websockets.
It has been primarily developed as an integration for Home Assistant.
Installing
Run pip install aiopulse2
.
Demo.py
This is an interactive interface to test the integration. The available commands are listed below.
Use the list
command to get the id of the hubs/blinds.
Command | Description |
---|---|
connect [hub ip][hub ip]...] | Connect to the hub at ip(s) |
disconnect | Disconnect all hubs |
list | List currently connected hubs and their blinds, use to get the [hub id] and [blind id] for the following commands. |
open [hub id][blind id] | Open blind |
close [hub id][blind id] | Close blind |
stop [hub id][blind id] | Stop blind |
moveto [hub id][blind id] [% closed] | Open blind to percentage |
exit | Exit program |
pulse_hub_cli.py
This is a trivial work-in-progress aiopulse2 command-line-interface wrapper. It issues a command to a blind given the hub ip address, device name as defined in the Pulse 2 app and desired percentage closed. It then waits for the command to complete.
python3 pulse_hub_cli.py '192.168.1.127' 'Office 1 of 3' 100
close.sh
This is an example application of pulse_hub_cli.py. It closes three blinds in sequence. In this case, it is useful to close the blinds one at a time because they share a small power supply.
python3 pulse_hub_cli.py '192.168.1.127' 'Office 1 of 3' 100
python3 pulse_hub_cli.py '192.168.1.127' 'Office 2 of 3' 100
python3 pulse_hub_cli.py '192.168.1.127' 'Office 3 of 3' 100
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aiopulse2-0.6.1.tar.gz
.
File metadata
- Download URL: aiopulse2-0.6.1.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb6feda446586b7bb9bcd5ed3bf2264c9849954eae85a70fceb201008d45367c |
|
MD5 | 6fe110186ac45b824fa7ed59eb915450 |
|
BLAKE2b-256 | d1cb7acdaf97421f407f11e753bd3ac6554d5cf5c9fbaa3d53e209518fa50bfb |
File details
Details for the file aiopulse2-0.6.1-py3-none-any.whl
.
File metadata
- Download URL: aiopulse2-0.6.1-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a579edf68042bd03cad383605df456f10c3b9f3c906fc2eb0ba207f43dca31b |
|
MD5 | 4a7db5718ecd5403ec1e2b4f1f504ea8 |
|
BLAKE2b-256 | 137f42efae89c0bd872f2ea990efa1f17673205a97dbacd403fa1a6b73852423 |