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.
*Example of Moj Elektro API using Apex Chart Card. You can find yaml in https://github.com/frlequ/mojelektro-apex-chart
This update should not erase existing sensors, but will not update the energy produced Fixed!_output
entities.
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.
- Log in to Mojelektro.si using any available login options.
- Under
Moj Profil
, find the option to create a tokenKreiraj žeton
. Use unlimited expiration and clickCreate Token.
- Copy the newly generated token. You'll need it in the configuration step.
- Your
meter_id
isEIMM
number found undMerilna mesta/merilne točke
Method 2: Manually copy mojelektro
folder from latest release to custom_components
folder.
Restart Home Assistant
In Home Assistant
- Go to Settings > Add intergration > search > Moj Elektro
- Enter credentials:
Note
As for version 0.2.0 there is no need for configuration.yaml
file edit!
- Add energy output sensors
- Add config flow (Home Assistant UI setup)
- Add decimals options for meters
- Add tariff block power
- Add option to save to long term statistics
- Multi-language Support
- English
- Slovenian
Thanks and consider giving me a 🌟 star