-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: Add documentation about 'recorder' configuration
- Loading branch information
Xavier Berger
committed
Nov 4, 2024
1 parent
806cb66
commit b4d2df8
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Home Assistant configuration | ||
|
||
**Power meter** is reading energy exchanged with the grid every secondes. | ||
By default, Home Assistant *recorder* is saving this information in its database. | ||
To optimize data storage in Home Assistant, it's essential to configure databases appropriately. | ||
|
||
* First **Identify the Target Sensor** | ||
Power meter provides a sensor names `real_power`. | ||
In your Home Assistant it should be prefixed with the name of your device and should then be identified with an id like `sensor.solarrouter_real_power`. | ||
Check you sensor to adapt the configuration. | ||
|
||
* Then **Create a `recorder` configuration for Home Assistant** | ||
Add the following lines in your `configuration.yaml` to filter out `real_power` data: | ||
|
||
```yaml | ||
recorder: | ||
exclude: | ||
entities: | ||
- sensor.solarrouter_real_power | ||
``` | ||
!!! note "About recorder" | ||
Home Assistant `recorder` is constantly saves data in database. Refer to [recorder configuration](https://www.home-assistant.io/integrations/recorder/) for details. | ||
|
||
|
||
!!! warning "If you are uding InfluxDB" | ||
If you are using InfluxDB, you should pay the same attention about data recording. | ||
Refer to the [integration documentation](https://www.home-assistant.io/integrations/influxdb/) to exclude `real_power` from your database. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters