Skip to content

Custom integration for Home Assistant to connect electricity meter wia IEC 62056-21 protocol

License

Notifications You must be signed in to change notification settings

eddso/ha_iec6205621

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IEC 62056-21 electricity meter Integration for Home-Assiatant

Custom integration for Home Assistant to connect electricity meter wia IEC 62056-21 protocol mode B.

The integration polls every 5 minutes and provides 2 entities:

  • Energy consumption total in kWh
  • Energy feed total in kWh

Installation

a) Install over HACS

  • Add https://github.com/eddso/https://github.com/eddso/ha_iec6205621 repository to HACS integrations
  • Add IEC 62056-21 electricity meter Integration integration with HACS

b) Install manual

If you don't have or don't want use HACS, install it over Terminal:

cd config/custom_components
wget https://github.com/eddso/ha_iec6205621/archive/refs/heads/main.tar.gz
tar --strip-components=3 -xzf main.tar.gz ha_sma_speedwire-main/custom_components/sma_speedwire

Restart

After install restart Home-Assistant under the Configuration -> System -> Restart

Setup

  • After installation, you should find iec6205621 under the Configuration -> Integrations -> Add integration.
  • Enter serial port connected to electricity meter.

Debugging

Add the following to configuration.yml to show debugging logs. Please make sure to include debug logs when filing an issue.

See logger intergration docs for more information to configure logging.

logger:
  default: warning
  logs:
    custom_components.iec6205621: debug

About

Custom integration for Home Assistant to connect electricity meter wia IEC 62056-21 protocol

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages