mirror of
https://github.com/esphome/esphome.git
synced 2025-10-20 10:43:48 +01:00
29 lines
663 B
YAML
29 lines
663 B
YAML
sensor:
|
|
- platform: ina2xx_i2c
|
|
i2c_id: i2c_bus
|
|
address: 0x40
|
|
model: INA228
|
|
shunt_resistance: 0.001130 ohm
|
|
max_current: 40 A
|
|
adc_range: 1
|
|
temperature_coefficient: 50
|
|
reset_on_boot: true
|
|
shunt_voltage:
|
|
id: ina2xx_i2c_shunt_voltage
|
|
name: "INA2xx Shunt Voltage"
|
|
bus_voltage:
|
|
id: ina2xx_i2c_bus_voltage
|
|
name: "INA2xx Bus Voltage"
|
|
current:
|
|
id: ina2xx_i2c_current
|
|
name: "INA2xx Current"
|
|
power:
|
|
id: ina2xx_i2c_power
|
|
name: "INA2xx Power"
|
|
energy:
|
|
id: ina2xx_i2c_energy
|
|
name: "INA2xx Energy"
|
|
charge:
|
|
id: ina2xx_i2c_charge
|
|
name: "INA2xx Charge"
|