Skip to content
This repository has been archived by the owner on May 1, 2021. It is now read-only.

Commit

Permalink
Update to 2.5.10
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Skinner <[email protected]>
  • Loading branch information
Skinah committed Oct 10, 2020
1 parent e82c1ac commit efc6628
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 29 deletions.
15 changes: 9 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.openhab.addons.bundles</groupId>
<artifactId>org.openhab.addons.reactor.bundles</artifactId>
<version>2.5.4-SNAPSHOT</version>
<version>2.5.10-SNAPSHOT</version>
</parent>
<artifactId>org.openhab.binding.ambientweather1400ip</artifactId>
<name>openHAB Add-ons :: Bundles :: AmbientWeather1400IP Binding</name>
</project>
<artifactId>org.openhab.binding.ambientweather1400ip</artifactId>
<name>openHAB Add-ons :: Bundles :: AmbientWeather1400IP Binding</name>
</project>
10 changes: 5 additions & 5 deletions src/main/feature/feature.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<features name="org.openhab.binding.ambientweather1400ip-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.4.0">
<repository>mvn:org.openhab.core.features.karaf/org.openhab.core.features.karaf.openhab-core/${project.version}/xml/features</repository>
<repository>mvn:org.openhab.core.features.karaf/org.openhab.core.features.karaf.openhab-core/${project.version}/xml/features</repository>

<feature name="openhab-binding-ambientweather1400ip" description="ambientweather1400ip Binding" version="${project.version}">
<feature>openhab-runtime-base</feature>
<bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.binding.ambientweather1400ip/${project.version}</bundle>
</feature>
<feature name="openhab-binding-ambientweather1400ip" description="ambientweather1400ip Binding" version="${project.version}">
<feature>openhab-runtime-base</feature>
<bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.binding.ambientweather1400ip/${project.version}</bundle>
</feature>
</features>
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,4 @@ public class AmbientWeather1400IPBindingConstants {
public static final String CONFIG_HOSTNAME = "hostname";
public static final String CONFIG_SCANRATE = "scanrate";
public static final String CONFIG_AUTO_REBOOT = "autoReboot";

}
3 changes: 1 addition & 2 deletions src/main/resources/ESH-INF/binding/binding.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<binding:binding id="ambientweather1400ip"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<binding:binding id="ambientweather1400ip" 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">

Expand Down
32 changes: 17 additions & 15 deletions src/main/resources/ESH-INF/thing/thing-types.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="ambientweather1400ip" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<thing:thing-descriptions bindingId="ambientweather1400ip"
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">

Expand All @@ -18,7 +19,7 @@
<channel id="wind_speed" typeId="speed_chan_avg"/>
<channel id="wind_speed2" typeId="chan_wind_speed"/>
<channel id="wind_gust" typeId="speed_chan_gust"/>
<channel id="daily_gust" typeId="speed_chan_daily_gust"/>
<channel id="daily_gust" typeId="speed_chan_daily_gust"/>
<channel id="solar_radiation" typeId="radiation_chan"/>
<channel id="uv" typeId="uv_chan"/>
<channel id="uvi" typeId="uvi_chan"/>
Expand All @@ -31,7 +32,7 @@
<channel id="battery_in" typeId="battery_indoor"/>
<channel id="web_response" typeId="web_response"/>
<channel id="reboot" typeId="reboot"/>
<channel id="receiver_time" typeId="receiver_time"/>
<channel id="receiver_time" typeId="receiver_time"/>
</channels>

<config-description>
Expand All @@ -48,12 +49,13 @@
</parameter>
<parameter name="autoReboot" type="integer" required="true" min="0" max="20000">
<label>Auto Reboot</label>
<description>Time in milliseconds to wait for a reply before rebooting the IP Observer. A value of 0 disables this feature allowing you to manually trigger or use a rule to handle the reboots.</description>
<description>Time in milliseconds to wait for a reply before rebooting the IP Observer. A value of 0 disables this
feature allowing you to manually trigger or use a rule to handle the reboots.</description>
<default>2000</default>
</parameter>
</config-description>
</thing-type>

<channel-type id="web_response">
<item-type>Number</item-type>
<label>Web Response</label>
Expand Down Expand Up @@ -123,7 +125,7 @@
<category>Sun</category>
<state pattern="%.0f" readOnly="true"/>
</channel-type>
<channel-type id="uvi_chan">
<channel-type id="uvi_chan">
<item-type>Number</item-type>
<label>UV Index</label>
<description>UV Index</description>
Expand All @@ -138,12 +140,12 @@
<state pattern="%.1f" readOnly="true"/>
</channel-type>
<channel-type id="chan_wind_speed">
<item-type>Number</item-type>
<label>Wind Speed</label>
<description>Wind Speed</description>
<category>Wind</category>
<state pattern="%.1f" readOnly="true"/>
</channel-type>
<item-type>Number</item-type>
<label>Wind Speed</label>
<description>Wind Speed</description>
<category>Wind</category>
<state pattern="%.1f" readOnly="true"/>
</channel-type>
<channel-type id="speed_chan_gust">
<item-type>Number</item-type>
<label>Wind Gust</label>
Expand Down Expand Up @@ -206,17 +208,17 @@
<description>Indoor Battery Status</description>
<category>Battery</category>
<state readOnly="true"/>
</channel-type>
</channel-type>
<channel-type id="reboot">
<item-type>Switch</item-type>
<label>Reboot the IP Observer unit</label>
<description>If scraping fails to work you can trigger a reboot of the hardware either manually or via a rule.</description>
</channel-type>
<channel-type id="receiver_time">
<channel-type id="receiver_time">
<item-type>String</item-type>
<label>Receiver Time</label>
<description>Time of the last livedata scrape.</description>
<category>Time</category>
<state readOnly="true"/>
</channel-type>
</thing:thing-descriptions>
</thing:thing-descriptions>

0 comments on commit efc6628

Please sign in to comment.