1.0.2 • Published 2 years ago

solar-manager-virtual-device v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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.

MethodResourceBodyResponse
GET/reportDevice state
GET/relay?state=1
GET/relay?state=0
GET/toggleThe 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.

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago