Energy (AC) - HLW8012/BL0937¶
Power measuring sensor used to measure (AC) voltage, current, power and power factor.
Type: Energy (AC)
Used libraries: https://github.com/xoseperez/hlw8012/tree/1.1.1
The easiest way to configure this plugin, is to select the right device from the
Device list in the “Predefined Pin settings”.
After saving the settings, all parameters will be set.
When enabling the device, it will load the default calibration values.
If some specific setting is needed to support some device not in the list, this
Device selection must be set to
Sonoff POW (r1), Huafan SS, KMC 70011, Aplic WDP303075, SK03 Outdoor, BlitzWolf SHP, Teckin, Teckin US, Gosund SP1 v23
Will set the used calibration factors to some known current value.
For example, if the device using this sensor is plugged into mains power, it may report 200 Volt AC, while it actually is 229V.
So the value given to this command should then be
The last two parameters are optional, but their position determines what unit it represents.
If the setting for current has to be updated, at least 2 parameters must be given of which the first must then be set to
Will reset the calibration values used in the sensor’s library.
Changed in version 2.0: …
added 2019-01-06 Added pre-defined config selector for several devices this sensor is used in.