A library to control a Warema WMS WebControl web server.
Project description
#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'))
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.
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
Close
Hashes for warema-wms-controller-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4704e742485bdfcc6adbdcec6899245382f4c6c4f8d00cb253f00cff30c2dc61 |
|
MD5 | 7803a4f1db16d67eb14f62d4e6a41a68 |
|
BLAKE2b-256 | 192e0e02142f1beeff776667e81b92f1b8862cb8f2253ab8c1fa1e4c8f72e6dc |
Close
Hashes for warema_wms_controller-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a3a966343305d289e231c8e033eeb9f8f07032894ed3792ee9e16cf4d1920f9 |
|
MD5 | f7155f741e1ad38a5cb2b57db1ee7657 |
|
BLAKE2b-256 | 8f2526422b036ee40d4e7bad27391168cf56f372be1e6d0379083db5a027613d |