Updated external content (Jenkins build 1842)

pull/2219/head
openHAB Build Server 2023-12-17 10:21:39 +00:00
parent 9d3589f2df
commit a0412ad92b
3 changed files with 96 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,50 @@
---
id: smgw
label: PPC SMGW
title: PPC SMGW - Bindings
type: binding
description: "The PPC SMGW binding adds support for PPC Smart Meter Gateways."
since: 3x
install: manual
---
<!-- Attention authors: Do not edit directly. Please add your changes to the appropriate source repository -->
{% include base.html %}
# PPC SMGW Binding
The PPC SMGW binding adds support for PPC Smart Meter Gateways.
The gateway is commonly installed by the network operator to allow remote access to a smart meter.
It also provides a HAN (home area network) interface for local access.
To use the HAN interface you need to connect it to your local network with an ethernet cable.
## Supported Things
- `smgw`: A smart meter gateway device.
## Thing Configuration
### `smgw` Thing Configuration
| Name | Type | Description | Default | Required | Advanced |
|------------|------|--------------------------------------|----------------|----------|----------|
| `hostname` | text | Hostname or IP address of the device | `192.168.1.200 | no | no |
| `username` | text | Username to access the device | N/A | yes | no |
| `password` | text | Password to access the device | N/A | yes | no |
The default value for the hostname matches the default value according to PPC's documentation.
Check with your network operator's documentation if DHCP has been enabled or a different fixed address has been set.
Username and password are typically supplied by the network operator.
Login with certificate is not supported.
## Channels
| Channel | Type | Read/Write | Description |
|-------------|---------------|------------|------------------------------------------------|
| `meter` | Number:Energy | R | The meter reading of the smart meter. |
| `timestamp` | DateTime | R | The date and time for which the meter reading. |
Channels are refreshed every 900s.

View File

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="smgw"
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">
<!-- Sample Thing Type -->
<thing-type id="smgw">
<label>Smartmeter Gateway</label>
<description>A Smartmeter Gateway</description>
<channels>
<channel id="meter" typeId="system.electric-energy">
<label>Meter Reading</label>
</channel>
<channel id="timestamp" typeId="timestamp">
</channel>
</channels>
<config-description>
<parameter name="hostname" type="text">
<context>network-address</context>
<label>Hostname</label>
<description>Hostname or IP address of the device</description>
<default>192.168.1.200</default>
</parameter>
<parameter name="username" type="text" required="true">
<label>Username</label>
</parameter>
<parameter name="password" type="text" required="true">
<context>password</context>
<label>Password</label>
</parameter>
</config-description>
</thing-type>
<channel-type id="timestamp">
<item-type>DateTime</item-type>
<label>Timestamp</label>
<description>The timestamp of the meter reading.</description>
<state readOnly="true"/>
</channel-type>
</thing:thing-descriptions>