Building Redfish for HomeSeer
Redfish started as a way to bring my HPE servers into HomeSeer. Testing across 20 machines uncovered proxy delays, years-old management sessions, and a few first-run bugs. Here’s how the plugin now turns hardware health, temperatures, and power readings into useful home automation.
How my server rack joined the smart home—and what twenty servers taught me along the way.
Bringing server health into the same system that watches the rest of the house.
My servers already know when a fan fails, a power supply loses redundancy, or the temperature starts climbing. The problem was getting that information somewhere I would actually notice it.
HomeSeer seemed like a natural place. It already handles my notifications, announcements, and automation. Why shouldn’t it know when something in the rack needs attention?
The project began as “a plugin for my HPE servers.” Building it around Redfish, the standard interface for server hardware management, opened up a broader possibility: support for other manufacturers without building a separate plugin for each one.
HPE iLO, Dell iDRAC, Lenovo XClarity, and many Supermicro systems support Redfish, depending on the hardware and firmware. My own testing has been on HPE iLO 4 and iLO 5. The other platforms still need testing on real machines.
Listening to the server, even when it’s off
The plugin talks directly to each server’s management controller—the separate processor that monitors the hardware and provides remote management.
There’s no agent to install in Windows or Linux. As long as the controller has power and a network connection, it can report hardware information even when the main server is shut down.
That makes it useful for watching the things an operating-system monitor might miss: a failed fan, a missing power supply, or a machine that never finishes starting.
Press Find servers, enter credentials for an account with the required monitoring permissions, and each adopted server becomes a HomeSeer device.
The device uses the machine’s name, so an alert can tell you that Shadowfax needs attention rather than asking you to remember which server lives at a particular IP address.
What HomeSeer can see
The available readings depend on what the controller exposes, but the plugin brings these groups into HomeSeer:
| Area | Features |
|---|---|
| Overall health | Server health: All OK, Warning, or Critical |
| Power | Power state, startup self-test status, current and average power draw |
| Cooling | Fan health and highest reported fan speed |
| Temperature | Inlet air temperature and hottest reported sensor |
| Power supplies | Supply health, including failures and lost redundancy |
| Connection | Controller availability and authentication status |
I wanted the states to mean something without requiring a trip through a manual.
A fan running at 95% may be loud, but that alone doesn’t mean it has failed. Its speed indicator therefore doesn’t turn red just because the fan is working hard.
Likewise, when a server is off, the fan feature says Server is off. Showing a measured zero would imply a reading that wasn’t actually taken.
Each icon uses its rim color to show the state and its symbol to identify the subsystem. A fan warning and a power-supply warning should be distinguishable at a glance.
Twenty servers make a useful reality check
I’ve been testing against about 20 HPE ProLiants with a mixture of iLO 4 and iLO 5 controllers.
That gave me enough machines to uncover patterns—and enough older hardware to challenge a few assumptions.
The first was that iLO 4 was simply slow.
The initial request to each controller took roughly 15 seconds. That sounded plausible for an older management processor, but measuring the requests showed that the delay was happening before the useful work began.
.NET was looking for a system proxy.
With automatic proxy discovery disabled for those connections, the controllers answered in about 1.3 to 1.6 seconds. That changed the polling design considerably, and saved me from building around a delay the controllers weren’t causing.
The session problem was already sitting in the rack
Older iLO controllers have a limited number of management sessions. A monitoring application that opens sessions and leaves them behind can eventually prevent other connections—including someone trying to use the web interface.
During testing, I found 156 stale sessions across my own servers. The oldest was 819 days old.
The idle timeout had been set to infinite. Apparently, some sessions had decided to move in permanently.
On the iLO 4 systems I tested, HTTP Basic authentication over HTTPS did not create those persistent Redfish sessions. The plugin uses that approach, avoiding session accumulation during polling.
It also gave me another item for the future controller-health checks: warn when the timeout is infinite or old sessions are piling up.
Certificates still get checked
Server management controllers often arrive with self-signed certificates. Ignoring certificate validation would make connecting easier, but it would also remove a useful check on which machine the plugin is talking to.
The plugin validates the certificate against the address used to connect. If validation fails, HomeSeer shows Certificate rejected rather than quietly accepting it.
One detail worth watching: a certificate can have years left before expiry and still be untrusted. Some factory iLO certificates have very long lifetimes. The expiry date alone doesn’t tell you whether the certificate was issued by an authority your system trusts.
Older controllers presented another boundary. My iLO 2 hardware doesn’t support Redfish, and its older TLS support prevents the connection from reaching an HTTP request. The plugin now gives a more useful unsupported-controller explanation for that case.
Then I ran it inside HomeSeer
Before the first live run, the plugin had 672 passing checks.
The first evening still found bugs.
Four polling threads could race while updating a shared list and create a duplicate device. Discovery compared server names with network addresses and offered the same controllers again. A temperature warning was being interpreted as a failed power supply.
All three are fixed, with checks added around the behavior that caused them.
The resulting installation had 20 server devices and 240 features. Running Bring devices up to date again reported nothing left to change—which was a welcome result after the duplicate-device episode.
The Servers page now keeps warnings on the card for the affected machine. Its fleet summary also names the exception:
“19 of 20 answering, not Shadowfax.”
That’s much more useful to me than a count followed by a search through 20 cards.
What I’d use it for
Once the readings are in HomeSeer, they can work alongside the rest of the house:
- Hardware alerts: send a notification naming the server when a fan fails or a power supply loses redundancy.
- Cooling: turn on a closet exhaust fan when inlet temperature rises, then escalate the warning if it keeps climbing.
- Lost contact: notify when a management controller has stopped answering for a sustained period.
- Power tracking: record rack consumption and spot machines drawing more power than usual.
- UPS coordination: combine server temperatures with the APC UPS plugin’s on-battery state to warn about power and cooling trouble together.
A controller that stops answering doesn’t necessarily mean the server is dead. It might be a network problem or a controller problem. Keeping connection status separate from hardware health helps make that distinction clear.
Where it stands
Redfish is currently version 0.0.1, in development, and has been monitoring my own rack in HomeSeer since September.
Monitoring works today. The next areas I’m planning are:
- Power control and the locator light, with safeguards appropriate to actions that can interrupt a running server.
- Management-controller checks, including certificate expiry, infinite session timeouts, and stale sessions.
- Testing with other manufacturers, particularly Dell, Lenovo, and Supermicro.
Power control and locator-light control aren’t implemented yet. They’ll become listed capabilities when they’re working.
If you have a Dell, Lenovo, or Supermicro server and would like to help test, please reply with the server model and management-controller version.
Redfish provides a common language, but real hardware is where you find out which dialect each controller speaks.
Say something.