Skip to content

Custom Home Assistant integration for Niko Home Control that reads live power (W) and calculates energy consumption (kWh) over time via TCP socket communication.

License

Notifications You must be signed in to change notification settings

Zuntara/niko_energy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Niko Home Control I Energy Integration for Home Assistant

hacs_badge License: MIT Home Assistant

This custom component allows Home Assistant to read live power (Watt) and energy (kWh) data from a Niko Home Control (NHC) I system using a TCP socket connection.

It provides:

  • Real-time power readings (W) - sensor
  • Automatically calculated energy usage (kWh) - sensor
  • Integration into the Home Assistant Energy dashboard
  • Lightweight and fully local (no cloud needed)
  • Configuration screen for IP and Port of NHC I controller and configuration for channels

⚙️ Installation

Manual

  1. Copy the "niko_energy" folder from this repository to: /config/custom_components/niko_energy/
  2. Restart Home Assistant.
  3. Go to Settings > Devices & Services > Integrations, click Add Integration, and search for Niko Homecontrol I Energy Monitor.

Automatic

Add to HACS

🧠 Configuration

This integration requires:

  • IP address of your Niko controller (on the local network)
  • TCP port (usually 8080)
  • List of channel IDs and names you want to track (auto discovered)

Once added, the integration will:

  • Start a live TCP stream
  • Request live power data (getlive)
  • Calculate cumulative kWh from the stream over time
Entity Type Unit State Class Updates
Power Sensor W Measurement Push
Energy Sensor kWh Total Increasing Derived from power

You can safely add the energy sensors to the Energy Dashboard.

Example of Niko Energy Dashboard

About

Custom Home Assistant integration for Niko Home Control that reads live power (W) and calculates energy consumption (kWh) over time via TCP socket communication.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages