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.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.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e25b61f950869d64ad47fbb759932661c54d57a0cd962aeefe3f08cc619842a |
|
MD5 | d18d8e6aa1aa15d853584d4e1dc6d157 |
|
BLAKE2b-256 | 90bce7507de2ccf72dcdc3a249764c01865f1f9b9a26ca19b32decd8baf33173 |
Close
Hashes for warema_wms_controller-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdc48518c5244c08111b5b9ae81393d2998f91dfbdc8470b92031f2a2093ff99 |
|
MD5 | 50ec7d721b13e1cb94c3a36428d4a8fd |
|
BLAKE2b-256 | 29c78440b3adf735b14ac94301f9d32fbc848a8b95d282504814f1829aebd912 |