josepowera / homeassistant-mojelektro

Moj elektro component for Home Asistant

Home Page:https://frlequ.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hits GitHub issues GitHub User's stars GitHub Repo stars

Home Assistant Integration of Moj Elektro electricity meter

This is an updated version of the custom component for integrating electric utility meter data into Home Assistant. It no longer requires a local certificate to access Moj Elektro but utilizes a new API service provided by Informatika.si.

Screenshot of a Moj Electro in Home Assistant using Apex Chart Card. *Example of Moj Elektro API using Apex Chart Card. You can find yaml in https://github.com/frlequ/mojelektro-apex-chart

Warning for existing users

This update should not erase existing sensors, but will not update the energy produced _output entities. Fixed!

Note

Note about data: This integration gathers energy information with a 24-hour delay because API doesn't provide real-time data. Unfortunately, this delay leads to inaccurate readings, especially between midnight and 6 a.m as data aggregates. The problem lies with Moj Elektro, and there's no way around it.

Setup API

  1. Log in to Mojelektro.si using any available login options.
  2. Under Moj Profil, find the option to create a token Kreiraj žeton. Use unlimited expiration and click Create Token.
  3. Copy the newly generated token. You'll need it in the configuration step.
  4. Your meter_id is EIMM number found und Merilna mesta/merilne točke

Installation

Method 1 (easiest): Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Method 2: Manually copy mojelektro folder from latest release to custom_components folder.

Restart Home Assistant

Configuration

In Home Assistant

  1. Go to Settings > Add intergration > search > Moj Elektro
  2. Enter credentials:

Screenshot of a Moj Electro setup in Home Assistant.

Note

As for version 0.2.0 there is no need for configuration.yaml file edit!

Roadmap

  • Add energy output sensors
  • Add config flow (Home Assistant UI setup)
  • Add decimals options for meters
  • Add option to save to long term statistics
  • Multi-language Support
    • English
    • Slovenian

Report any issues

Thanks and consider giving me a 🌟 star

About

Moj elektro component for Home Asistant

https://frlequ.github.io

License:MIT License


Languages

Language:Python 100.0%