]> git.basschouten.com Git - openhab-addons.git/blob
aee394e4bbe081df2ed8f65c02282004252a6efe
[openhab-addons.git] /
1 <?xml version="1.0" encoding="UTF-8"?>
2 <thing:thing-descriptions bindingId="wundergroundupdatereceiver"
3         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4         xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
5         xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
6
7         <thing-type id="wundergroundUpdateReceiver">
8                 <label>Update Receiver</label>
9                 <description>An endpoint thing that can receive and propagate HTTP GET updates meant for a particular station id at
10                         wunderground.com</description>
11
12                 <channel-groups>
13                         <channel-group id="metadata" typeId="metadata-group"/>
14                         <channel-group id="wind" typeId="wind-group"/>
15                         <channel-group id="temperature" typeId="temperature-group"/>
16                         <channel-group id="humidity" typeId="humidity-group"/>
17                         <channel-group id="rain" typeId="rain-group"/>
18                         <channel-group id="sunlight" typeId="sunlight-group"/>
19                         <channel-group id="pressure" typeId="pressure-group"/>
20                         <channel-group id="pollution" typeId="pollution-group"/>
21                 </channel-groups>
22
23                 <representation-property>stationId</representation-property>
24                 <config-description>
25                         <parameter name="stationId" type="text" required="true" pattern="\w+">
26                                 <label>Station ID</label>
27                                 <description><![CDATA[<br />
28                                         The wunderground.com update api requires a station id, that is defined for the WeatherUnderground
29                                         account measurements are to be submitted to.<br />
30                                         <br />
31                                         In this binding it is used to identify a unique thing, so each weather-station or
32                                         other apparatus submitting measurements can have a separate id, but if you don't intend to forward
33                                         the observations to wunderground.com, this value can be any non-blank string.
34                                 ]]>
35                                 </description>
36                         </parameter>
37                 </config-description>
38
39         </thing-type>
40
41 </thing:thing-descriptions>