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.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.
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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ebf1111f66b55ebeae994971a78319d8aac42a4ad8af6cb31c6d53dbd7776ad |
|
MD5 | a71b97ef99c7a09bf24f237369fcc9b7 |
|
BLAKE2b-256 | 815108b500996cef6385f9d713723490534979bda81d9fb0be47dffc88bf94d6 |
Close
Hashes for warema_wms_controller-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2a5506584b1bfb2477a37b078fd0e92ede563a8b7380377a6f3667047dda131 |
|
MD5 | f3bdb28e2666702885fc830739d4dd0c |
|
BLAKE2b-256 | fa87a828d1c35df57e255e491aec59ad157742c1b99797a68ff8aae47215b9d3 |