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-mystrom

v1.1.0

Published

myStrom nodes to controll all myStrom devices within Node-RED

Downloads

23

Readme

logo

Build Status npm-version dependencies Status Packagist

NPM

Features

  • Control nodes via JSON input flows or by simply setting the values in the properties menu
  • Automatic discovery of myStrom devices
  • Full functionality of the myStrom api
  • Status message of how the message was sent
  • Status if message has arrived at destination (TODO)
  • Graphical color picker for lights (TODO)
    • Control almost any device with dingz!

Installation

Installation on Node-RED

myStrom-Node-RED was written in Node.js v4.2.6 and tested on Node-RED v0.19.4.

To use it execute npm install node-red-contrib-mystrom or use the node-RED interface by accessing Node-RED web ui -> top right menu -> "manage palette"->"install"-> serach for "node-red-contrib-mystrom"

Bugs

Please report all bugs through the Github issues page. Your help is greatly appreciated.

Nodes

  • myStrom Switch
  • myStrom Bulb
  • myStrom Light Strip
  • myStrom Button
  • myStrom Button+

General usage

Usage:

  1. Select the device in the properties of the node. To do this simply click on the node and a new menu will pop up. From there you can either:
    • Select an already configured device.
    • Create a new device. If you choose to create a new device, you can either specify this device by providing an IP and MAC address. You can also use the "discovered devices" dropdown to select a device that has automatically discovered in your network.
  2. Specify which action should be executed when the node is triggered.
  3. The node will be triggered once it receives any kind of input.

Button usage

Usage:

  1. Make sure your devices are in the configuration mode.
    • Button: Connect the button to a power source with the provided USB cable. After some minutes it should become visible in the network
    • Button+: Open the back of the button up by turning it. Remove the batteries and reinsert them. The button should now be visible.
  2. Select whether you want to specify the button actions or get information about the button by using the dropdown menu in the node properties.
  3. Specify the ip address and data you would like to send. If you only want use the button nodes output enter "wire" in the address field and leave the data field blank.
  4. Connect your other nodes and services you would like to trigger to the nodes outputs. Keep in mind that the first node output port is reserved for the "report" action and will only receive data if you have specified "report" as your request.
  5. Press the button on the left side of the button node to upload your configuration to the button. You only need to reupload the data if you have changed something within the button node. If you change what you have attached to the output ports or connect/disconnect nodes from these ports, you do not have to upload it again.

For an advanced user guide on how to use the myStrom nodes see here