Skip to content

Commit

Permalink
[systeminfo] README: spell unlinked channels do not get updates (open…
Browse files Browse the repository at this point in the history
…hab#15035)

typos: insert space after comma

cf. openhab#15007

Co-authored-by: Дилян Палаузов <dpa-git@aegee.org>
  • Loading branch information
dilyanpalauzov and Дилян Палаузов authored Jun 5, 2023
1 parent 93b888a commit 8d0c9f2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion bundles/org.openhab.binding.systeminfo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The system information binding provides operating system and hardware informatio
- Battery information - estimated remaining time, capacity, name;
- Sensors information - CPU voltage and temperature, fan speeds;
- Display information;
- Network IP,name and adapter name, mac, data sent and received, packets sent and received;
- Network IP, name and adapter name, mac, data sent and received, packets sent and received;
- Process information - size of RAM memory used, CPU load, process name, path, number of threads.

The binding uses the [OSHI](https://github.com/oshi/oshi) library to access this information regardless of the underlying OS and hardware.
Expand Down Expand Up @@ -51,6 +51,8 @@ That means that by default configuration:
- channels with priority set to 'Medium' are updated every minute
- channels with priority set to 'Low' are updated only at initialization or if the `REFRESH` command is sent to the channel.

Channels, not linked to an item, do not get updates, and do not periodically consume resources.

For more info see [channel configuration](#channel-configuration)

## Channels
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public interface SysteminfoInterface {

// Operating system info
/**
* Get the Family of the operating system /e.g. Windows,Unix,.../
* Get the Family of the operating system /e.g. Windows, Unix,.../
*/
StringType getOsFamily();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ channel-type.systeminfo.ip.description = Host IP address of the network
channel-type.systeminfo.load.label = Load
channel-type.systeminfo.load.description = Load in percent
channel-type.systeminfo.loadAverage.label = Load Average
channel-type.systeminfo.loadAverage.description = Load as a number of processes for the last 1,5 or 15 minutes
channel-type.systeminfo.loadAverage.description = Load as a number of processes for the last 1, 5 or 15 minutes
channel-type.systeminfo.load_process.label = Load
channel-type.systeminfo.load_process.description = Load in percent
channel-type.systeminfo.mac.label = Mac Address
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@
<channel-type id="loadAverage" advanced="true">
<item-type>Number</item-type>
<label>Load Average</label>
<description>Load as a number of processes for the last 1,5 or 15 minutes</description>
<description>Load as a number of processes for the last 1, 5 or 15 minutes</description>
<state readOnly="true" pattern="%.1f"/>
<config-description-ref uri="channel-type:systeminfo:mediumpriority"/>
</channel-type>
Expand Down

0 comments on commit 8d0c9f2

Please sign in to comment.