npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

node-red-contrib-warema-webcontrol

v0.3.0

Published

Node RED extension for Warema sun shading products with Warema web control.

Downloads

37

Readme

node-red-contrib-warema-webcontrol

NPM

This is not an official implementation!

With this node-red extension you should be able to control a Warema sun shade rollo with a Warema WebControl device. The included node allows you to send three different commands to the inofficial API and it parse the XML result as JSON.

Warema Flow Screenshot

Usage

Configuration

This node requires two properties for configuration

url             KEBA url of the charging station web ui
position        Position to move the shade to (in percent)

Examples

It is possible to configure the command and position property in the node configuration or you can configure them by msg properties.

Request State (Status)

command = status
{
    "befehlszaehler": 7,
    "responseID": 36,
    "raumindex": 0,
    "kanalindex": 0,
    "fahrt": 0,
    "position": 0,
    "winkel": 255,
    "positionvolant1": 255,
    "positionvolant2": 255
}

Request Move (Ready)

command = move
position = 0 - 100
{
    "befehlszaehler": 7,
    "responseID": 36,
    "raumindex": 0,
    "kanalindex": 0,
    "fahrt": 0,
    "position": 0,
    "winkel": 255,
    "positionvolant1": 255,
    "positionvolant2": 255
}

Request Ready (Ready)

command = ready
{
    "befehlszaehler": 113,
    "responseID": 51,
    "requestid": 35,
    "feedback": 1
}

Node States

There are four possible states for the node:

  • green: means the shade is closed (position: 0%)
  • yellow: means the shade is moving
  • blue: means the shade is open with a particular position
  • grey: request failed or WebControl is not able to reach the shade

Contribution

Prerequisites

  • Installed Node
  • Installed Docker for Desktop (or on Linux native Docker)

Development

Start locally a Docker container with the following command:

# careful this command is i.e. for Powershell
docker run -it -p 1880:1880 -v ${PWD}:/usr/src/node-red/development --name mynodered nodered/node-red

# cleanup
docker kill mynodered
docker rm mynodered

Then you can attatch your Visual Studio Code instance to the running container (official Remote Docker extension required). After that you can connect with the Powershell, shell, whatever to the running container by entering

docker exec -it mynodered bash

npm install ./development/

May you have to restart the container/Node-Red to see the plugin in over the Node-RED UI at http://localhost:1880/.

Contribution

Inspiration by the following links/projects:

  • https://pypi.org/project/warema-wms-controller
  • https://forum.iobroker.net/topic/7336/iobroker-mit-warema-wms-web-control/92?_=1615929071126&lang=en-US