Code Monkey home page Code Monkey logo

wms_webcontrol's Introduction

#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.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

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.

wms_webcontrol's People

Contributors

cornelius-mund avatar cornim avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.