forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dsmr] Added support for Belgium smartmeter
Signed-off-by: Hilbrand Bouwkamp <[email protected]>
- Loading branch information
Showing
16 changed files
with
382 additions
and
143 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...les/org.openhab.binding.dsmr/src/main/resources/ESH-INF/thing/meter_device_emucs_v1_0.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<thing:thing-descriptions bindingId="dsmr" | ||
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="device_v1_0" listed="false"> | ||
<supported-bridge-type-refs> | ||
<bridge-type-ref id="dsmrBridge" /> | ||
</supported-bridge-type-refs> | ||
|
||
<label>Device Meter (e-MUCS V1.0)</label> | ||
<description>This is the device meter that complies to the e-MUCS 1.0 specification.</description> | ||
|
||
<channels> | ||
<channel id="p1_text_string" typeId="p1TextStringType" /> | ||
<channel id="p1_emucs_version_output" typeId="p1VersionType" /> | ||
<channel id="p1_timestamp" typeId="p1TimestampType" /> | ||
</channels> | ||
<config-description-ref uri="thing-type:dsmr:meterdescriptor" /> | ||
</thing-type> | ||
</thing:thing-descriptions> |
35 changes: 35 additions & 0 deletions
35
...rg.openhab.binding.dsmr/src/main/resources/ESH-INF/thing/meter_electricity_emucs_v1_0.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<thing:thing-descriptions bindingId="dsmr" | ||
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="electricity_emucs_v1_0" listed="false"> | ||
<supported-bridge-type-refs> | ||
<bridge-type-ref id="dsmrBridge" /> | ||
</supported-bridge-type-refs> | ||
|
||
<label>Electricity Meter (e-MUCS V1.0)</label> | ||
<description>This is an electricity meter that complies to the e-MUCS V1.0 specification.</description> | ||
|
||
<channels> | ||
<channel id="emeter_equipment_identifier" typeId="equipmentIdType" /> | ||
<channel id="emeter_delivery_tariff1" typeId="deliveryTariff1BelgiumType" /> | ||
<channel id="emeter_delivery_tariff2" typeId="deliveryTariff2BelgiumType" /> | ||
<channel id="emeter_production_tariff1" typeId="productionTariff1BelgiumType" /> | ||
<channel id="emeter_production_tariff2" typeId="productionTariff2BelgiumType" /> | ||
<channel id="emeter_tariff_indicator" typeId="tariffIndicatorType" /> | ||
<channel id="emeter_actual_delivery" typeId="actualDeliveryType" /> | ||
<channel id="emeter_actual_production" typeId="actualProductionType" /> | ||
<channel id="emeter_switch_position" typeId="switchPositionType" /> | ||
<channel id="emeter_treshold_kw" typeId="actualTresholdkWType" /> | ||
<channel id="emeter_instant_current_l1" typeId="instantCurrentL1Type" /> | ||
<channel id="emeter_instant_current_l2" typeId="instantCurrentL2Type" /> | ||
<channel id="emeter_instant_current_l3" typeId="instantCurrentL3Type" /> | ||
<channel id="emeter_instant_voltage_l1" typeId="instantVoltageL1Type" /> | ||
<channel id="emeter_instant_voltage_l2" typeId="instantVoltageL2Type" /> | ||
<channel id="emeter_instant_voltage_l3" typeId="instantVoltageL3Type" /> | ||
</channels> | ||
<config-description-ref uri="thing-type:dsmr:meterdescriptor" /> | ||
</thing-type> | ||
</thing:thing-descriptions> |
Oops, something went wrong.