All Projects → francispoisson → hilo

francispoisson / hilo

Licence: Unlicense license
Hilo integration for Home Assistant

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to hilo

Tuya-v2-Supported-Devices
A collection of all of the known working Tuya v2 Devices
Stars: ✭ 30 (+15.38%)
Mutual labels:  home-automation, integration, home-assistant
hass-amplifi
A home assistant integration for Ubiquiti Amplifi
Stars: ✭ 17 (-34.62%)
Mutual labels:  home-automation, integration, home-assistant
HomeAssistant.AppStarter
Home Assistant 'Hass' is a home automation system running on Unix-systems. This package aims to enable .NET developers to create their own 'app-like' programs that integrate with Home Assistant through it's Websocket and Web API's.
Stars: ✭ 13 (-50%)
Mutual labels:  home-automation, home-assistant
home-assistant-config
My home-assistant configuration
Stars: ✭ 48 (+84.62%)
Mutual labels:  home-automation, home-assistant
google fit hass
A Home assistant custom component to get your fitness information using Google Fitness API.
Stars: ✭ 23 (-11.54%)
Mutual labels:  home-automation, home-assistant
homeassistant-cli
Control your smart home from the terminal
Stars: ✭ 12 (-53.85%)
Mutual labels:  home-automation, home-assistant
double-take
Unified UI and API for processing and training images for facial recognition.
Stars: ✭ 585 (+2150%)
Mutual labels:  home-automation, home-assistant
hifiberry
This is a custom component to allow control of HifiberryOS devices in Home Assistant using the audiocontrol2 REST API.
Stars: ✭ 26 (+0%)
Mutual labels:  home-automation, home-assistant
node-homeassistant
Node.js wrapper for the home-assistant websocket api
Stars: ✭ 27 (+3.85%)
Mutual labels:  home-automation, home-assistant
Home-AssistantConfig---OLD
AtomicPapa's Amazing Home Assistant Config
Stars: ✭ 15 (-42.31%)
Mutual labels:  home-automation, home-assistant
home-assistant-opentherm-thermostat
Home Assistant OpenTherm Thermostat
Stars: ✭ 26 (+0%)
Mutual labels:  home-automation, home-assistant
hass-pandora-cas
Home Assistant custom component for Pandora Car Alarm System
Stars: ✭ 15 (-42.31%)
Mutual labels:  home-automation, home-assistant
addon-home-panel
Home Panel - Home Assistant Community Add-ons
Stars: ✭ 164 (+530.77%)
Mutual labels:  home-automation, home-assistant
ocpp
Home Assistant integration for electric vehicle chargers that support the Open Charge Point Protocol (OCPP).
Stars: ✭ 82 (+215.38%)
Mutual labels:  home-automation, home-assistant
ha-illuminance
Home Assistant Illuminance Sensor
Stars: ✭ 53 (+103.85%)
Mutual labels:  home-automation, home-assistant
docker-iot-stack
💻 My personal Docker IoT Stack
Stars: ✭ 24 (-7.69%)
Mutual labels:  home-automation, home-assistant
homeassistant
Home Assistant Config
Stars: ✭ 50 (+92.31%)
Mutual labels:  home-automation, home-assistant
Home Assistant Cli
💻 Command-line tool for Home Assistant
Stars: ✭ 243 (+834.62%)
Mutual labels:  home-automation, home-assistant
home-assistant-config
🏠 Home Assistant Configuration & Documentation for my smart home using Node-RED for automations. Press ⭐ for notification of updates.
Stars: ✭ 34 (+30.77%)
Mutual labels:  home-automation, home-assistant
Home-Assistant-Config
🏠 My huizebruin Home Assistant configuration, Be sure to 🌟 this repository for updates! huizebruin
Stars: ✭ 29 (+11.54%)
Mutual labels:  home-automation, home-assistant

hacs_badge

DEPRECATED

As of december 16 2021, this hilo integrration is no longer supported since big changes were made on Hilo side.

Please refer to this repository for future developments: https://github.com/dvd-dev/hilo/

Hilo

Hilo integration for Home Assistant

Introduction

This is a custom component to allow control of Hilo devices from Home Assistant. This is an unofficial integration and unsupported by Hilo.

We are not employees of, or paid by, Hilo. We can't be held responsible if your account is getting suspended because of the use of this integration. Hilo might change their API any time and this might break this integration.

Features

  • Support for switches and dimmers as light devices
  • Get current and set target temperature of thermostat
  • Get energy usage of pretty much each devices
  • Generates energy meters and sensors
  • Binary sensor for Hilo Events (challenges)
  • Binary sensor for Hilo Gateway

To Do:

Installation

Manual

Copy the custom_components/hilo directory from the latest release to your customer_components directory.

HACS

Follow standard HACS procedure to install.

Configuration

To function properly, we need to include the Hilo credentials in the configuration.yaml file like this:

hilo:
  username: YourHiloUsername
  password: YourHiloPassword

Advanced configuration

  • light_as_switch: Boolean Will add light entities as switch entities. This was the default behavior of the integration and this is to give users the option to stay with that behavior instead of having to rewrite all their automations and scripts. The current default behavior is to add light entities as light entities.

  • generate_energy_meters: Boolean (beta) Will generate all the entities and sensors required to feed the Energy dashboard. For details, see the note below.

  • hq_plan_name: String Define the Hydro Quebec rate plan name. Only 2 values are supported at this time:

    • rate d
    • flex d
  • scan_interval: Integer Number of seconds between each device update. Defaults to 60 and it's not recommended to go below 30 as it might result in a suspension from Hilo.

Sample complete configuration

hilo:
  username: !secret hilo_username
  password: !secret hilo_password
  generate_energy_meters: true
  hq_plan_name: rate d
  scan_interval: 30

Energy meters

Energy meters are a new feature of this integration. We used to manually generate them with template sensors and automation but they now have been fully integrated into the Hilo integration.

All generated entities and sensors will be prefixed with hilo_energy_ or hilo_rate_.

Lovelace sample integration

Here's an example on how to add the energy data to Lovelace:

      - type: vertical-stack
        cards:
          - type: horizontal-stack
            cards:
              - type: entity
                entity: binary_sensor.defi_hilo
                icon: mdi:fire
              - type: entity
                entity: sensor.smartenergymeter_power
                name: Hydro
                icon: mdi:speedometer
              - type: entity
                entity: sensor.hilo_rate_current
                name: Cout Actuel
          - type: energy-date-selection
          - type: energy-sources-table
          - type: energy-usage-graph
          - type: energy-distribution
            link_dashboard: true

Warning

When enabling Hilo generated energy meters, it's recommended to remove the manually generated ones to have the most accurate statistics, otherwise we might end up with duplicate data.

This wasn't tested with already active data and energy entities (ie: Battery, Gaz, Solar, or even other individual devices). It's possible that enabling this will break or delete these original sensors. We can't be held responsible for any data loss service downtime, or any kind as it's described in the license.

If you're facing an issue and you want to collaborate, please enable debug log level for this integration and provide a copy of the home-assistant.log file. Details on how to enable debug are below.

References

As stated above, this is an unofficial integration. Hilo is not supporting direct API calls and might obfuscate the service or prevent us from using it.

For now, these are the swagger links we've found:

Contributing

Reporting any kind of issue is a good way of contributing to the project and it's available to anyone.

If you face any kind of problem or weird behavior, please submit an issue and ideal, attach debug logs.

To enable debug log level, you need to add this to your configuration.yaml file:

logger:
  default: info
  logs:
     custom_components.hilo: debug

If you have any kind of python/home-assistant experience and want to contribute to the code, feel free to submit a merge request.

Collaborators

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].