I recently stumbled upon an old APC AP9211 PDU and decided to give it a new life in my home automation setup! These devices are often found for free or at a bargain price, and they’re surprisingly well-built with eight switched outlets. It was a fun challenge to integrate it with Home Assistant, and I’d like to share my experience in case anyone else is looking to repurpose similar hardware.
The process was similar to configuring other PDUs I’ve worked with in the past, but the OIDs (Object Identifiers) were slightly different. Here’s a quick breakdown of what I did:
yaml
switch:
- platform: snmp
name: pdu1-1
host: 192.168.12.34
community: [redacted]
version: “1”
baseoid: 1.3.6.1.4.1.318.1.1.4.4.2.1.3.1
payload_on: 1
payload_off: 2 - platform: snmp
name: pdu1-2
host: 192.168.12.34
community: [redacted]
version: “1”
baseoid: 1.3.6.1.4.1.318.1.1.4.4.2.1.3.2
payload_on: 1
payload_off: 2
…
I documented the entire process on my blog (lukecyca.com) if anyone wants to dive deeper into the specifics. It was a rewarding project, and I’m excited to see how others might repurpose similar hardware in their own setups! ![]()