Warema WMS Webcontrol Controller
This library can connect to a Warema WMS WebControl web server to send control commands.
Currently only vertical blinds are supported. Feel free to extend support to other devices.
Usage:
from warema_wms import Shade
shades = Shade.get_all_shades()
shades[0].set_shade_position(25) #0=open; 100=closed
shades[1].get_shade_state(True) #Force update and get shade state
in case your WebControl server is not under http://webcontrol.local you'll
have to create and pass your own WmsController.
from warema_wms import WmsController, Shade
shades = Shade.get_all_shades(WmsController('http://server_addr'))
An undocumented example integration for home assistant can be found here:
https://github.com/cornim/ha-warema-integration
Changes to version 0.2.4
- Improved error handling while updating shades (network timeouts)
Changes to version 0.2.3
- Fixed error log message in set_shade_position method
Changes to version 0.2.2
- Fixed misnamed variable in error log in set_shade_position method
Changes to version 0.2.1
- Increased stability by checking if set position cmd was received
Changes to version 0.2.0
- Made update procedure more resilient
- Introduced parameters to set number of retries and time between commands
- Set default time between commands to 0.1s
- Set default number of retries to 3
Changes to version 0.1.4
- Removed bug on system were 'http://webcontrol.local' does not resolve
Changes to version 0.1.2
- Reduced wait time between sending http commands to wms webcontrol webserver to 0.5 seconds
Changes to version 0.1.1
- Changed package structure
- Improved documentation
Changes to version 0.1.0
- Improved protocol
- Fixed bug where moving state was always true.
Metadata
Release files for warema-wms-controller 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| warema-wms-controller-0.2.4.tar.gz | 7.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| warema_wms_controller-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.7 kB
Release files / warema-wms-controller-0.2.4.tar.gz
| Download URL | warema-wms-controller-0.2.4.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e76284270f95cc3a101c011cdc1a7efb7056b15764597b283042d4f621768cc
|
|
BLAKE2b-256 checksum How to use checksums |
02a46f5f973d4292a7a26ef4102aff6e665e85b1de3b4c5856d87fc6c733e6fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.10
|
Release files / warema_wms_controller-0.2.4-py3-none-any.whl
| Download URL | warema_wms_controller-0.2.4-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dde39228e166edc60d8433e2a5c0108aaf21c9e6642547df7cc8d67ac36c0e8b
|
|
BLAKE2b-256 checksum How to use checksums |
e5be765b5329602c1542b363a8778b4f11ce2d0a0a34dbc5aafb2770eaad329a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.10
|