4.3 KiB
Home assistant add-on: MyElectricalData
Thanks to everyone having starred my repo! To star it click on the image below, then it will be on top right. Thanks!
About
MyElectricalData allows an automated access to your Enedis data. See its github for all informations : https://github.com/m4dm4rtig4n/myelectricaldata
Configuration
Use the add-on env_vars option to pass extra environment variables (uppercase or lowercase names). See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2 for details.
Webui can be found at http://homeassistant:5000 or through Ingress. Initial setup requires starting the addon once to initialize configuration templates.
Setup Steps
- Start the addon to initialize configuration files
- Configure your Enedis credentials in the config.yaml file
- Set up MQTT connection details
- Access the web interface to monitor data retrieval
Options
| Option | Type | Default | Description |
|---|---|---|---|
CONFIG_LOCATION |
str | /config/myelectricaldata/config.yaml |
Path to configuration file |
TZ |
str | Europe/Paris |
Timezone (e.g., Europe/London) |
mqtt_autodiscover |
bool | true |
Enable MQTT autodiscovery |
verbose |
bool | true |
Enable verbose logging |
Example Configuration
CONFIG_LOCATION: "/config/myelectricaldata/config.yaml"
TZ: "Europe/London"
mqtt_autodiscover: true
verbose: false
Configuration File
The main configuration is done via /config/myelectricaldata/config.yaml. This file contains:
- Enedis API credentials
- MQTT broker settings
- Data retrieval intervals
- Device configurations
For complete configuration options, see: https://github.com/m4dm4rtig4n/myelectricaldata/wiki/03.-Configuration
Installation
The installation of this add-on is pretty straightforward and not different in comparison to installing any other Hass.io add-on.
- Add my Hass.io add-ons repository to your Hass.io instance.
- Install this add-on.
- Click the
Savebutton to store your configuration. - Start the add-on.
- Check the logs of the add-on to see if everything went well.
- Carefully configure the add-on to your preferences, see the official documentation for for that.
