Library to control AXA Remote window openers.
Project description
Python library to control AXA Remote window openers.
Python library to control AXA Remote window openers over the serial interface or serial to network bridges like esp-link.
Hardware
If you power the AXA Remote using batteries you can connect the Serial 3.3 or 5 Volts to position 1 or 6 of the RJ25 connector, ground to position 2 or 5 of the RJ25 connector and RX/TX to position 3 or 4.
If you power the AXA Remote with the additional external power supply you can use a LIN-bus controller to act as a level converter.
Protocol
This are the protocol details:
19200 baud 8N2
Device command: \r\nDEVICE\r\n
Version command: \r\nVERSION\r\n
Status command: \r\nSTATUS\r\n
Open command: \r\nOPEN\r\n
Stop command: \r\nSTOP\r\n
Close command: \r\nCLOSE\r\n
Installation
You can install the Python AXA Remote library using the Python package manager
PIP:
pip3 install axaremote
axaremote CLI
You can use the Python AXA Remote library directly from the command line to open, stop or close your window using the following syntax:
Status of the window: python3 -m axaremote serial <serial port> status
Open the window: python3 -m axaremote serial <serial port> open
Stop the window: python3 -m axaremote serial <serial port> stop
Close the window: python3 -m axaremote serial <serial port> close
Or if your projector is connected using a serial to network bridge:
Status of the window: python3 -m axaremote telnet <host> <port> status
Open the window: python3 -m axaremote telnet <host> <port> open
Stop the window: python3 -m axaremote telnet <host> <port> stop
Close the window: python3 -m axaremote telnet <host> <port> close
If you add the argument --wait
to the open or close command the process will
wait till the window is open/close and show the progress.
Support my work
Do you enjoy using this Python library? Then consider supporting my work:
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
Built Distribution
File details
Details for the file axaremote-0.0.6.tar.gz
.
File metadata
- Download URL: axaremote-0.0.6.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72e44a10fe60a4b297bb4bb507e9de658dbdb5da582650680d2d3bcdc3836768 |
|
MD5 | 07eaf6437a12858c5aa2002790bcf0a6 |
|
BLAKE2b-256 | 54d06e0a048e5dd49148c13de72464afda388d663803e4723c58dad9952cd56d |
File details
Details for the file axaremote-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: axaremote-0.0.6-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 560374b622c75458b6b25f8b4ff02b47e814215e6a95fea3484dbc6b67c0b0c0 |
|
MD5 | c8ff0d7eea8c841631dc263629baabcd |
|
BLAKE2b-256 | 9f11569014a8a680eff4dbf78b9ad70626f2d115a408a4f408a23732aa1a743d |