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="iammeter" 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>Iammeter Binding</name>
|
||||
<description>The Iammeter binding pull your Iammeter power meter data from LAN.</description>
|
||||
<author>Yang Bo</author>
|
||||
|
||||
</binding:binding>
|
||||
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<config-description:config-descriptions
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:config-description="https://openhab.org/schemas/config-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0 https://openhab.org/schemas/config-description-1.0.0.xsd">
|
||||
|
||||
<config-description uri="thing-type:iammeter:powermeter">
|
||||
<parameter name="host" type="text" required="true">
|
||||
<label>Device's IP Address</label>
|
||||
<description>IP address for your device</description>
|
||||
<context>network-address</context>
|
||||
<default>127.0.0.1</default>
|
||||
</parameter>
|
||||
<parameter name="port" type="text" required="true" min="1" max="65535">
|
||||
<label>Device's Port</label>
|
||||
<description>Port</description>
|
||||
<default>80</default>
|
||||
</parameter>
|
||||
<parameter name="username" type="text" required="false">
|
||||
<label>User Name</label>
|
||||
<description>User name to access device</description>
|
||||
<default>admin</default>
|
||||
</parameter>
|
||||
<parameter name="password" type="text" required="false">
|
||||
<label>Password</label>
|
||||
<description>password to access device</description>
|
||||
<context>password</context>
|
||||
<default>admin</default>
|
||||
</parameter>
|
||||
<parameter name="refreshInterval" type="integer" required="false" unit="s">
|
||||
<label>Refresh interval in seconds</label>
|
||||
<default>60</default>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
</config-description:config-descriptions>
|
||||
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="iammeter"
|
||||
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="powermeter">
|
||||
<label>Iammeter Power Meter 3162/3080</label>
|
||||
<description>Single phase PowerMeter for Iammeter Binding</description>
|
||||
<channels>
|
||||
<channel id="voltage" typeId="voltage"/>
|
||||
<channel id="current" typeId="current"/>
|
||||
<channel id="power" typeId="power"/>
|
||||
<channel id="importenergy" typeId="importenergy"/>
|
||||
<channel id="exportgrid" typeId="exportgrid"/>
|
||||
</channels>
|
||||
<config-description-ref uri="thing-type:iammeter:powermeter"/>
|
||||
</thing-type>
|
||||
|
||||
<channel-type id="voltage">
|
||||
<item-type>Number:ElectricPotential</item-type>
|
||||
<label>Voltage</label>
|
||||
<description>voltage for phase A</description>
|
||||
<state pattern="%.2f %unit%" readOnly="true"></state>
|
||||
</channel-type>
|
||||
<channel-type id="current">
|
||||
<item-type>Number:ElectricCurrent</item-type>
|
||||
<label>Current</label>
|
||||
<description>current for phase A</description>
|
||||
<state pattern="%.2f %unit%" readOnly="true"></state>
|
||||
</channel-type>
|
||||
<channel-type id="power">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Power</label>
|
||||
<description>power for phase A</description>
|
||||
<state pattern="%.2f %unit%" readOnly="true"></state>
|
||||
</channel-type>
|
||||
<channel-type id="importenergy">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>ImportEnergy</label>
|
||||
<description>importenergy for phase A</description>
|
||||
<state pattern="%.2f %unit%" readOnly="true"></state>
|
||||
</channel-type>
|
||||
<channel-type id="exportgrid">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>Exportgrid</label>
|
||||
<description>exportgrid for phase A</description>
|
||||
<state pattern="%.2f %unit%" readOnly="true"></state>
|
||||
</channel-type>
|
||||
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="iammeter"
|
||||
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="powermeter3080T">
|
||||
<label>Iammeter Power Meter 3080T</label>
|
||||
<description>3 phases PowerMeter for Iammeter 3080T Binding</description>
|
||||
<channel-groups>
|
||||
<channel-group id="powerPhaseA" typeId="powerPhaseGroup">
|
||||
<label>Power Phase A</label>
|
||||
<description>Power phase 1 for Iammeter device</description>
|
||||
</channel-group>
|
||||
<channel-group id="powerPhaseB" typeId="powerPhaseGroup">
|
||||
<label>Power Phase B</label>
|
||||
<description>Power phase 2 for Iammeter device</description>
|
||||
</channel-group>
|
||||
<channel-group id="powerPhaseC" typeId="powerPhaseGroup">
|
||||
<label>Power Phase C</label>
|
||||
<description>Power phase 3 for Iammeter device</description>
|
||||
</channel-group>
|
||||
</channel-groups>
|
||||
<config-description-ref uri="thing-type:iammeter:powermeter"/>
|
||||
</thing-type>
|
||||
<channel-group-type id="powerPhaseGroup">
|
||||
<label>Power Phase</label>
|
||||
<channels>
|
||||
<channel id="voltage" typeId="voltage"/>
|
||||
<channel id="current" typeId="current"/>
|
||||
<channel id="power" typeId="power"/>
|
||||
<channel id="importenergy" typeId="importenergy"/>
|
||||
<channel id="exportgrid" typeId="exportgrid"/>
|
||||
<channel id="frequency" typeId="frequency"/>
|
||||
<channel id="pf" typeId="pf"/>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
<channel-type id="voltage">
|
||||
<item-type>Number:ElectricPotential</item-type>
|
||||
<label>Voltage</label>
|
||||
<description>voltage for phase A</description>
|
||||
<state pattern="%.2f %unit%" readOnly="true"></state>
|
||||
</channel-type>
|
||||
<channel-type id="current">
|
||||
<item-type>Number:ElectricCurrent</item-type>
|
||||
<label>Current</label>
|
||||
<description>current for phase A</description>
|
||||
<state pattern="%.2f %unit%" readOnly="true"></state>
|
||||
</channel-type>
|
||||
<channel-type id="power">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Power</label>
|
||||
<description>power for phase A</description>
|
||||
<state pattern="%.2f %unit%" readOnly="true"></state>
|
||||
</channel-type>
|
||||
<channel-type id="importenergy">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>ImportEnergy</label>
|
||||
<description>importenergy for phase A</description>
|
||||
<state pattern="%.2f %unit%" readOnly="true"></state>
|
||||
</channel-type>
|
||||
<channel-type id="exportgrid">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>Exportgrid</label>
|
||||
<description>exportgrid for phase A</description>
|
||||
<state pattern="%.2f %unit%" readOnly="true"></state>
|
||||
</channel-type>
|
||||
<channel-type id="frequency" advanced="true">
|
||||
<item-type>Number:Frequency</item-type>
|
||||
<label>Frequency</label>
|
||||
<description>frequency for phase A</description>
|
||||
<state pattern="%.2f %unit%" readOnly="true"></state>
|
||||
</channel-type>
|
||||
<channel-type id="pf" advanced="true">
|
||||
<item-type>Number</item-type>
|
||||
<label>Power Factor</label>
|
||||
<description>power factor for phase A</description>
|
||||
<state pattern="%.2f" readOnly="true"></state>
|
||||
</channel-type>
|
||||
|
||||
</thing:thing-descriptions>
|
||||
Reference in New Issue
Block a user