| <?xml version="1.0" encoding="UTF-8" ?> |
| |
| <!-- |
| ~ Copyright (c) 2020 Kentyou. |
| ~ All rights reserved. This program and the accompanying materials |
| ~ are made available under the terms of the Eclipse Public License v1.0 |
| ~ which accompanies this distribution, and is available at |
| ~ http://www.eclipse.org/legal/epl-v10.html |
| ~ |
| ~ Contributors: |
| * Kentyou - initial API and implementation |
| --> |
| <resourceInfos xmlns="http://org.eclipse.sensinact/resource" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://org.eclipse.sensinact/resource ../../main/resources/sensinact-resource.xsd"> |
| <resourceInfo xsi:type="resourceInfoProperty" name="NAME" target="admin"> |
| <policy name="PROPERTY" update="INIT"/> |
| <identifier xsi:type="stringContent">name</identifier> |
| <attributes> |
| <attribute name="value" type="string" modifiable="UPDATABLE"/> |
| </attributes> |
| </resourceInfo> |
| <resourceInfo xsi:type="resourceInfoProperty" name="URL" target="webcam"> |
| <policy name="PROPERTY" update="INIT"/> |
| <identifier xsi:type="stringContent">url</identifier> |
| <attributes> |
| <attribute name="value" type="string" modifiable="UPDATABLE"/> |
| </attributes> |
| </resourceInfo> |
| <resourceInfo xsi:type="resourceInfoSensor" name="PRESSURE" target="weather"> |
| <identifier xsi:type="stringContent">atmospheric_pressure</identifier> |
| <attributes> |
| <attribute name="value" type="float" modifiable="UPDATABLE"> |
| <metadata> |
| <meta name="Unit" type="string" > |
| <value>Hectopascal</value> |
| </meta> |
| </metadata> |
| </attribute> |
| </attributes> |
| </resourceInfo> |
| <resourceInfo xsi:type="resourceInfoSensor" name="TEMPERATURE" target="weather"> |
| <identifier xsi:type="stringContent">temperature</identifier> |
| <attributes> |
| <attribute name="value" type="float" modifiable="UPDATABLE"> |
| <metadata> |
| <meta name="Unit" type="string" > |
| <value>Celsius</value> |
| </meta> |
| </metadata> |
| </attribute> |
| </attributes> |
| </resourceInfo> |
| <resourceInfo xsi:type="resourceInfoSensor" name="WIND-CHILL" target="weather"> |
| <identifier xsi:type="stringContent">wind_chill</identifier> |
| <attributes> |
| <attribute name="value" type="float" modifiable="UPDATABLE"> |
| <metadata> |
| <meta name="Unit" type="string" > |
| <value>Celsius</value> |
| </meta> |
| </metadata> |
| </attribute> |
| </attributes> |
| </resourceInfo> |
| <resourceInfo xsi:type="resourceInfoSensor" name="RAINFALL" target="weather"> |
| <identifier xsi:type="stringContent">rain</identifier> |
| <attributes> |
| <attribute name="value" type="float" modifiable="UPDATABLE"> |
| <metadata> |
| <meta name="Unit" type="string" > |
| <value>Millimeters</value> |
| </meta> |
| </metadata> |
| </attribute> |
| </attributes> |
| </resourceInfo> |
| <resourceInfo xsi:type="resourceInfoSensor" name="HUMIDITY" target="weather"> |
| <identifier xsi:type="stringContent">humidity</identifier> |
| <attributes> |
| <attribute name="value" type="int" modifiable="UPDATABLE"> |
| <metadata> |
| <meta name="Unit" type="string" > |
| <value>Percents</value> |
| </meta> |
| </metadata> |
| </attribute> |
| </attributes> |
| </resourceInfo> |
| <resourceInfo xsi:type="resourceInfoSensor" name="DEW-POINT" target="weather"> |
| <identifier xsi:type="stringContent">dew_point</identifier> |
| <attributes> |
| <attribute name="value" type="int" modifiable="UPDATABLE"> |
| <metadata> |
| <meta name="Unit" type="string" > |
| <value>Celsius</value> |
| </meta> |
| </metadata> |
| </attribute> |
| </attributes> |
| </resourceInfo> |
| <resourceInfo xsi:type="resourceInfoSensor" name="WIND-ORIENTATION" target="weather"> |
| <identifier xsi:type="stringContent">wind_dir_deg</identifier> |
| <attributes> |
| <attribute name="value" type="float" modifiable="UPDATABLE"> |
| <metadata> |
| <meta name="Unit" type="string" > |
| <value>Degrees</value> |
| </meta> |
| </metadata> |
| </attribute> |
| </attributes> |
| </resourceInfo> |
| <resourceInfo xsi:type="resourceInfoSensor" name="WIND-SPEED" target="weather"> |
| <identifier xsi:type="stringContent">wind_speed</identifier> |
| <attributes> |
| <attribute name="value" type="float" modifiable="UPDATABLE"> |
| <metadata> |
| <meta name="Unit" type="string" > |
| <value>Kilometers per hour</value> |
| </meta> |
| </metadata> |
| </attribute> |
| </attributes> |
| </resourceInfo> |
| <resourceInfo xsi:type="resourceInfoSensor" name="VALUE" target="hydrometers"> |
| <identifier xsi:type="stringContent">value</identifier> |
| <attributes> |
| <attribute name="value" type="int" modifiable="UPDATABLE"> |
| <metadata> |
| <meta name="Unit" type="string" > |
| <value>centimeters</value> |
| </meta> |
| <meta name="Description" type="string" > |
| <value>instantaneous measurement of hydrometric level</value> |
| </meta> |
| </metadata> |
| </attribute> |
| </attributes> |
| </resourceInfo> |
| <resourceInfo xsi:type="resourceInfoProperty" name="ALARM_NAME" target="hydrometers"> |
| <identifier xsi:type="stringContent">alarm_name</identifier> |
| <attributes> |
| <attribute name="value" type="string" modifiable="UPDATABLE"/> |
| </attributes> |
| </resourceInfo> |
| <resourceInfo xsi:type="resourceInfoProperty" name="ALARM_LIMIT" target="hydrometers"> |
| <identifier xsi:type="stringContent">alarm_limit</identifier> |
| <attributes> |
| <attribute name="value" type="string" modifiable="UPDATABLE"/> |
| </attributes> |
| </resourceInfo> |
| <resourceInfo xsi:type="resourceInfoProperty" name="ALARM_STATUS" target="hydrometers"> |
| <identifier xsi:type="stringContent">alarm_status</identifier> |
| <attributes> |
| <attribute name="value" type="boolean" modifiable="UPDATABLE"/> |
| </attributes> |
| </resourceInfo> |
| <devices> |
| <device identifier="weather_0"> |
| <service name="weather"/> |
| <service name="hydrometers"/> |
| </device> |
| </devices> |
| </resourceInfos> |