Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions content/components/sensor/bl0942.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ sensor:
- **line_frequency** (*Optional*, string): The nominal AC line frequency of the supply voltage. One of `50Hz`, `60Hz`. Defaults to `50Hz`.
- **address** (*Optional*, int): The address of the BL0942 from its strapping pins. Defaults to `0`.
- **reset** (*Optional*, boolean): Whether to reset the BL0942 chip on startup, resetting all internal counters. Defaults to `true`.
- **current_reference** (*Optional*, float): The calibration parameter for current readings. Defaults to `251213.46469622`.
- **voltage_reference** (*Optional*, float): The calibration parameter for voltage readings. Defaults to `15873.35944299`.
- **power_reference** (*Optional*, float): The calibration parameter for power readings. Defaults to `596.0` unless either `current_reference` or `voltage_reference` are explicitly set, in which case it is calculated. See [Calibration](#bl0942-calibration) for more details.
- **energy_reference** (*Optional*, float): The calibration parameter for cumulative energy readings. Defaults to `3304.61127328` unless any of `current_reference`, `voltage_reference` or `power_reference` are explicitly set, in which case it is calculated. See [Calibration](#bl0942-calibration) for more details.
- **current_reference** (*Optional*, float): The calibration parameter for current readings. Defaults to `251065.6814`.
- **voltage_reference** (*Optional*, float): The calibration parameter for voltage readings. Defaults to `15883.34116`.
- **power_reference** (*Optional*, float): The calibration parameter for power readings. Defaults to `623.3937992` unless either `current_reference` or `voltage_reference` are explicitly set, in which case it is calculated. See [Calibration](#bl0942-calibration) for more details.
- **energy_reference** (*Optional*, float): The calibration parameter for cumulative energy readings. Defaults to `5350.631898` unless any of `current_reference`, `voltage_reference` or `power_reference` are explicitly set, in which case it is calculated. See [Calibration](#bl0942-calibration) for more details.

{{< anchor "bl0942-calibration" >}}

Expand All @@ -68,7 +68,7 @@ These can be determined by using an accurate voltage and current meter with a si
more resolution to the measurement than smaller ones. Consider the largest load your device can support for this procedure. Example
resistive loads to consider: space heater, toaster, incandescent light bulb(s), etc.

The default value of `voltage_reference` is `15873.35944299` and for `current_reference` it is `251213.46469622`. Flash the
The default value of `voltage_reference` is `15883.34116` and for `current_reference` it is `251065.6814`. Flash the
device with these values and then measure the voltage and current of the load while comparing it to the value reported in ESPHome.
The formula to determine the correct reference value is `new_reference = reported_value * default_reference / actual_value`.
(If the reported value is low, the reference value should decrease, and vice versa.) This procedure can be repeated several
Expand Down
Loading