/hass-hp_ilo-beta

🚥 Updated HP Integrated Lights Out (iLO) component for Home Assistant

Primary LanguagePythonMIT LicenseMIT

Notice 🚧

This is a WIP component for an updated HP Integrated Lights-Out (ILO) component in Home Assistant. The goal is to add a proper config flow with discovery and expose as much of the functonality of ILO as possible.

There's still a lot from custom-components/integration_blueprint in this repo to keep track of a few missing things. It will eventually be cleaned up.

hacs_badge

hacs_badge

Installation

Add this repo as a custom repo to HACS and the integration should show up. At the moment there's no versioning of releases yet.

Features

Discovery

Status: Done ✅

For Auto Discovery to work, it has to be enabled in the iLO admin UI: ILO Screenshot

For development & testing it also makes sense to set the interval low enough (default seems to be 10min)

ILO servers are anouncing themselves on a few of SSDP search targets:

These all return slightly different data, but none seems to include all the information necessary (i.e. the correct UUID or the port/protocol of the REST api ).

Basic Device seems to be the one most common and is already supported by Home Assistant, so I picked that.

Configuration

Status: WIP ⏳

The goal is to implement a clean config flow supporting a few things:

  • Regular setup flow for discovered devices as well as a manual setup flow.
  • Update of IPs and Hostname from discovery in case any of them change.
  • Import of existing sensors from configuration.yaml
  • It should be possible to enable/disable what sensors and other entities/platforms are added. (since this can quickly get out of hand)

Platforms

Status: WIP ⏳

This component will set up the following platforms.

Platform Description
binary_sensor Show something True or False.
sensor Show info from blueprint API.
switch Switch something True or False.

The existing sensors only implement the sensor entity. Ideally a few more things would be nice:

Caching

Status: Planned 🔜

Startup and refresh is currently not optimized, slowing this integration down quite a bit. It also seems that data isn't shared between sensors, meaning the rate limiting is resulting in very coarse grained data once there's more then a handful of sensors active.

Tests

Status: Planned 🔜

There's actually no tests at all in Home Assistant for this component right now. Most features should be able to be tested with the existing mock data in python-hpilo.

Strings and Translations

Status: Planned 🔜

Config flow should support i18n.

integration_blueprint

[![GitHub Release][releases-shield]][releases] [![GitHub Activity][commits-shield]][commits] ![License][license-shield]

[![hacs][hacsbadge]][hacs] ![Project Maintenance][maintenance-shield] [![BuyMeCoffee][buymecoffeebadge]][buymecoffee]

[![Discord][discord-shield]][discord] [![Community Forum][forum-shield]][forum]

Component to integrate with [hp_ilo][hp_ilo].