From 1fdc878f3a396d3e2caf064cc883d682adce4efe Mon Sep 17 00:00:00 2001 From: J-N-K Date: Sat, 5 Dec 2020 06:44:00 +0100 Subject: [PATCH] [tr064] Add support for PPP connections (#9222) * add PPP external IP * fix connection status * fix PPP uptime Signed-off-by: Jan N. Klug --- bundles/org.openhab.binding.tr064/README.md | 3 +++ .../src/main/resources/channels.xml | 20 +++++++++++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/bundles/org.openhab.binding.tr064/README.md b/bundles/org.openhab.binding.tr064/README.md index d49730bead3e5..30f762c6a7ec8 100644 --- a/bundles/org.openhab.binding.tr064/README.md +++ b/bundles/org.openhab.binding.tr064/README.md @@ -96,9 +96,12 @@ This is an optional parameter and multiple values are allowed. | `tamEnable` | `Switch` | | Enable/Disable the answering machine with the given index. | | `tamNewMessages` | `Number` | | The number of new messages of the given answering machine. | | `uptime` | `Number:Time` | | Uptime | +| `pppUptime` | `Number:Time` | | Uptime (if using PPP) | | `wanAccessType` | `String` | x | Access Type | | `wanConnectionStatus` | `String` | | Connection Status | +| `wanPppConnectionStatus` | `String` | | Connection Status (if using PPP) | | `wanIpAddress` | `String` | x | WAN IP Address | +| `wanPppIpAddress` | `String` | x | WAN IP Address (if using PPP) | | `wanMaxDownstreamRate` | `Number:DataTransferRate` | x | Max. Downstream Rate | | `wanMaxUpstreamRate` | `Number:DataTransferRate` | x | Max. Upstream Rate | | `wanPhysicalLinkStatus` | `String` | x | Link Status | diff --git a/bundles/org.openhab.binding.tr064/src/main/resources/channels.xml b/bundles/org.openhab.binding.tr064/src/main/resources/channels.xml index dfa3a7ca1d687..91e0a824fa690 100644 --- a/bundles/org.openhab.binding.tr064/src/main/resources/channels.xml +++ b/bundles/org.openhab.binding.tr064/src/main/resources/channels.xml @@ -244,18 +244,34 @@ serviceId="urn:WANIPConnection-com:serviceId:WANIPConnection1"/> + + + + + + + + + + - - + + + + +