[Homewizard] Initial contribution (#9831)
Signed-off-by: Daniël van Os <daniel@supercell.nl>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<binding:binding id="homewizard" 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>HomeWizard Binding</name>
|
||||
<description>This binding provides access to the data provided by the HomeWizard Wi-Fi P1 meter on it's local HTTP
|
||||
interface.</description>
|
||||
|
||||
</binding:binding>
|
||||
@@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="homewizard"
|
||||
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="p1_wifi_meter">
|
||||
<label>HomeWizard Wi-Fi P1 Meter</label>
|
||||
<description>This thing provides the measurement data that is available through the http interface of the HomeWizard
|
||||
Wi-Fi P1 Meter.</description>
|
||||
|
||||
<channels>
|
||||
<channel id="total_energy_import_t1" typeId="total_energy_import_t1"/>
|
||||
<channel id="total_energy_import_t2" typeId="total_energy_import_t2"/>
|
||||
<channel id="total_energy_export_t1" typeId="total_energy_export_t1"/>
|
||||
<channel id="total_energy_export_t2" typeId="total_energy_export_t2"/>
|
||||
<channel id="active_power" typeId="active_power"/>
|
||||
<channel id="active_power_l1" typeId="active_power_l1"/>
|
||||
<channel id="active_power_l2" typeId="active_power_l2"/>
|
||||
<channel id="active_power_l3" typeId="active_power_l3"/>
|
||||
<channel id="total_gas" typeId="total_gas"/>
|
||||
<channel id="gas_timestamp" typeId="gas_timestamp"/>
|
||||
</channels>
|
||||
|
||||
<properties>
|
||||
<property name="meterModel">Unknown</property>
|
||||
</properties>
|
||||
|
||||
<config-description>
|
||||
<parameter name="ipAddress" type="text" required="true">
|
||||
<label>Network Address</label>
|
||||
<description>The IP or host name of the P1 Meter.</description>
|
||||
<context>network-address</context>
|
||||
</parameter>
|
||||
<parameter name="refreshDelay" type="integer" min="1" unit="s">
|
||||
<label>Refresh Interval</label>
|
||||
<description>The refresh interval in seconds for polling the P1 Meter.</description>
|
||||
<default>5</default>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
</thing-type>
|
||||
|
||||
<channel-type id="total_energy_import_t1">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>Total Imported Energy Counter 1</label>
|
||||
<description>This channel provides the most recently reported total imported energy in kWh by counter 1, most commonly
|
||||
used for import during the night or weekend.</description>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="total_energy_import_t2">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>Total Imported Energy Counter 2</label>
|
||||
<description>
|
||||
This channel provides the most recently reported total imported energy in kWh by counter 2, most commonly
|
||||
used for import during the day.
|
||||
</description>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="total_energy_export_t1">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>Total Exported Energy Counter 1</label>
|
||||
<description>
|
||||
This channel provides the most recently reported total exported energy in kWh by counter 1, most commonly
|
||||
used for export during the night or weekend.
|
||||
</description>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="total_energy_export_t2">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>Total Exported Energy Counter 2</label>
|
||||
<description>
|
||||
This channel provides the most recently reported total exported energy in kWh by counter 2, most commonly
|
||||
used for export during the day.
|
||||
</description>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="active_power">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Current Total Net Power</label>
|
||||
<description>
|
||||
This channel provides the current net total power in W. It will be below 0 if power is currently being
|
||||
exported.
|
||||
</description>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="active_power_l1">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Current Phase 1 Net Power</label>
|
||||
<description>
|
||||
This channel provides the current net phase 1 power in W. It will be below 0 if power is currently being
|
||||
exported.
|
||||
</description>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="active_power_l2">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Current Phase 2 Net Power</label>
|
||||
<description>
|
||||
This channel provides the current net phase 2 power in W. It will be below 0 if power is currently being
|
||||
exported. It will be 0 for single phase systems.
|
||||
</description>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="active_power_l3">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Current Phase 3 Net Power</label>
|
||||
<description>
|
||||
This channel provides the current net phase 3 power in W. It will be below 0 if power is currently being
|
||||
exported. It will be 0 for single phase systems.
|
||||
</description>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="total_gas">
|
||||
<item-type>Number:Volume</item-type>
|
||||
<label>Total Imported Gas</label>
|
||||
<description>
|
||||
This channel provides the most recently reported total imported gas in m^3. It does not get updated as
|
||||
frequently as the data in the other channels, the gas_timestamp channel provides the time stamp of the most recent
|
||||
update.
|
||||
</description>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="gas_timestamp">
|
||||
<item-type>DateTime</item-type>
|
||||
<label>Gas Update Time Stamp</label>
|
||||
<description>
|
||||
This channel provides the time stamp of the total_gas measurement.
|
||||
</description>
|
||||
</channel-type>
|
||||
|
||||
</thing:thing-descriptions>
|
||||
Reference in New Issue
Block a user