Created
October 28, 2024 03:59
-
-
Save trungie/2ac4d0f1fbc3ec55e2918d2021dbd388 to your computer and use it in GitHub Desktop.
Powershield UPS SNMP OIDs used for monitoring via Home assistant SNMP..
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PowerShield Centurion RT 1000 UPS Monitoring in Home Assistant | |
Step 1: Discover SNMP OIDs | |
To find OIDs for monitoring, use: | |
snmpwalk -v 2c -c public 192.168.1.250 1.3.6.1.4.1.935 | |
Sample Output: | |
Battery Charge (%): 1.3.6.1.4.1.935.1.1.1.2.2.1.0 | |
Battery Temp (°C): 1.3.6.1.4.1.935.1.1.1.2.2.2.0 | |
Battery Voltage (V): 1.3.6.1.4.1.935.1.1.1.4.2.1.0 | |
Output Voltage (V): 1.3.6.1.4.1.935.1.1.1.5.2.1.0 | |
Output Load (%): 1.3.6.1.4.1.935.1.1.1.5.2.5.0 | |
Step 2: Configure Home Assistant | |
Add to configuration.yaml: | |
sensor: | |
- platform: snmp | |
name: "UPS Battery Charge" | |
host: 192.168.1.250 | |
community: "public" | |
baseoid: "1.3.6.1.4.1.935.1.1.1.2.2.1.0" | |
unit_of_measurement: "%" | |
value_template: "{{ value | int }}" | |
- platform: snmp | |
name: "UPS Battery Temperature" | |
host: 192.168.1.250 | |
community: "public" | |
baseoid: "1.3.6.1.4.1.935.1.1.1.2.2.2.0" | |
unit_of_measurement: "°C" | |
value_template: "{{ value | int }}" | |
- platform: snmp | |
name: "UPS Battery Voltage" | |
host: 192.168.1.250 | |
community: "public" | |
baseoid: "1.3.6.1.4.1.935.1.1.1.4.2.1.0" | |
unit_of_measurement: "V" | |
value_template: "{{ value | float | round(2) }}" | |
- platform: snmp | |
name: "UPS Output Voltage" | |
host: 192.168.1.250 | |
community: "public" | |
baseoid: "1.3.6.1.4.1.935.1.1.1.5.2.1.0" | |
unit_of_measurement: "V" | |
value_template: "{{ value | int }}" | |
- platform: snmp | |
name: "UPS Output Load" | |
host: 192.168.1.250 | |
community: "public" | |
baseoid: "1.3.6.1.4.1.935.1.1.1.5.2.5.0" | |
unit_of_measurement: "%" | |
value_template: "{{ value | int }}" | |
Replace `192.168.1.250` with your UPS IP, save, and restart Home Assistant. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment