Skip to content

⚡ Home Assistant template for Energy consumption based on TNB (Tenaga Nasional Berhad) Malaysia

License

Notifications You must be signed in to change notification settings

zubir2k/HomeAssistantTNB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HomeAssistantTNB visitors

Home Assistant template for Energy consumption based on TNB (Tenaga Nasional Berhad) Malaysia
This template only supports for single phase user. Will add for 3 phase soon inshaAllah

Requirements

  1. Energy Sensor Integration (via CT Clamp, Smart RCCB and others) -> refer here
    (Highly recommended - Shelly EM or 3EM with CT Clamp)

Installation

  1. Copy all files into your Home Assistant directory and paste all files into \config.
  2. Enable package in configuration.yaml by adding the following line into the config file
homeassistant:
  packages: !include_dir_named HAMY/
  1. Restart Home Assistant to take effect.
  2. Create new dashboard (lovelace) and copy the templates lovelace-ui-1phase.yaml
  3. Define energy source

image

Visual

Main Dashboard

image

Daily Notification

image

Home Assistant Energy Dashboard

image

Special Thanks

Disclaimer

This template uses TNB bill calculation method to calculate energy consumption only, and does not include other charges such as 1% late payment, 1.6% Kumpulan Wang Tenaga Boleh Baharu (RE Fund), Power Factor surcharge, Connected Load Charge (CLC) penalty etc.

More info from TNB here