Git Product home page Git Product logo

hass-hp_ilo-beta's Introduction

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].

hass-hp_ilo-beta's People

Contributors

chkuendig avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

mrulke

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.