Deprecated in favor of https://github.com/latonita/esphome-ina228
This is the INA237 External Component for ESPHome specifically for the PwrTool 500 hardware from VDBX.io
external_components:
- source: github://vdbxio/ina237@main
components: [ina237]
and
sensor:
- platform: ina237
address: 0x40
shunt_resistance: 0.0001 ohm
temperature:
name: INA237 Temperature
current:
name: INA237 Current
power:
name: INA237 Power
bus_voltage:
name: INA237 Bus Voltage
shunt_voltage:
name: INA237 Shunt Voltage
accuracy_decimals: 6
max_voltage: 60.0V
max_current: 500A
gain: 1x
update_interval: 500ms
Current and Power seem to be returning as 100x too small - more testing needed- ADC Config needs to be fixed - gain doesn't work - need access to in-built conversion times & averaging settings