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 🙏

© 2025 – Pkg Stats / Ryan Hefner

solar-manager-virtual-device

v1.0.2

Published

Solar Manager Virtual Device to integrate unsupported devices into a smart home power management.

Readme

npm build

solar-manager-virtual-device

Solar Manager Virtual Device to integrate unsupported devices into a smart home power management.

Description

This node module is able to mock a MyStrom Switch device to be used with the Solar Manager. This enables the usage of unsupported devices in a smart home power management. The whole solutions consists of three parts:

  • Virtual Device
    Run the virtual device, for example within a Docker container.

  • Solar Manager
    Configure a MyStrom Switch within the Solar Manager configuration.

  • Integration
    Integrate the virtual device with the 3rd party device, for example by using Node-RED and the node-red-contrib-mystrom-switch node.

Virtual Device Setup (this module)

Solar Manager Configuration

Node-RED Integration

API

The following methods are available. All follow the exact API implementation as the official MyStrom Switch API. Expect the /power resource, this is used to set the current power consumption of the device.

| Method | Resource | Body | Response | | ------ | ---------------- | ----------------- | --------------- | | GET | /report | | Device state | | GET | /relay?state=1 | | | | GET | /relay?state=0 | | | | GET | /toggle | | The relay state | | POST | /power | { "power": 42 } | |

Constraint

This module is not associated with the Solar Manager AG. In case of problems with the integration between this module and Solar Manager, open a GitHub issue.

This software is provided "as is", without any guarantees on the function and operation of the Solar Manager device and account. You use it at your own risk. For more details, check the license terms.