added migrated 2.x add-ons
Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<binding:binding id="synopanalyzer" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:binding="https://openhab.org/schemas/binding/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/binding/v1.0.0 https://openhab.org/schemas/binding-1.0.0.xsd">
|
||||
|
||||
<name>Synop Analyzer Binding</name>
|
||||
<description>This is the binding to download and interpret Synop messages</description>
|
||||
<author>Gaël L'hopital</author>
|
||||
|
||||
</binding:binding>
|
||||
@@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="synopanalyzer"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
|
||||
<thing-type id="synopanalyzer">
|
||||
<label>Synop Message</label>
|
||||
<description>The Synop Analyzer binding decodes Synop messages</description>
|
||||
|
||||
<channels>
|
||||
<channel id="temperature" typeId="system.outdoor-temperature"/>
|
||||
<channel id="pressure" typeId="system.barometric-pressure"/>
|
||||
<channel id="wind-angle" typeId="system.wind-direction"/>
|
||||
<channel id="wind-direction" typeId="wind-direction"/>
|
||||
<channel id="wind-speed" typeId="system.wind-speed"/>
|
||||
<channel id="wind-speed-beaufort" typeId="wind-speed-beaufort"/>
|
||||
<channel id="overcast" typeId="overcast"/>
|
||||
<channel id="octa" typeId="octa"/>
|
||||
<channel id="attenuation-factor" typeId="attenuation-factor"/>
|
||||
<channel id="horizontal-visibility" typeId="horizontal-visibility"/>
|
||||
<channel id="time-utc" typeId="time-utc"/>
|
||||
</channels>
|
||||
|
||||
<config-description>
|
||||
<parameter name="refreshInterval" type="integer" required="true">
|
||||
<label>Refresh Interval</label>
|
||||
<description>The refresh interval to poll Synop messages (in minutes).</description>
|
||||
<default>60</default>
|
||||
<advanced>true</advanced>
|
||||
</parameter>
|
||||
<parameter name="stationId" type="integer">
|
||||
<label>Station Number</label>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
</thing-type>
|
||||
|
||||
<channel-type id="wind-speed-beaufort">
|
||||
<item-type>Number</item-type>
|
||||
<label>Beaufort</label>
|
||||
<description>Wind speed in Beaufort Scale</description>
|
||||
<category>Wind</category>
|
||||
<state readOnly="true" pattern="%d" min="0" max="12"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="wind-direction">
|
||||
<item-type>String</item-type>
|
||||
<label>Wind Direction</label>
|
||||
<description>Wind direction</description>
|
||||
<category>Wind</category>
|
||||
<state readOnly="true" pattern="%s">
|
||||
<options>
|
||||
<option value="N">N</option>
|
||||
<option value="NNE">NNE</option>
|
||||
<option value="NE">NE</option>
|
||||
<option value="ENE">ENE</option>
|
||||
<option value="E">E</option>
|
||||
<option value="ESE">ESE</option>
|
||||
<option value="SE">SE</option>
|
||||
<option value="SSE">SSE</option>
|
||||
<option value="S">S</option>
|
||||
<option value="SSW">SSW</option>
|
||||
<option value="SW">SW</option>
|
||||
<option value="WSW">WSW</option>
|
||||
<option value="W">W</option>
|
||||
<option value="WNW">WNW</option>
|
||||
<option value="NW">NW</option>
|
||||
<option value="NNW">NNW</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="octa">
|
||||
<item-type>Number</item-type>
|
||||
<label>Octa</label>
|
||||
<description>Octa</description>
|
||||
<state readOnly="true" pattern="%d/8" min="0" max="8"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="attenuation-factor">
|
||||
<item-type>Number</item-type>
|
||||
<label>Mitigation Factor</label>
|
||||
<description>Cloud layer mitigation factor</description>
|
||||
<state readOnly="true" pattern="%.1f" max="1" min="0"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="overcast" advanced="true">
|
||||
<item-type>String</item-type>
|
||||
<label>Overcast</label>
|
||||
<description>Overcast</description>
|
||||
<state readOnly="true" pattern="%s">
|
||||
<options>
|
||||
<option value="CLEAR_SKY">Clear sky</option>
|
||||
<option value="CLOUDY">Cloudy</option>
|
||||
<option value="SKY_NOT_VISIBLE">Sky is not visible</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="horizontal-visibility" advanced="true">
|
||||
<item-type>String</item-type>
|
||||
<label>Horizontal Visibility</label>
|
||||
<description>Horizontal visibility range</description>
|
||||
<state readOnly="true" pattern="%s">
|
||||
<options>
|
||||
<option value="LESS_THAN_1">Less than 1 km</option>
|
||||
<option value="LESS_THAN_10">1 to 10 km</option>
|
||||
<option value="LESS_THAN_50">10 to 50 km</option>
|
||||
<option value="MORE_THAN_50">More than 50 km</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="time-utc" advanced="true">
|
||||
<item-type>DateTime</item-type>
|
||||
<label>Observation Time</label>
|
||||
<description>Timestamp when data was observed</description>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
|
||||
</thing:thing-descriptions>
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user