@mike.gofton/dsp-w215 1.0.4

Node-RED node to control a DLink DSP-W215 home smart plug

npm install @mike.gofton/dsp-w215

Controller for a D-Link DSP-W215 home smart plug

Configuration

  • The IP address of the smart plug can be identified from your wifi router.
  • The PIN code is located on the plug side of the DSP-W215 unit.

Inputs

msg.payload is assigned a string command to control the smart plug :

  • "on" turns the switch on, and returns the value "on" in msg.payload.switch.
  • "off" turns the switch off, and returns the value "off" in msg.payload.switch.
  • "status" returns the state of the switch, "on" or "off" in msg.payload.switch.
  • "power" returns the current power consumption in watts in msg.payload.power.
  • "temp" returns the temperature within the switch enclosure, assumed to be celsius, in msg.payload.temp.

Outputs

msg.payload returns the result of the input command, as a string value.
A command which is not recognised will return "invalid" in msg.payload.command.

Details

This node works with DSP-W215 firmware version v.114B04.
If the "power" and "temp" commands return "0", the smart plug is likely not using this version of firmware.
For further detail refer here.
The firmware is available here.

References

This node is a wrapper for dsp-w215-hnap.
The DSP-W215 is at end of life, and not supported by the mydlink app (2023 version).
The setup guide is available here.

Node Info

Version: 1.0.4
Updated 1 year, 9 months ago
License: MIT
Rating: not yet rated

Categories

Actions

Rate:

Downloads

3 in the last week

Nodes

  • DSP-W215

Keywords

  • node-red
  • dsp-w215

Maintainers