Giter VIP home page Giter VIP logo

nibepi-homeassistant's Introduction

Integrate nibepi to Home Assistant

Tutorial on how to connect nibepi to Home Assistant to allow for monitoring and controlling the Nibe heat pump from Home Assistant. It allows for monitoring of current values such as:

  • utilization of electrical heater
  • Warm water temperature
  • Outdoor and indoor temperature sensors
  • Condenser and evaporator temperatures
  • Fan speed
  • Pump frequency
  • and many more things....

By attaching a Raspberry Pi with a Modbus HAT and a 12 V power HAT it can communicate with the Nibe heat pump over Modbus. There are multiple ways to do this and check out the nibepi project for alternatives. This is my current installation:
raspberryPI

nibepi is a project found on https://github.com/anerdins/nibepi with a closed community on Facebook https://www.facebook.com/groups/nibepi/ where you can as request to join. The community is a great place for questions and share your experiences primarily with nibepi. The base of many examples in this tutorial has been found in posts and comments in the Facebook group. Where attribution of code is missing, please point me in the right direction so that this can be corrected.

Table of contents

  1. Prerequisites
  2. Configuration
    1. nibepi - mqtt settings to connect to mqtt broker
    2. nibepi - publish registers to mqtt
    3. Home Assistant - Add integration - MQTT
    4. Home Assistant - Add HACS custom Frontend components
  3. Home assistant - Examples to monitor and control your Nibe heat pump
    1. Status image with temperature control
    2. Heat pump schematics with sensor information
    3. Heat pump fan control
    4. Heat pump hot water mode control

Prerequisites

This tutorial assumes the following:

Configuration

  • Configuration: nibepi - Connection to mqtt broker
    The required setting to allow for nibepi to publish and to subscribe to messages on the mqtt broker.
    nibepi - Connect to mqtt broker

  • Configuration: nibepi - Registers to publish to mqtt broker
    Select which register to publish and subscribe to on the mqtt broker. Only selected registers will be available in Home Assistant.
    nibepi - Publish registers to mqtt

  • Configure Home Assistant - Integration mqtt
    For Home Assistant to be able to subscribe and to publish messages to the mqtt broker an integration must be added and configured.
    Home Assistant - Add integration - MQTT

Contribution

You are most welcome to add more examples on how the nibepi integration can be utilized with Home Assistant to create or enhance smart functions.

  • For simpler things, the report Issue function here might be sufficient.
  • For more advanced things, please fork the repository and make a pull request.

nibepi-homeassistant's People

Contributors

niklasmelin avatar

Stargazers

 avatar Egbert Broerse avatar  avatar  avatar  avatar Fredrik avatar Christoffer Wigforss avatar  avatar  avatar  avatar

Watchers

 avatar Fredrik avatar  avatar  avatar  avatar

nibepi-homeassistant's Issues

Missing attributes and more

Hi,
Am I doing something wrong? I see two problems with NibePi MQTT in HA:

  1. NibePi does not turn up as a MQTT device, only a bunch of "sensor.nibe_...." entities. I have other MQTT devices that do appear as devices.
  2. Missing attributes on entities to be fully accepted in HA, mainly in energy dashboard and in history. But a general problem. I have added a workaround in my configuration.yaml:
homeassistant:
  customize:
    sensor.nibe_airflow_ref:
      unit_of_measurement: "m3/h"
    sensor.nibe_eb100_adjusted_bs1_air_flow:
      unit_of_measurement: "m3/h"
    sensor.nibe_eb100_bs1_air_flow:
      unit_of_measurement: "m3/h"
    sensor.nibe_eb100_bs1_air_flow_unfiltered:
      unit_of_measurement: "m3/h"
    sensor.nibe_hp_consumed_energy_due_to_heating:
      state_class: total_increasing
      device_class: energy
    sensor.nibe_hp_consumed_energy_due_to_hot_water:
      state_class: total_increasing
      device_class: energy
    sensor.nibe_hp_consumed_energy_due_to_ventilation:
      state_class: total_increasing
      device_class: energy
    sensor.nibe_degree_minutes_16_bit:
      unit_of_measurement: ""
    sensor.nibe_degree_minutes_32_bit:
      unit_of_measurement: ""
    sensor.nibe_eb100_be1_current:
        device_class: current
    sensor.nibe_eb100_be2_current:
        device_class: current
    sensor.nibe_eb100_be3_current:
        device_class: current

None of those two issues are covered on this otherwise excellent repo. Maybe some info on these issues should be added?. Thank you for a good job.
/A

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.