From 444ddc263cdd2b7ae2e2a436f43ae06276e99d6d Mon Sep 17 00:00:00 2001 From: Jed Lippold Date: Sun, 15 Jan 2017 09:46:36 -0500 Subject: [PATCH] Adds windows documentation to system monitor (#1778) --- .../_components/sensor.systemmonitor.markdown | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/source/_components/sensor.systemmonitor.markdown b/source/_components/sensor.systemmonitor.markdown index be8be3f0f42..1e52ffb93e8 100644 --- a/source/_components/sensor.systemmonitor.markdown +++ b/source/_components/sensor.systemmonitor.markdown @@ -58,3 +58,26 @@ The table contains types and their argument to use in your `configuration.yaml` | last_boot | | | since_last_boot | | + +**Windows Specific:** + +When running this component on windows, `eth0` is not valid a valid network name. Typically, the default interface would be called `Local Area Connection`, so your config might look like + +``` +sensor: + - platform: systemmonitor + resources: + - type: network_in + arg: 'Local Area Connection' +``` + +If you need to use some other interface, open a command prompt and type `ipconfig` to list all interface names. For example a wireless connection output from `ip_config` might look like + +``` +Wireless LAN adapter Wireless Network Connection: + + Media State . . . . . . . . . . . : Media disconnected + Connection-specific DNS Suffix . : +``` + +Where the name is `Wireless Network Connection`