Skip to content

Breina/idrac_power_monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

106 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iDRAC power monitor

hacs_badge GitHub Actions Workflow Status GitHub Actions Workflow Status

This integration will grab infomations from your Dell servers' iDRAC system :

  • Server status
  • Power consumption
  • CPU and air temperature
  • Fan speed

You can also start and shutdown the server from Home Assistant.

For this to work, the Redfish service must be running on it.

Tested on iDRAC 7 and 8 on multiple Dell PowerEdge servers.

Screenshots

Alt text

Changelog

1.7.0

  • Add firmware version detection to disable legacy /data endpoint on iDRAC 9 firmware 7.x+ (fixes #41)
  • Prefer Redfish PowerMetrics.EnergyConsumedKWh for energy consumption over legacy endpoint
  • Fix error log spam on firmware that removed the /data/login endpoint
  • Fix potential NameError in legacy endpoint logout when login fails

1.6.1

  • Fix firmware version overwriting device info, causing platform setup failures on concurrent load
  • Fix power sensor showing "unavailable" instead of 0W when server is in standby
  • Fix binary status sensor showing "unavailable" instead of "off" when server is powered down
  • Add async_unload_entry to properly stop background polling and clean up on integration reload

Installation

Note

This integration requires HACS to be installed

  1. Open HACS
  2. + EXPLORE & DOWNLOAD REPOSITORIES
  3. Find iDRAC power monitor in this list
  4. DOWNLOAD THIS REPOSITORY WITH HACS
  5. DOWNLOAD
  6. Restart Home Assistant (Settings > System > RESTART)
  7. Go to Configuration -> Integrations and click the + Add Integration button
  8. Select iDRAC power monitor from the list
  9. Enter the IP address or hostname (NO http:// !) of your iDRAC instance, its username (root by default) and its password (calvin by default).

About

HomeAssistant integration to monitor the power of a server through its iDrac's Redfish API

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

 

Contributors

Languages