mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
b06e0746f5
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
20 lines
455 B
YAML
20 lines
455 B
YAML
i2c:
|
|
- id: i2c_ina2xx
|
|
scl: ${scl_pin}
|
|
sda: ${sda_pin}
|
|
|
|
sensor:
|
|
- platform: ina2xx_i2c
|
|
i2c_id: i2c_ina2xx
|
|
address: 0x40
|
|
model: INA228
|
|
shunt_resistance: 0.001130 ohm
|
|
max_current: 40 A
|
|
adc_range: 1
|
|
temperature_coefficient: 50
|
|
shunt_voltage: "INA2xx Shunt Voltage"
|
|
bus_voltage: "INA2xx Bus Voltage"
|
|
current: "INA2xx Current"
|
|
power: "INA2xx Power"
|
|
energy: "INA2xx Energy"
|
|
charge: "INA2xx Charge"
|