Hi,
I have one question regarding SNMP protocol for UPS PowerWalker VFI 3000 TGB.
I find that some OID’s is working and some not. The second finding was, that I can read static data with no problem, but data which is dynamic is problem with reading as I do not get any info or I get data value as “-0.1”.
Working sensors:
- platform: snmp
name: 'UPS nazivna moč'
host: 192.168.3.73
baseoid: 1.3.6.1.4.1.935.10.1.1.2.9.0
accept_errors: true
unit_of_measurement: "VA"
scan_interval: 60
- platform: snmp
name: 'UPS status'
host: 192.168.3.73
baseoid: 1.3.6.1.4.1.935.10.1.1.2.1.0
accept_errors: true
value_template: >-
{%if value == '1' %}
Prižgan
{% elif value == '2' %}
V pripravljenosti
{% elif value == '3' %}
Obvod
{% elif value == '4' %}
Normalno
{% elif value == '5' %}
Baterija
{% elif value == '6' %}
Testiranje baterije
{% elif value == '7' %}
Napaka
{% elif value == '8' %}
Pretvornik
{% elif value == '9' %}
ECO
{% elif value == '10' %}
Ugasnjen
{% elif value == '11' %}
Povečano delovanje
{% elif value == '12' %}
Zmanjšano delovanje
{% elif value == '13' %}
Drugo (neznano)
{% endif %}
scan_interval: 60
- platform: snmp
name: 'UPS temperatura'
host: 192.168.3.73
baseoid: 1.3.6.1.4.1.935.10.1.1.2.2.0
accept_errors: true
unit_of_measurement: "°C"
value_template: '{{ (value | int) / 10 }}'
scan_interval: 60
Non-working sensors:
- platform: snmp
name: 'UPS predviden čas delovanja'
host: 192.168.3.73
baseoid: 1.3.6.1.4.1.935.10.1.1.3.3.0
accept_errors: true
unit_of_measurement: "min"
value_template: '{{ (value | int) / 10 }}'
scan_interval: 60
- platform: snmp
name: 'UPS vhodna napetost'
host: 192.168.3.73
baseoid: 1.3.6.1.2.1.33.1.3.3.1.3
accept_errors: true
unit_of_measurement: "V"
value_template: '{{ (value | int) / 10 }}'
scan_interval: 10
- platform: snmp
name: 'UPS vhodna frekvenca'
host: 192.168.3.73
baseoid: 1.3.6.1.4.1.935.10.1.1.2.6.0
accept_errors: true
unit_of_measurement: "Hz"
value_template: '{{ (value | int) / 10 }}'
scan_interval: 60
- platform: snmp
name: 'UPS izhodna napetost'
host: 192.168.3.73
baseoid: 1.3.6.1.4.1.935.10.1.1.2.7.0
accept_errors: true
unit_of_measurement: "V"
value_template: '{{ (value | int) / 10 }}'
scan_interval: 60
- platform: snmp
name: 'UPS izhodna frekvenca'
host: 192.168.3.73
baseoid: 1.3.6.1.4.1.935.10.1.1.2.8.0
accept_errors: true
unit_of_measurement: "Hz"
value_template: '{{ (value | int) / 10 }}'
scan_interval: 60
- platform: snmp
name: 'UPS obremenjenost'
host: 192.168.3.73
baseoid: 1.3.6.1.4.1.935.10.1.1.2.18.1.7
accept_errors: true
unit_of_measurement: "%"
scan_interval: 60
- platform: snmp
name: 'UPS izhodna moč'
host: 192.168.3.73
baseoid: 1.3.6.1.4.1.935.10.1.1.2.18.1.5
accept_errors: true
unit_of_measurement: "W"
scan_interval: 60
So, do anybody know, if this is the problem that HA do not know how to read correctly data. I checked MIB files which I get from HW manufacturer.
Here is link for MIB files if anybody can help me find out which OID is correct - maybe I’m just reading the wrong OID’s…
https://www.vseznalec.si/PUBLIC/MIB.zip
Thank you for your help…