I have added a lot of entries to my config.yaml.
It seems like there is a limit… the sensors do not update. If I remove some switches, then the sensors will update again…
Is there a limit to the number of entries?
How can I use an include file so all of this is in a separate yaml file, so things are cleaner?
Other thoughts?
device_tracker:
- platform: snmp
host: xxxx
community: xxxxx
baseoid: 1.3.6.1.4.1.850
sensor:
- platform: snmp
name: PDU 1 Power
host: xxxx
community: xxxx
version: 2c
baseoid: 1.3.6.1.4.1.850.1.1.3.2.2.1.1.9.1
accept_errors: true
unit_of_measurement: W - platform: snmp
name: PDU 2 Power
host: xxxx
community: xxxx
version: 2c
baseoid: 1.3.6.1.4.1.850.1.1.3.2.2.1.1.9.1
accept_errors: true
unit_of_measurement: W - platform: snmp
name: PDU 3 Power
host: xxxx
community: xxxx
version: 2c
baseoid: 1.3.6.1.4.1.850.1.1.3.2.2.1.1.9.1
accept_errors: true
unit_of_measurement: W
switch:
-
platform: snmp
name: PDU 01 Outlet 1 - iPollo Grin Miners
host: xxxx
version: 2c
community: xxxx
baseoid: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.6.1.1
payload_on: 2
payload_off: 1
command_payload_off: 1
command_payload_on: 2 -
platform: snmp
name: PDU 01 Outlet 2 - Ipollo V1 Miners
host: xxxx
version: 2c
community: xxxx
baseoid: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.6.1.2
payload_on: 2
payload_off: 1
command_payload_off: 1
command_payload_on: 2 -
platform: snmp
name: PDU 01 Outlet 9 - Groldshell Box II Miners
host: xxxx
version: 2c
community: xxxx
baseoid: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.6.1.9
payload_on: 2
payload_off: 1
command_payload_off: 1
command_payload_on: 2 -
platform: snmp
name: PDU 01 Outlet 10 - Ipollo X1 Miners
host: xxxx
version: 2c
community: xxxx
baseoid: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.6.1.10
payload_on: 2
payload_off: 1
command_payload_off: 1
command_payload_on: 2 -
platform: snmp
name: PDU 01 Outlet 11 - Jasminer X16Q Miner
host: xxxx
version: 2c
community: xxxx
baseoid: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.6.1.11
payload_on: 2
payload_off: 1
command_payload_off: 1
command_payload_on: 2 -
platform: snmp
name: PDU 02 Outlet 1 - E Miners
host: xxxx
version: 2c
community: xxxx
baseoid: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.6.1.1
payload_on: 2
payload_off: 1
command_payload_off: 1
command_payload_on: 2 -
platform: snmp
name: PDU 02 Outlet 2 - BTC Node
host: xxxx
community: xxxx
version: 2c
baseoid: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.6.1.2
payload_on: 2
payload_off: 1
command_payload_off: 1
command_payload_on: 2 -
platform: snmp
name: PDU 02 Outlet 3 - Evergreen
host: xxxx
community: xxxx
version: 2c
baseoid: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.6.1.3
payload_on: 2
payload_off: 1
command_payload_off: 1
command_payload_on: 2 -
platform: snmp
name: PDU 02 Outlet 4 - KS01-01
host: xxxx
community: xxxx
version: 2c
baseoid: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.6.1.4
payload_on: 2
payload_off: 1
command_payload_off: 1
command_payload_on: 2 -
platform: snmp
name: PDU 02 Outlet 5 - KS01-02
host: xxxx
community: xxxx
version: 2c
baseoid: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.6.1.5
payload_on: 2
payload_off: 1
command_payload_off: 1
command_payload_on: 2 -
platform: snmp
name: PDU 02 Outlet 9 - Osprey e300 v35p
host: xxxx
community: xxxx
version: 2c
baseoid: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.6.1.9
payload_on: 2
payload_off: 1
command_payload_off: 1
command_payload_on: 2 -
platform: snmp
name: PDU 02 Outlet 16 - Osprey e300 v33p
host: xxxx
community: xxxx
version: 2c
baseoid: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.6.1.16
payload_on: 2
payload_off: 1
command_payload_off: 1
command_payload_on: 2 -
platform: snmp
name: PDU 02 Outlet 10 - Antminer S19k1-Plug 1
host: xxxx
community: xxxx
version: 2c
baseoid: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.6.1.10
payload_on: 2
payload_off: 1
command_payload_off: 1
command_payload_on: 2 -
platform: snmp
name: PDU 02 Outlet 11 - Antminer S19k1-Plug 2
host: xxxx
community: xxxx
version: 2c
baseoid: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.6.1.11
payload_on: 2
payload_off: 1
command_payload_off: 1
command_payload_on: 2 -
platform: snmp
name: PDU 03 Outlet 1 - Antminer S19J Pro
host: xxxx
version: 2c
community: xxxx
baseoid: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.6.1.1
payload_on: 2
payload_off: 1
command_payload_off: 1
command_payload_on: 2 -
platform: snmp
name: PDU 03 Outlet 9 - Antminer X5
host: xxxx
version: 2c
community: xxxx
baseoid: 1.3.6.1.4.1.850.1.1.3.2.3.3.1.1.6.1.9
payload_on: 2
payload_off: 1
command_payload_off: 1
command_payload_on: 2