Updated external content (Jenkins build 2470)

final
openHAB Build Server 2025-01-12 10:23:30 +00:00
parent 98ebdcfb5a
commit a592a07d1e
2 changed files with 30 additions and 0 deletions

View File

@ -71,6 +71,12 @@ Use the following options for a **network:pingdevice**:
- **timeout:** How long the ping will wait for an answer, in milliseconds. Default: `5000` (5 seconds).
- **refreshInterval:** How often the device will be checked, in milliseconds. Default: `60000` (one minute).
- **useIOSWakeUp:** When set to true, an additional port knock is performed before a ping. Default: `true`.
- **useArpPing:** When set to true if the presence detection is allowed to use arp ping.
This can speed up presence detection, but may lead to inaccurate ping latency measurements.
Switch off if you want to use this for ping latency monitoring. Default: `true`.
- **useIcmpPing:** When set to true if the presence detection is allowed to use icmp ping.
When also using arp ping, the latency measurements will not be comparable.
Switch off if you rather want to use arp ping latency monitoring. Default: `true`.
- **networkInterfaceNames:** The network interface names used for communicating with the device.
Limiting the network interfaces reduces the load when arping and Wake-on-LAN are used.
Use comma separated values when using textual config. Default: empty (all network interfaces).
@ -207,6 +213,7 @@ demo.things:
```java
Thing network:pingdevice:devicename [ hostname="192.168.0.42", macAddress="6f:70:65:6e:48:41", useIOSWakeUp="false" ]
Thing network:pingdevice:router [ hostname="192.168.0.1", useArpPing="false" ]
Thing network:speedtest:local "SpeedTest 50Mo" @ "Internet" [url="https://bouygues.testdebit.info/", fileName="50M.iso"]
```
@ -216,6 +223,8 @@ demo.items:
Switch MyDevice { channel="network:pingdevice:devicename:online" }
Number:Time MyDeviceResponseTime { channel="network:pingdevice:devicename:latency" }
Number:Time MyRouterResponseTime { channel="network:pingdevice:router:latency" }
String Speedtest_Running "Test running ... [%s]" {channel="network:speedtest:local:isRunning"}
Number:Dimensionless Speedtest_Progress "Test progress [%d %unit%]" {channel="network:speedtest:local:progress"}
Number:DataTransferRate Speedtest_ResultDown "Downlink [%.2f %unit%]" {channel="network:speedtest:local:rateDown"}
@ -235,6 +244,10 @@ sitemap demo label="Main Menu"
Text item=MyDeviceResponseTime label="Device Response Time [%s]"
}
Frame {
Text item=MyRouterResponseTime label="Router Response Time [%s]"
}
Frame label="SpeedTest" {
Text item=Speedtest_Start
Switch item=Speedtest_Running

View File

@ -70,6 +70,23 @@
<advanced>true</advanced>
</parameter>
<parameter name="useArpPing" type="boolean" required="true">
<label>Use ARP Ping</label>
<default>true</default>
<description>Set to true if the presence detection is allowed to use arp ping. This can speed up presence detection,
but may lead to inaccurate ping latency measurements. Switch off if you want to use this for ping latency
monitoring.</description>
<advanced>true</advanced>
</parameter>
<parameter name="useIcmpPing" type="boolean" required="true">
<label>Use ICMP Ping</label>
<default>true</default>
<description>Set to true if the presence detection is allowed to use icmp ping. If you are monitoring network
latency using arping, you should switch this off to prevent mixing results with arp ping results.</description>
<advanced>true</advanced>
</parameter>
</config-description>
</thing-type>