Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DLinkSmartHome] add DSP-W215 Smart Plug #8648

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 12 additions & 2 deletions bundles/org.openhab.binding.dlinksmarthome/README.md
Expand Up @@ -8,6 +8,8 @@ A binding for D-Link Smart Home devices.

The binding has been tested with hardware revisions A1 and A2 running firmware version 1.22.

### DSP-W215 (Wifi smart plug)

## Discovery

The binding can automatically discover devices that have already been added to the Wifi network. Please refer to your mydlink Home app for instructions on how to add your device to your Wifi network.
Expand All @@ -21,12 +23,12 @@ The binding does not require any special configuration.
It is recommended to let the binding discover and add devices.
Once added the configuration must be updated to specify the PIN code located on the back of the device.

### DCH-S150
### DCH-S150 and DSP-W215

- **ipAddress** - Hostname or IP of the device
- **pin** - PIN code from the back of the device

To manually configure a DCH-S150 Thing you must specify its IP address and PIN code.
To manually configure a Thing you must specify its IP address and PIN code.

In the Thing file, this looks like e.g.

Expand All @@ -40,6 +42,13 @@ In the Thing file, this looks like e.g.

- **motion** - Triggered when the sensor detects motion.

### DSP-W215

- **current_consumption** - the current power consumption.
- **total_consumption** - the total power consumption in the device lifetime.
- **temperature** - the device temperature.
- **state** - the device state (on/off)

## Example usage

### DCH-S150
Expand All @@ -52,3 +61,4 @@ In the Thing file, this looks like e.g.
println("Motion has been detected")
end
```

2 changes: 1 addition & 1 deletion bundles/org.openhab.binding.dlinksmarthome/pom.xml
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.openhab.addons.bundles</groupId>
<artifactId>org.openhab.addons.reactor.bundles</artifactId>
<version>3.0.0-SNAPSHOT</version>
<version>2.5.9-SNAPSHOT</version>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change intentional?

</parent>

<artifactId>org.openhab.binding.dlinksmarthome</artifactId>
Expand Down