[myStrom] Added Motionsensor and API Token (#13201)
* Added API Token to configuration. * Added motionsensor to myStrom binding. * Added SPDX Header. * fix: removed unnecessary updateStatus(). Signed-off-by: Stefan Navratil <stefan@navratil.ch>
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
# myStrom Binding
|
||||
|
||||
This extension adds support for the myStrom devices. Currently only the smart plug is implemented.
|
||||
This extension adds support for the myStrom devices.
|
||||
As of today only the Smart Plug, Bulb and the Motionsensor are implemented.
|
||||
|
||||
## Supported Things
|
||||
|
||||
This bundle adds the following thing types:
|
||||
|
||||
| Thing | ThingTypeID | Description |
|
||||
| ------------------ | ----------- | -------------------------------------------------- |
|
||||
| myStrom Smart Plug | mystromplug | A myStrom smart plug |
|
||||
| myStrom Bulb | mystrombulb | A myStrom bulb |
|
||||
| Thing | ThingTypeID | Description |
|
||||
| ----------------------| ----------- | -------------------------------------------------- |
|
||||
| myStrom Smart Plug | mystromplug | A myStrom smart plug |
|
||||
| myStrom Bulb | mystrombulb | A myStrom bulb |
|
||||
| myStrom Motion Sensor | mystrompir | A myStrom bulb |
|
||||
|
||||
According to the myStrom API documentation all request specific to the myStrom Bulb are also work on the LED strip.
|
||||
|
||||
@@ -26,6 +28,7 @@ The following parameters are valid for all thing types:
|
||||
| --------- | ------- | -------- | ------------------ | -------------------------------------------------------------------------- |
|
||||
| hostname | string | yes | localhost | The IP address or hostname of the myStrom smart plug |
|
||||
| refresh | integer | no | 10 | Poll interval in seconds. Increase this if you encounter connection errors |
|
||||
| apiToken | string | no | | Specifies the API Token, if required. |
|
||||
|
||||
## Properties
|
||||
|
||||
@@ -52,12 +55,14 @@ Disabling/enabling the thing can be used to update the properties.
|
||||
| ---------------- | -------------------- | --------- | --------------------------------------------------------------------- |-------------------------------------|
|
||||
| switch | Switch | false | Turn the device on or off | mystromplug, mystrombulb |
|
||||
| power | Number:Power | true | The currently delivered power | mystromplug, mystrombulb |
|
||||
| temperature | Number:Temperature | true | The temperature at the plug | mystromplug |
|
||||
| temperature | Number:Temperature | true | The temperature at the plug | mystromplug, mystrompir |
|
||||
| color | Color | false | The color we set the bulb to (mode 'hsv') | mystrombulb |
|
||||
| colorTemperature | Dimmer | false | The color temperature of the bulb in mode 'mono' (percentage) | mystrombulb |
|
||||
| brightness | Dimmer | false | The brightness of the bulb in mode 'mono' | mystrombulb |
|
||||
| ramp | Number:Time | false | Transition time from the light’s current state to the new state. [ms] | mystrombulb |
|
||||
| mode | String | false | The color mode we want the Bulb to set to (rgb, hsv or mono) | mystrombulb |
|
||||
| light | Dimmer | true | The brightness of the Room. | mystrompir |
|
||||
| motion | Switch | true | Motionstatus of the sensor | mystrompir |
|
||||
|
||||
## Full Example
|
||||
|
||||
|
||||
Reference in New Issue
Block a user