{"id":18762423,"url":"https://github.com/frlequ/homeassistant-mojelektro","last_synced_at":"2025-04-06T01:11:00.441Z","repository":{"id":219590266,"uuid":"749416586","full_name":"frlequ/homeassistant-mojelektro","owner":"frlequ","description":"Moj elektro component for Home Asistant","archived":false,"fork":false,"pushed_at":"2024-11-14T20:01:50.000Z","size":2484,"stargazers_count":103,"open_issues_count":1,"forks_count":9,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-30T00:10:06.511Z","etag":null,"topics":["custom-component","elektro","energy","home-assistant","homeassistant","moj","mojelektro","python"],"latest_commit_sha":null,"homepage":"https://frlequ.github.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"saso5/homeassistant-mojelektro","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/frlequ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-28T14:26:07.000Z","updated_at":"2025-02-22T12:02:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"376c5ba9-c285-4f30-a350-d4216470eec0","html_url":"https://github.com/frlequ/homeassistant-mojelektro","commit_stats":null,"previous_names":["frlequ/homeassistant-mojelektro"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frlequ%2Fhomeassistant-mojelektro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frlequ%2Fhomeassistant-mojelektro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frlequ%2Fhomeassistant-mojelektro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frlequ%2Fhomeassistant-mojelektro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frlequ","download_url":"https://codeload.github.com/frlequ/homeassistant-mojelektro/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419861,"owners_count":20936012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["custom-component","elektro","energy","home-assistant","homeassistant","moj","mojelektro","python"],"created_at":"2024-11-07T18:21:01.671Z","updated_at":"2025-04-06T01:11:00.415Z","avatar_url":"https://github.com/frlequ.png","language":"Python","funding_links":["https://www.buymeacoffee.com/frlequ"],"categories":[],"sub_categories":[],"readme":"[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Ffrlequ%2Fhomeassistant-mojelektro\u0026count_bg=%2379C83D\u0026title_bg=%23555555\u0026icon=\u0026icon_color=%23E7E7E7\u0026title=hits\u0026edge_flat=false)](https://github.com/frlequ/homeassistant-mojelektro/)\n[![GitHub issues](https://img.shields.io/github/issues/frlequ/homeassistant-mojelektro)](https://github.com/frlequ/homeassistant-mojelektro/issues) \n![GitHub User's stars](https://img.shields.io/github/stars/frlequ)\n![GitHub Repo stars](https://img.shields.io/github/stars/frlequ/homeassistant-mojelektro)\n\n\n# Home Assistant Integration of Moj Elektro electricity meter \n\nThis 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.\n\n![Screenshot of a Moj Electro in Home Assistant using Apex Chart Card.](/assets/energy.jpg)\n\u003csub\u003e *Example of Moj Elektro API using Apex Chart Card. You can find yaml in https://github.com/frlequ/mojelektro-apex-chart \u003c/sub\u003e \n\n\n\u003e [!NOTE]\n\u003e **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.\n\n\n## Setup API\n\n1. Log in to Mojelektro.si using any available login options.\n2. Under `Moj Profil`, find the option to create a token `Kreiraj žeton`. Use unlimited expiration and click  `Create Token.`\n4. Copy the newly generated token. You'll need it in the configuration step.\n5. Your `meter_id` is `EIMM` number found und `Merilna mesta/merilne točke`\n\n\n## Installation\n\n**Method 1 _(easiest)_:** [![Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.](https://my.home-assistant.io/badges/hacs_repository.svg)](https://my.home-assistant.io/redirect/hacs_repository/?owner=frlequ\u0026repository=homeassistant-mojelektro\u0026category=integration)\n\n**Method 2:** Manually copy `mojelektro` folder from [latest release](https://github.com/frlequ/homeassistant-mojelektro/releases/latest) to `custom_components` folder.\n\n_Restart Home Assistant_\n\n## Configuration\nIn Home Assistant\n1. Go to Settings \u003e Add integration \u003e search \u003e Moj Elektro\n2. Enter credentials:\n\n![Screenshot of a Moj Electro setup in Home Assistant.](/assets/setup.jpg)\n\n\u003e [!NOTE]\n\u003e _As for version 0.2.0 there is no need for `configuration.yaml` file edit!_\n\n## Network Tariff Blocks\nIf you are also searching for current tariff blocks (omrežnina), you can find integration here:\n\nhttps://github.com/frlequ/home-assistant-network-tariff\n\nand the custom card:\n\nhttps://github.com/frlequ/network-tariff-card\n\n## Roadmap\n\n- [X] Add energy output sensors\n- [X] Add config flow (Home Assistant UI setup)\n- [X] Add decimals options for meters\n- [X] Add tariff block power\n- [X] Add energy consumption by blocks\n- [ ] Add option to save to long term statistics\n- [X] Multi-language Support\n    - [X] English\n    - [ ] Slovenian\n\n\n## Report any issues\n\nThanks and consider giving me a 🌟 star\n\n\u003ca href=\"https://www.buymeacoffee.com/frlequ\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 60px !important;width: 217px !important;\" \u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrlequ%2Fhomeassistant-mojelektro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrlequ%2Fhomeassistant-mojelektro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrlequ%2Fhomeassistant-mojelektro/lists"}