mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
84 lines
4.3 KiB
Markdown
84 lines
4.3 KiB
Markdown
# Home assistant add-on: MyElectricalData
|
|
|
|
[![Donate][donation-badge]](https://www.buymeacoffee.com/alexbelgium)
|
|
[![Donate][paypal-badge]](https://www.paypal.com/donate/?hosted_button_id=DZFULJZTP3UQA)
|
|
|
|

|
|

|
|

|
|
|
|
[](https://www.codacy.com/gh/alexbelgium/hassio-addons/dashboard?utm_source=github.com&utm_medium=referral&utm_content=alexbelgium/hassio-addons&utm_campaign=Badge_Grade)
|
|
[](https://github.com/alexbelgium/hassio-addons/actions/workflows/weekly-supelinter.yaml)
|
|
[](https://github.com/alexbelgium/hassio-addons/actions/workflows/onpush_builder.yaml)
|
|
|
|
[donation-badge]: https://img.shields.io/badge/Buy%20me%20a%20coffee%20(no%20paypal)-%23d32f2f?logo=buy-me-a-coffee&style=flat&logoColor=white
|
|
[paypal-badge]: https://img.shields.io/badge/Buy%20me%20a%20coffee%20with%20Paypal-0070BA?logo=paypal&style=flat&logoColor=white
|
|
|
|
_Thanks to everyone having starred my repo! To star it click on the image below, then it will be on top right. Thanks!_
|
|
|
|
[](https://github.com/alexbelgium/hassio-addons/stargazers)
|
|
|
|

|
|
|
|
## 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
|
|
|
|
1. Start the addon to initialize configuration files
|
|
2. Configure your Enedis credentials in the config.yaml file
|
|
3. Set up MQTT connection details
|
|
4. 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
|
|
|
|
```yaml
|
|
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.
|
|
|
|
1. [Add my Hass.io add-ons repository][repository] to your Hass.io instance.
|
|
1. Install this add-on.
|
|
1. Click the `Save` button to store your configuration.
|
|
1. Start the add-on.
|
|
1. Check the logs of the add-on to see if everything went well.
|
|
1. Carefully configure the add-on to your preferences, see the official documentation for for that.
|
|
|
|
[repository]: https://github.com/alexbelgium/hassio-addons
|
|
|
|
|