Skip to content

Instantly share code, notes, and snippets.

@gamingrobot
Last active May 19, 2024 23:43
Show Gist options
  • Save gamingrobot/9f8a21c0bf29cde83eb34d826e5c2c8e to your computer and use it in GitHub Desktop.
Save gamingrobot/9f8a21c0bf29cde83eb34d826e5c2c8e to your computer and use it in GitHub Desktop.
Mutiscrape config for Home Assistant for Arris modem status page
muliscrape:
- name: Modem scraper
resource: http://192.168.100.1/cgi-bin/status_cgi
scan_interval: 300
sensor:
- unique_id: cable_modem_downstream_1_power
name: "Cable Modem Downstream 1 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(2) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_1_snr
name: "Cable Modem Downstream 1 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(2) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_1_corrected
name: "Cable Modem Downstream 1 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(2) > td:nth-child(8)"
- unique_id: cable_modem_downstream_1_uncorrectable
name: "Cable Modem Downstream 1 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(2) > td:nth-child(9)"
- unique_id: cable_modem_downstream_2_power
name: "Cable Modem Downstream 2 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(3) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_2_snr
name: "Cable Modem Downstream 2 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(3) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_2_corrected
name: "Cable Modem Downstream 2 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(3) > td:nth-child(8)"
- unique_id: cable_modem_downstream_2_uncorrectable
name: "Cable Modem Downstream 2 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(3) > td:nth-child(9)"
- unique_id: cable_modem_downstream_3_power
name: "Cable Modem Downstream 3 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(4) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_3_snr
name: "Cable Modem Downstream 3 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(4) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_3_corrected
name: "Cable Modem Downstream 3 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(4) > td:nth-child(8)"
- unique_id: cable_modem_downstream_3_uncorrectable
name: "Cable Modem Downstream 3 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(4) > td:nth-child(9)"
- unique_id: cable_modem_downstream_4_power
name: "Cable Modem Downstream 4 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(5) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_4_snr
name: "Cable Modem Downstream 4 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(5) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_4_corrected
name: "Cable Modem Downstream 4 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(5) > td:nth-child(8)"
- unique_id: cable_modem_downstream_4_uncorrectable
name: "Cable Modem Downstream 4 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(5) > td:nth-child(9)"
- unique_id: cable_modem_downstream_5_power
name: "Cable Modem Downstream 5 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(6) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_5_snr
name: "Cable Modem Downstream 5 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(6) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_5_corrected
name: "Cable Modem Downstream 5 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(6) > td:nth-child(8)"
- unique_id: cable_modem_downstream_5_uncorrectable
name: "Cable Modem Downstream 5 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(6) > td:nth-child(9)"
- unique_id: cable_modem_downstream_6_power
name: "Cable Modem Downstream 6 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(7) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_6_snr
name: "Cable Modem Downstream 6 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(7) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_6_corrected
name: "Cable Modem Downstream 6 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(7) > td:nth-child(8)"
- unique_id: cable_modem_downstream_6_uncorrectable
name: "Cable Modem Downstream 6 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(7) > td:nth-child(9)"
- unique_id: cable_modem_downstream_7_power
name: "Cable Modem Downstream 7 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(8) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_7_snr
name: "Cable Modem Downstream 7 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(8) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_7_corrected
name: "Cable Modem Downstream 7 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(8) > td:nth-child(8)"
- unique_id: cable_modem_downstream_7_uncorrectable
name: "Cable Modem Downstream 7 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(8) > td:nth-child(9)"
- unique_id: cable_modem_downstream_8_power
name: "Cable Modem Downstream 8 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(9) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_8_snr
name: "Cable Modem Downstream 8 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(9) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_8_corrected
name: "Cable Modem Downstream 8 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(9) > td:nth-child(8)"
- unique_id: cable_modem_downstream_8_uncorrectable
name: "Cable Modem Downstream 8 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(9) > td:nth-child(9)"
- unique_id: cable_modem_downstream_9_power
name: "Cable Modem Downstream 9 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(10) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_9_snr
name: "Cable Modem Downstream 9 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(10) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_9_corrected
name: "Cable Modem Downstream 9 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(10) > td:nth-child(8)"
- unique_id: cable_modem_downstream_9_uncorrectable
name: "Cable Modem Downstream 9 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(10) > td:nth-child(9)"
- unique_id: cable_modem_downstream_10_power
name: "Cable Modem Downstream 10 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(11) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_10_snr
name: "Cable Modem Downstream 10 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(11) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_10_corrected
name: "Cable Modem Downstream 10 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(11) > td:nth-child(8)"
- unique_id: cable_modem_downstream_10_uncorrectable
name: "Cable Modem Downstream 10 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(11) > td:nth-child(9)"
- unique_id: cable_modem_downstream_11_power
name: "Cable Modem Downstream 11 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(12) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_11_snr
name: "Cable Modem Downstream 11 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(12) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_11_corrected
name: "Cable Modem Downstream 11 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(12) > td:nth-child(8)"
- unique_id: cable_modem_downstream_11_uncorrectable
name: "Cable Modem Downstream 11 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(12) > td:nth-child(9)"
- unique_id: cable_modem_downstream_12_power
name: "Cable Modem Downstream 12 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(13) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_12_snr
name: "Cable Modem Downstream 12 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(13) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_12_corrected
name: "Cable Modem Downstream 12 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(13) > td:nth-child(8)"
- unique_id: cable_modem_downstream_12_uncorrectable
name: "Cable Modem Downstream 12 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(13) > td:nth-child(9)"
- unique_id: cable_modem_downstream_13_power
name: "Cable Modem Downstream 13 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(14) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_13_snr
name: "Cable Modem Downstream 13 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(14) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_13_corrected
name: "Cable Modem Downstream 13 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(14) > td:nth-child(8)"
- unique_id: cable_modem_downstream_13_uncorrectable
name: "Cable Modem Downstream 13 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(14) > td:nth-child(9)"
- unique_id: cable_modem_downstream_14_power
name: "Cable Modem Downstream 14 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(15) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_14_snr
name: "Cable Modem Downstream 14 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(15) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_14_corrected
name: "Cable Modem Downstream 14 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(15) > td:nth-child(8)"
- unique_id: cable_modem_downstream_14_uncorrectable
name: "Cable Modem Downstream 14 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(15) > td:nth-child(9)"
- unique_id: cable_modem_downstream_15_power
name: "Cable Modem Downstream 15 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(16) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_15_snr
name: "Cable Modem Downstream 15 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(16) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_15_corrected
name: "Cable Modem Downstream 15 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(16) > td:nth-child(8)"
- unique_id: cable_modem_downstream_15_uncorrectable
name: "Cable Modem Downstream 15 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(16) > td:nth-child(9)"
- unique_id: cable_modem_downstream_16_power
name: "Cable Modem Downstream 16 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(17) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_16_snr
name: "Cable Modem Downstream 16 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(17) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_16_corrected
name: "Cable Modem Downstream 16 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(17) > td:nth-child(8)"
- unique_id: cable_modem_downstream_16_uncorrectable
name: "Cable Modem Downstream 16 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(17) > td:nth-child(9)"
- unique_id: cable_modem_downstream_17_power
name: "Cable Modem Downstream 17 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(18) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_17_snr
name: "Cable Modem Downstream 17 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(18) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_17_corrected
name: "Cable Modem Downstream 17 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(18) > td:nth-child(8)"
- unique_id: cable_modem_downstream_17_uncorrectable
name: "Cable Modem Downstream 17 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(18) > td:nth-child(9)"
- unique_id: cable_modem_downstream_18_power
name: "Cable Modem Downstream 18 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(19) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_18_snr
name: "Cable Modem Downstream 18 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(19) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_18_corrected
name: "Cable Modem Downstream 18 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(19) > td:nth-child(8)"
- unique_id: cable_modem_downstream_18_uncorrectable
name: "Cable Modem Downstream 18 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(19) > td:nth-child(9)"
- unique_id: cable_modem_downstream_19_power
name: "Cable Modem Downstream 19 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(20) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_19_snr
name: "Cable Modem Downstream 19 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(20) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_19_corrected
name: "Cable Modem Downstream 19 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(20) > td:nth-child(8)"
- unique_id: cable_modem_downstream_19_uncorrectable
name: "Cable Modem Downstream 19 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(20) > td:nth-child(9)"
- unique_id: cable_modem_downstream_20_power
name: "Cable Modem Downstream 20 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(21) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_20_snr
name: "Cable Modem Downstream 20 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(21) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_20_corrected
name: "Cable Modem Downstream 20 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(21) > td:nth-child(8)"
- unique_id: cable_modem_downstream_20_uncorrectable
name: "Cable Modem Downstream 20 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(21) > td:nth-child(9)"
- unique_id: cable_modem_downstream_21_power
name: "Cable Modem Downstream 21 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(22) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_21_snr
name: "Cable Modem Downstream 21 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(22) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_21_corrected
name: "Cable Modem Downstream 21 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(22) > td:nth-child(8)"
- unique_id: cable_modem_downstream_21_uncorrectable
name: "Cable Modem Downstream 21 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(22) > td:nth-child(9)"
- unique_id: cable_modem_downstream_22_power
name: "Cable Modem Downstream 22 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(23) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_22_snr
name: "Cable Modem Downstream 22 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(23) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_22_corrected
name: "Cable Modem Downstream 22 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(23) > td:nth-child(8)"
- unique_id: cable_modem_downstream_22_uncorrectable
name: "Cable Modem Downstream 22 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(23) > td:nth-child(9)"
- unique_id: cable_modem_downstream_23_power
name: "Cable Modem Downstream 23 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(24) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_23_snr
name: "Cable Modem Downstream 23 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(24) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_23_corrected
name: "Cable Modem Downstream 23 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(24) > td:nth-child(8)"
- unique_id: cable_modem_downstream_23_uncorrectable
name: "Cable Modem Downstream 23 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(24) > td:nth-child(9)"
- unique_id: cable_modem_downstream_24_power
name: "Cable Modem Downstream 24 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(25) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_24_snr
name: "Cable Modem Downstream 24 SNR"
unit_of_measurement: 'dB'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(25) > td:nth-child(5)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: cable_modem_downstream_24_corrected
name: "Cable Modem Downstream 24 Corrected"
unit_of_measurement: 'Corrected Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(25) > td:nth-child(8)"
- unique_id: cable_modem_downstream_24_uncorrectable
name: "Cable Modem Downstream 24 Uncorrectable"
unit_of_measurement: 'Uncorrectable Errors'
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(25) > td:nth-child(9)"
- unique_id: "cable_modem_upstream_1_power"
name: "Cable Modem Upstream 1 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(7) > tbody:nth-child(1) > tr:nth-child(3) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: "cable_modem_upstream_2_power"
name: "Cable Modem Upstream 2 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(7) > tbody:nth-child(1) > tr:nth-child(4) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: "cable_modem_upstream_3_power"
name: "Cable Modem Upstream 3 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(7) > tbody:nth-child(1) > tr:nth-child(5) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
- unique_id: "cable_modem_upstream_4_power"
name: "Cable Modem Upstream 4 Power"
unit_of_measurement: 'dBmV'
select: ".main_body > table:nth-child(7) > tbody:nth-child(1) > tr:nth-child(6) > td:nth-child(4)"
value_template: '{{ (value.split(" ")[0]) }}'
sensor:
# Averages
- name: "Cable Modem Downstream Avg Power"
platform: min_max
type: mean
entity_ids:
- sensor.cable_modem_downstream_1_power
- sensor.cable_modem_downstream_2_power
- sensor.cable_modem_downstream_3_power
- sensor.cable_modem_downstream_4_power
- sensor.cable_modem_downstream_5_power
- sensor.cable_modem_downstream_6_power
- sensor.cable_modem_downstream_7_power
- sensor.cable_modem_downstream_8_power
- sensor.cable_modem_downstream_9_power
- sensor.cable_modem_downstream_10_power
- sensor.cable_modem_downstream_11_power
- sensor.cable_modem_downstream_12_power
- sensor.cable_modem_downstream_13_power
- sensor.cable_modem_downstream_14_power
- sensor.cable_modem_downstream_15_power
- sensor.cable_modem_downstream_16_power
- sensor.cable_modem_downstream_17_power
- sensor.cable_modem_downstream_18_power
- sensor.cable_modem_downstream_19_power
- sensor.cable_modem_downstream_20_power
- sensor.cable_modem_downstream_21_power
- sensor.cable_modem_downstream_22_power
- sensor.cable_modem_downstream_23_power
- sensor.cable_modem_downstream_24_power
- name: "Cable Modem Downstream Avg SNR"
platform: min_max
type: mean
entity_ids:
- sensor.cable_modem_downstream_1_snr
- sensor.cable_modem_downstream_2_snr
- sensor.cable_modem_downstream_3_snr
- sensor.cable_modem_downstream_4_snr
- sensor.cable_modem_downstream_5_snr
- sensor.cable_modem_downstream_6_snr
- sensor.cable_modem_downstream_7_snr
- sensor.cable_modem_downstream_8_snr
- sensor.cable_modem_downstream_9_snr
- sensor.cable_modem_downstream_10_snr
- sensor.cable_modem_downstream_11_snr
- sensor.cable_modem_downstream_12_snr
- sensor.cable_modem_downstream_13_snr
- sensor.cable_modem_downstream_14_snr
- sensor.cable_modem_downstream_15_snr
- sensor.cable_modem_downstream_16_snr
- sensor.cable_modem_downstream_17_snr
- sensor.cable_modem_downstream_18_snr
- sensor.cable_modem_downstream_19_snr
- sensor.cable_modem_downstream_20_snr
- sensor.cable_modem_downstream_21_snr
- sensor.cable_modem_downstream_22_snr
- sensor.cable_modem_downstream_23_snr
- sensor.cable_modem_downstream_24_snr
- name: "Cable Modem Downstream Avg Corrected"
platform: min_max
type: mean
entity_ids:
- sensor.cable_modem_downstream_1_corrected
- sensor.cable_modem_downstream_2_corrected
- sensor.cable_modem_downstream_3_corrected
- sensor.cable_modem_downstream_4_corrected
- sensor.cable_modem_downstream_5_corrected
- sensor.cable_modem_downstream_6_corrected
- sensor.cable_modem_downstream_7_corrected
- sensor.cable_modem_downstream_8_corrected
- sensor.cable_modem_downstream_9_corrected
- sensor.cable_modem_downstream_10_corrected
- sensor.cable_modem_downstream_11_corrected
- sensor.cable_modem_downstream_12_corrected
- sensor.cable_modem_downstream_13_corrected
- sensor.cable_modem_downstream_14_corrected
- sensor.cable_modem_downstream_15_corrected
- sensor.cable_modem_downstream_16_corrected
- sensor.cable_modem_downstream_17_corrected
- sensor.cable_modem_downstream_18_corrected
- sensor.cable_modem_downstream_19_corrected
- sensor.cable_modem_downstream_20_corrected
- sensor.cable_modem_downstream_21_corrected
- sensor.cable_modem_downstream_22_corrected
- sensor.cable_modem_downstream_23_corrected
- sensor.cable_modem_downstream_24_corrected
- name: "Cable Modem Downstream Avg Uncorrectable"
platform: min_max
type: mean
entity_ids:
- sensor.cable_modem_downstream_1_uncorrectable
- sensor.cable_modem_downstream_2_uncorrectable
- sensor.cable_modem_downstream_3_uncorrectable
- sensor.cable_modem_downstream_4_uncorrectable
- sensor.cable_modem_downstream_5_uncorrectable
- sensor.cable_modem_downstream_6_uncorrectable
- sensor.cable_modem_downstream_7_uncorrectable
- sensor.cable_modem_downstream_8_uncorrectable
- sensor.cable_modem_downstream_9_uncorrectable
- sensor.cable_modem_downstream_10_uncorrectable
- sensor.cable_modem_downstream_11_uncorrectable
- sensor.cable_modem_downstream_12_uncorrectable
- sensor.cable_modem_downstream_13_uncorrectable
- sensor.cable_modem_downstream_14_uncorrectable
- sensor.cable_modem_downstream_15_uncorrectable
- sensor.cable_modem_downstream_16_uncorrectable
- sensor.cable_modem_downstream_17_uncorrectable
- sensor.cable_modem_downstream_18_uncorrectable
- sensor.cable_modem_downstream_19_uncorrectable
- sensor.cable_modem_downstream_20_uncorrectable
- sensor.cable_modem_downstream_21_uncorrectable
- sensor.cable_modem_downstream_22_uncorrectable
- sensor.cable_modem_downstream_23_uncorrectable
- sensor.cable_modem_downstream_24_uncorrectable
# Minimums
- name: "Cable Modem Downstream Min Power"
platform: min_max
type: min
entity_ids:
- sensor.cable_modem_downstream_1_power
- sensor.cable_modem_downstream_2_power
- sensor.cable_modem_downstream_3_power
- sensor.cable_modem_downstream_4_power
- sensor.cable_modem_downstream_5_power
- sensor.cable_modem_downstream_6_power
- sensor.cable_modem_downstream_7_power
- sensor.cable_modem_downstream_8_power
- sensor.cable_modem_downstream_9_power
- sensor.cable_modem_downstream_10_power
- sensor.cable_modem_downstream_11_power
- sensor.cable_modem_downstream_12_power
- sensor.cable_modem_downstream_13_power
- sensor.cable_modem_downstream_14_power
- sensor.cable_modem_downstream_15_power
- sensor.cable_modem_downstream_16_power
- sensor.cable_modem_downstream_17_power
- sensor.cable_modem_downstream_18_power
- sensor.cable_modem_downstream_19_power
- sensor.cable_modem_downstream_20_power
- sensor.cable_modem_downstream_21_power
- sensor.cable_modem_downstream_22_power
- sensor.cable_modem_downstream_23_power
- sensor.cable_modem_downstream_24_power
- name: "Cable Modem Downstream Min SNR"
platform: min_max
type: min
entity_ids:
- sensor.cable_modem_downstream_1_snr
- sensor.cable_modem_downstream_2_snr
- sensor.cable_modem_downstream_3_snr
- sensor.cable_modem_downstream_4_snr
- sensor.cable_modem_downstream_5_snr
- sensor.cable_modem_downstream_6_snr
- sensor.cable_modem_downstream_7_snr
- sensor.cable_modem_downstream_8_snr
- sensor.cable_modem_downstream_9_snr
- sensor.cable_modem_downstream_10_snr
- sensor.cable_modem_downstream_11_snr
- sensor.cable_modem_downstream_12_snr
- sensor.cable_modem_downstream_13_snr
- sensor.cable_modem_downstream_14_snr
- sensor.cable_modem_downstream_15_snr
- sensor.cable_modem_downstream_16_snr
- sensor.cable_modem_downstream_17_snr
- sensor.cable_modem_downstream_18_snr
- sensor.cable_modem_downstream_19_snr
- sensor.cable_modem_downstream_20_snr
- sensor.cable_modem_downstream_21_snr
- sensor.cable_modem_downstream_22_snr
- sensor.cable_modem_downstream_23_snr
- sensor.cable_modem_downstream_24_snr
- name: "Cable Modem Downstream Min Corrected"
platform: min_max
type: min
entity_ids:
- sensor.cable_modem_downstream_1_corrected
- sensor.cable_modem_downstream_2_corrected
- sensor.cable_modem_downstream_3_corrected
- sensor.cable_modem_downstream_4_corrected
- sensor.cable_modem_downstream_5_corrected
- sensor.cable_modem_downstream_6_corrected
- sensor.cable_modem_downstream_7_corrected
- sensor.cable_modem_downstream_8_corrected
- sensor.cable_modem_downstream_9_corrected
- sensor.cable_modem_downstream_10_corrected
- sensor.cable_modem_downstream_11_corrected
- sensor.cable_modem_downstream_12_corrected
- sensor.cable_modem_downstream_13_corrected
- sensor.cable_modem_downstream_14_corrected
- sensor.cable_modem_downstream_15_corrected
- sensor.cable_modem_downstream_16_corrected
- sensor.cable_modem_downstream_17_corrected
- sensor.cable_modem_downstream_18_corrected
- sensor.cable_modem_downstream_19_corrected
- sensor.cable_modem_downstream_20_corrected
- sensor.cable_modem_downstream_21_corrected
- sensor.cable_modem_downstream_22_corrected
- sensor.cable_modem_downstream_23_corrected
- sensor.cable_modem_downstream_24_corrected
- name: "Cable Modem Downstream Min Uncorrectable"
platform: min_max
type: min
entity_ids:
- sensor.cable_modem_downstream_1_uncorrectable
- sensor.cable_modem_downstream_2_uncorrectable
- sensor.cable_modem_downstream_3_uncorrectable
- sensor.cable_modem_downstream_4_uncorrectable
- sensor.cable_modem_downstream_5_uncorrectable
- sensor.cable_modem_downstream_6_uncorrectable
- sensor.cable_modem_downstream_7_uncorrectable
- sensor.cable_modem_downstream_8_uncorrectable
- sensor.cable_modem_downstream_9_uncorrectable
- sensor.cable_modem_downstream_10_uncorrectable
- sensor.cable_modem_downstream_11_uncorrectable
- sensor.cable_modem_downstream_12_uncorrectable
- sensor.cable_modem_downstream_13_uncorrectable
- sensor.cable_modem_downstream_14_uncorrectable
- sensor.cable_modem_downstream_15_uncorrectable
- sensor.cable_modem_downstream_16_uncorrectable
- sensor.cable_modem_downstream_17_uncorrectable
- sensor.cable_modem_downstream_18_uncorrectable
- sensor.cable_modem_downstream_19_uncorrectable
- sensor.cable_modem_downstream_20_uncorrectable
- sensor.cable_modem_downstream_21_uncorrectable
- sensor.cable_modem_downstream_22_uncorrectable
- sensor.cable_modem_downstream_23_uncorrectable
- sensor.cable_modem_downstream_24_uncorrectable
# Maximums
- name: "Cable Modem Downstream Max Power"
platform: min_max
type: max
entity_ids:
- sensor.cable_modem_downstream_1_power
- sensor.cable_modem_downstream_2_power
- sensor.cable_modem_downstream_3_power
- sensor.cable_modem_downstream_4_power
- sensor.cable_modem_downstream_5_power
- sensor.cable_modem_downstream_6_power
- sensor.cable_modem_downstream_7_power
- sensor.cable_modem_downstream_8_power
- sensor.cable_modem_downstream_9_power
- sensor.cable_modem_downstream_10_power
- sensor.cable_modem_downstream_11_power
- sensor.cable_modem_downstream_12_power
- sensor.cable_modem_downstream_13_power
- sensor.cable_modem_downstream_14_power
- sensor.cable_modem_downstream_15_power
- sensor.cable_modem_downstream_16_power
- sensor.cable_modem_downstream_17_power
- sensor.cable_modem_downstream_18_power
- sensor.cable_modem_downstream_19_power
- sensor.cable_modem_downstream_20_power
- sensor.cable_modem_downstream_21_power
- sensor.cable_modem_downstream_22_power
- sensor.cable_modem_downstream_23_power
- sensor.cable_modem_downstream_24_power
- name: "Cable Modem Downstream Max SNR"
platform: min_max
type: max
entity_ids:
- sensor.cable_modem_downstream_1_snr
- sensor.cable_modem_downstream_2_snr
- sensor.cable_modem_downstream_3_snr
- sensor.cable_modem_downstream_4_snr
- sensor.cable_modem_downstream_5_snr
- sensor.cable_modem_downstream_6_snr
- sensor.cable_modem_downstream_7_snr
- sensor.cable_modem_downstream_8_snr
- sensor.cable_modem_downstream_9_snr
- sensor.cable_modem_downstream_10_snr
- sensor.cable_modem_downstream_11_snr
- sensor.cable_modem_downstream_12_snr
- sensor.cable_modem_downstream_13_snr
- sensor.cable_modem_downstream_14_snr
- sensor.cable_modem_downstream_15_snr
- sensor.cable_modem_downstream_16_snr
- sensor.cable_modem_downstream_17_snr
- sensor.cable_modem_downstream_18_snr
- sensor.cable_modem_downstream_19_snr
- sensor.cable_modem_downstream_20_snr
- sensor.cable_modem_downstream_21_snr
- sensor.cable_modem_downstream_22_snr
- sensor.cable_modem_downstream_23_snr
- sensor.cable_modem_downstream_24_snr
- name: "Cable Modem Downstream Max Corrected"
platform: min_max
type: max
entity_ids:
- sensor.cable_modem_downstream_1_corrected
- sensor.cable_modem_downstream_2_corrected
- sensor.cable_modem_downstream_3_corrected
- sensor.cable_modem_downstream_4_corrected
- sensor.cable_modem_downstream_5_corrected
- sensor.cable_modem_downstream_6_corrected
- sensor.cable_modem_downstream_7_corrected
- sensor.cable_modem_downstream_8_corrected
- sensor.cable_modem_downstream_9_corrected
- sensor.cable_modem_downstream_10_corrected
- sensor.cable_modem_downstream_11_corrected
- sensor.cable_modem_downstream_12_corrected
- sensor.cable_modem_downstream_13_corrected
- sensor.cable_modem_downstream_14_corrected
- sensor.cable_modem_downstream_15_corrected
- sensor.cable_modem_downstream_16_corrected
- sensor.cable_modem_downstream_17_corrected
- sensor.cable_modem_downstream_18_corrected
- sensor.cable_modem_downstream_19_corrected
- sensor.cable_modem_downstream_20_corrected
- sensor.cable_modem_downstream_21_corrected
- sensor.cable_modem_downstream_22_corrected
- sensor.cable_modem_downstream_23_corrected
- sensor.cable_modem_downstream_24_corrected
- name: "Cable Modem Downstream Max Uncorrectable"
platform: min_max
type: max
entity_ids:
- sensor.cable_modem_downstream_1_uncorrectable
- sensor.cable_modem_downstream_2_uncorrectable
- sensor.cable_modem_downstream_3_uncorrectable
- sensor.cable_modem_downstream_4_uncorrectable
- sensor.cable_modem_downstream_5_uncorrectable
- sensor.cable_modem_downstream_6_uncorrectable
- sensor.cable_modem_downstream_7_uncorrectable
- sensor.cable_modem_downstream_8_uncorrectable
- sensor.cable_modem_downstream_9_uncorrectable
- sensor.cable_modem_downstream_10_uncorrectable
- sensor.cable_modem_downstream_11_uncorrectable
- sensor.cable_modem_downstream_12_uncorrectable
- sensor.cable_modem_downstream_13_uncorrectable
- sensor.cable_modem_downstream_14_uncorrectable
- sensor.cable_modem_downstream_15_uncorrectable
- sensor.cable_modem_downstream_16_uncorrectable
- sensor.cable_modem_downstream_17_uncorrectable
- sensor.cable_modem_downstream_18_uncorrectable
- sensor.cable_modem_downstream_19_uncorrectable
- sensor.cable_modem_downstream_20_uncorrectable
- sensor.cable_modem_downstream_21_uncorrectable
- sensor.cable_modem_downstream_22_uncorrectable
- sensor.cable_modem_downstream_23_uncorrectable
- sensor.cable_modem_downstream_24_uncorrectable
# Averages
- name: "Cable Modem Upstream Avg Power"
platform: min_max
type: mean
entity_ids:
- sensor.cable_modem_upstream_1_power
- sensor.cable_modem_upstream_2_power
- sensor.cable_modem_upstream_3_power
- sensor.cable_modem_upstream_4_power
# Minimums
- name: "Cable Modem Upstream Min Power"
platform: min_max
type: min
entity_ids:
- sensor.cable_modem_upstream_1_power
- sensor.cable_modem_upstream_2_power
- sensor.cable_modem_upstream_3_power
- sensor.cable_modem_upstream_4_power
# Maximums
- name: "Cable Modem Upstream Max Power"
platform: min_max
type: max
entity_ids:
- sensor.cable_modem_upstream_1_power
- sensor.cable_modem_upstream_2_power
- sensor.cable_modem_upstream_3_power
- sensor.cable_modem_upstream_4_power
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment