various tidyups
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
# - Calculates memory usage from total, free, buffer, and cache values.
|
||||
#
|
||||
# Polling:
|
||||
# - Traffic counters: Every 10 seconds.
|
||||
# - Traffic counters: Every 60 seconds.
|
||||
# - Uptime, CPU, load, and memory: Every 60 seconds.
|
||||
# - Firmware description: Every 300 seconds.
|
||||
#
|
||||
@@ -58,7 +58,7 @@ sensor:
|
||||
device_class: data_size
|
||||
state_class: total_increasing
|
||||
unit_of_measurement: "B"
|
||||
scan_interval: 10
|
||||
scan_interval: 60
|
||||
|
||||
# ifHCOutOctets counts bytes transmitted from the router to the Internet.
|
||||
- platform: snmp
|
||||
@@ -72,7 +72,7 @@ sensor:
|
||||
device_class: data_size
|
||||
state_class: total_increasing
|
||||
unit_of_measurement: "B"
|
||||
scan_interval: 10
|
||||
scan_interval: 60
|
||||
|
||||
# Convert the cumulative received-byte counter into the WAN download rate.
|
||||
- platform: derivative
|
||||
@@ -109,7 +109,7 @@ sensor:
|
||||
device_class: data_size
|
||||
state_class: total_increasing
|
||||
unit_of_measurement: "B"
|
||||
scan_interval: 10
|
||||
scan_interval: 60
|
||||
|
||||
# Bytes transmitted by the router to Home LAN clients become the LAN download rate.
|
||||
- platform: snmp
|
||||
@@ -123,7 +123,7 @@ sensor:
|
||||
device_class: data_size
|
||||
state_class: total_increasing
|
||||
unit_of_measurement: "B"
|
||||
scan_interval: 10
|
||||
scan_interval: 60
|
||||
|
||||
# Derive the client-to-router upload rate from the received-byte counter.
|
||||
- platform: derivative
|
||||
@@ -160,7 +160,7 @@ sensor:
|
||||
device_class: data_size
|
||||
state_class: total_increasing
|
||||
unit_of_measurement: "B"
|
||||
scan_interval: 10
|
||||
scan_interval: 60
|
||||
|
||||
# Bytes transmitted by the router to the wireless network become its download rate.
|
||||
- platform: snmp
|
||||
@@ -174,7 +174,7 @@ sensor:
|
||||
device_class: data_size
|
||||
state_class: total_increasing
|
||||
unit_of_measurement: "B"
|
||||
scan_interval: 10
|
||||
scan_interval: 60
|
||||
|
||||
# Derive the wireless-to-router upload rate from the received-byte counter.
|
||||
- platform: derivative
|
||||
@@ -211,7 +211,7 @@ sensor:
|
||||
device_class: data_size
|
||||
state_class: total_increasing
|
||||
unit_of_measurement: "B"
|
||||
scan_interval: 10
|
||||
scan_interval: 60
|
||||
|
||||
# Bytes transmitted by the router to Home Automation become its download rate.
|
||||
- platform: snmp
|
||||
@@ -225,7 +225,7 @@ sensor:
|
||||
device_class: data_size
|
||||
state_class: total_increasing
|
||||
unit_of_measurement: "B"
|
||||
scan_interval: 10
|
||||
scan_interval: 60
|
||||
|
||||
# Derive the Home Automation upload rate from the received-byte counter.
|
||||
- platform: derivative
|
||||
@@ -262,7 +262,7 @@ sensor:
|
||||
device_class: data_size
|
||||
state_class: total_increasing
|
||||
unit_of_measurement: "B"
|
||||
scan_interval: 10
|
||||
scan_interval: 60
|
||||
|
||||
# Bytes transmitted by the router to this network become its download rate.
|
||||
- platform: snmp
|
||||
@@ -276,7 +276,7 @@ sensor:
|
||||
device_class: data_size
|
||||
state_class: total_increasing
|
||||
unit_of_measurement: "B"
|
||||
scan_interval: 10
|
||||
scan_interval: 60
|
||||
|
||||
# Derive the secondary Home Automation upload rate from received bytes.
|
||||
- platform: derivative
|
||||
|
||||
Reference in New Issue
Block a user