FreeTHX / remora-ha

Remora custom component for Home Assistant
2 stars 1 forks source link

remora-ha Remora custom component for Home Assistant

Remora

Remora is a IoT/DIY solution using a dedicated hardware and software to:

Link: https://github.com/hallard/remora_soft

PyRemora

This is a simple Python library to handle the Remora API.
The main objective is to include it into Home Assistant components to manage heaters using the Fil Pilote technique and fetch TeleInfo information.

Link: https://github.com/FreeTHX/pyremora

Remora in Home Assistant

This component provides:

Note : A mapping between hvac_mode and preset_mode has been implemented as follow :

REMORA_PRESET_MODES_TO_HVAC_MODE = {
    remora.FpMode.Arrêt.name: HVAC_MODE_OFF,
    remora.FpMode.HorsGel.name: HVAC_MODE_COOL,
    remora.FpMode.Eco.name: HVAC_MODE_HEAT_COOL,
    remora.FpMode.Confort.name: HVAC_MODE_HEAT
}

HASS Integration

Copy the custom_components folder to get it install under '/config/custom_components/remora/'.
Edit your configuration.yaml file.

# Remora
remora:
  host: 'Your Remora device hostname or IP address'

sensor:
  - platform: remora
  # scan_interval: xx (in sec, default 30)
    resources:
      # Add a list of valid TeleInfo headers
      # Check valid list with SENSOR_TYPES in sensor.py
      - IINST
      - ADCO
      - BASE
      - PAPP

climate:
  - platform: remora
    filpilote:
      # List of FilPilote index you want to manage
      # name is optional to set a friendly_name 
      # temp_sensor is optional for temperature sensor display
      - fp: 1
        name: 'Kitchen'
        temp_sensor: 'sensor.temperature_158d000XXXXXXX'
      - fp: 2
      - fp: 3
      - fp: 4
      - fp: 5
    relais: True

Demo

Example

Energy Integration

You can add sensors like BASE, HCHC, HCHP or others Index on the Energy Dashboard.
Add Index to Energy Dashboard

This will give you the following energy consuption chart.
Energy Chart