Updated external content (Jenkins build 1629)
parent
747001ec23
commit
9f40609fa8
|
@ -52,6 +52,7 @@ There are three required fields to connect successfully to a ShieldTV.
|
|||
| ipAddress | text | IP address of the device | N/A | yes | no |
|
||||
| keystore | text | Location of the Java Keystore | N/A | no | no |
|
||||
| keystorePassword | text | Password of the Java Keystore | N/A | no | no |
|
||||
| gtvEnabled | boolean | Enable/Disable the GoogleTV protocol | true | no | no |
|
||||
|
||||
```java
|
||||
Thing androidtv:shieldtv:livingroom [ ipAddress="192.168.1.2" ]
|
||||
|
|
|
@ -65,18 +65,19 @@ Disabling/enabling the thing can be used to update the properties.
|
|||
|
||||
## Channels
|
||||
|
||||
| Channel ID | Item Type | Read only | Description | Thing types supporting this channel |
|
||||
| ---------------- | -------------------- | --------- | --------------------------------------------------------------------- |-------------------------------------|
|
||||
| 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, 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 |
|
||||
| Channel ID | Item Type | Read only | Description | Thing types supporting this channel |
|
||||
|---------------------------------|--------------------|-----------|---------------------------------------------------------------------------------------------------|------------------------------------|
|
||||
| switch | Switch | false | Turn the device on or off | mystromplug, mystrombulb |
|
||||
| power | Number:Power | true | The currently delivered power | mystromplug, mystrombulb |
|
||||
| energy-consumed-since-last-call | Number:Energy | true | The watt seconds / Energy consumed since last call. Useful for accurate data logging and analysis | 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
|
||||
|
||||
|
@ -89,12 +90,13 @@ Thing mystrom:mystromplug:d6217a31 "Plug" [hostname="hostname|ip"]
|
|||
### Item Configuration
|
||||
|
||||
```java
|
||||
Switch PlugSwitch "Plug" {channel="mystrom:mystromplug:d6217a31:switch"}
|
||||
Number:Temperature PlugTemperature "Temperature: [%.1f °C]" {channel="mystrom:mystromplug:d6217a31:temperature"}
|
||||
Number:Power PlugPower "Power: [%.1f W]" {channel="mystrom:mystromplug:d6217a31:power"}
|
||||
|
||||
Switch PlugSwitch "Plug" {channel="mystrom:mystromplug:d6217a31:switch"}
|
||||
Number:Temperature PlugTemperature "Temperature: [%.1f °C]" {channel="mystrom:mystromplug:d6217a31:temperature"}
|
||||
Number:Power PlugPower "Power: [%.1f W]" {channel="mystrom:mystromplug:d6217a31:power"}
|
||||
Number:Energy PlugEnergyConsumedSinceLastCall "Ws: [%.1f Ws]" {channel="mystrom:mystromplug:d6217a31:energy-consumed-since-last-call"}
|
||||
```
|
||||
|
||||
|
||||
### Sitemap Configuration
|
||||
|
||||
```perl
|
||||
|
|
|
@ -71,6 +71,11 @@
|
|||
<description>Delay between messages</description>
|
||||
<default>0</default>
|
||||
</parameter>
|
||||
<parameter name="gtvEnabled" type="boolean">
|
||||
<label>Enable GoogleTV</label>
|
||||
<description>Enable the GoogleTV Protocol</description>
|
||||
<default>true</default>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
</thing-type>
|
||||
|
@ -137,6 +142,11 @@
|
|||
<description>Delay between messages</description>
|
||||
<default>0</default>
|
||||
</parameter>
|
||||
<parameter name="gtvEnabled" type="boolean">
|
||||
<label>Enable GoogleTV</label>
|
||||
<description>Enable the GoogleTV Protocol</description>
|
||||
<default>true</default>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
</thing-type>
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
<channels>
|
||||
<channel id="switch" typeId="system.power"/>
|
||||
<channel id="power" typeId="power-channel"/>
|
||||
<channel id="energy-consumed-since-last-call" typeId="energy-consumed-since-last-call-channel"/>
|
||||
<channel id="temperature" typeId="temperature-channel"/>
|
||||
</channels>
|
||||
|
||||
|
@ -25,6 +26,7 @@
|
|||
<property name="dns"/>
|
||||
<property name="static"/>
|
||||
<property name="connected"/>
|
||||
<property name="thingTypeVersion">1</property>
|
||||
</properties>
|
||||
|
||||
<representation-property>mac</representation-property>
|
||||
|
@ -157,6 +159,14 @@
|
|||
<state pattern="%.3f %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="energy-consumed-since-last-call-channel">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>Energy Consumption</label>
|
||||
<description>Energy consumed since last API call</description>
|
||||
<state pattern="%.2f %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
|
||||
|
||||
<channel-type id="temperature-channel">
|
||||
<item-type>Number:Temperature</item-type>
|
||||
<label>Temperature</label>
|
||||
|
|
Loading…
Reference in New Issue