Skip to main content

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, using the Automate Pulse v2 integration.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiopulse2-0.10.0.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

aiopulse2-0.10.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file aiopulse2-0.10.0.tar.gz.

File metadata

  • Download URL: aiopulse2-0.10.0.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for aiopulse2-0.10.0.tar.gz
Algorithm Hash digest
SHA256 97a5cfedb49d9bd41c1e1707fedaadfc84cac6933b3c8caad99d4473c5a9602a
MD5 4277b04eb7917f37e46aec4baccf7ffa
BLAKE2b-256 aa1c7a74679562f6bbc77fff8a63ffd0384676aeb65981344163b0618e0fe7fa

See more details on using hashes here.

File details

Details for the file aiopulse2-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: aiopulse2-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for aiopulse2-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a7cac3d47105ed2ec274dd4fc11f1d6787a65ffc7ea7a1e45564fbe22ab7a35
MD5 a7e4e5e7ddbb51138a81ca89af423982
BLAKE2b-256 2f65b99fd0be55c9e2d6c0d7ff416fe157bba568159962fb454e1869725fe326

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page