diff --git a/esp32-c3-mini.yaml b/esp32-c3-mini.yaml index 974cadf..a6af59e 100644 --- a/esp32-c3-mini.yaml +++ b/esp32-c3-mini.yaml @@ -55,6 +55,27 @@ i2c: captive_portal: sensor: + - platform: ina219 + address: 0x40 + shunt_resistance: 0.1 ohm + current: + name: "INA219 Current" + unit_of_measurement: "A" + power: + name: "INA219 Power" + unit_of_measurement: "W" + filters: + - multiply: 10 + bus_voltage: + name: "INA219 Bus Voltage" + unit_of_measurement: "V" + shunt_voltage: + name: "INA219 Shunt Voltage" + unit_of_measurement: "V" + max_voltage: 32.0V + max_current: 3.2A + update_interval: 1s + - platform: dallas_temp one_wire_id: bus1 name: "DS18B20" diff --git a/kc868-a6.yaml b/kc868-a6.yaml index 3270267..1b3b7dd 100644 --- a/kc868-a6.yaml +++ b/kc868-a6.yaml @@ -220,9 +220,8 @@ sensor: power: name: "INA219 Power" unit_of_measurement: "W" - accuracy_decimals: 1 filters: - - multiply: 0.1 + - multiply: 10 bus_voltage: name: "INA219 Bus Voltage" unit_of_measurement: "V" diff --git a/kontroller-kocheg-a16.yaml b/kontroller-kocheg-a16.yaml index cdbd522..d56dd38 100644 --- a/kontroller-kocheg-a16.yaml +++ b/kontroller-kocheg-a16.yaml @@ -437,6 +437,27 @@ switch: # update_interval: 1s sensor: + - platform: ina219 + address: 0x40 + shunt_resistance: 0.1 ohm + current: + name: "INA219 Current" + unit_of_measurement: "A" + power: + name: "INA219 Power" + unit_of_measurement: "W" + filters: + - multiply: 10 + bus_voltage: + name: "INA219 Bus Voltage" + unit_of_measurement: "V" + shunt_voltage: + name: "INA219 Shunt Voltage" + unit_of_measurement: "V" + max_voltage: 32.0V + max_current: 3.2A + update_interval: 1s + - platform: modbus_controller modbus_controller_id: modbus_sensor name: "Temperature Sensor" diff --git a/kontroller-kocheg-a8.yaml b/kontroller-kocheg-a8.yaml index 7d93b10..1004e32 100644 --- a/kontroller-kocheg-a8.yaml +++ b/kontroller-kocheg-a8.yaml @@ -208,9 +208,8 @@ sensor: power: name: "INA219 Power" unit_of_measurement: "W" - accuracy_decimals: 1 filters: - - multiply: 0.1 + - multiply: 10 bus_voltage: name: "INA219 Bus Voltage" unit_of_measurement: "V" diff --git a/small-home.yaml b/small-home.yaml index 9bc3fe0..602b296 100644 --- a/small-home.yaml +++ b/small-home.yaml @@ -255,6 +255,27 @@ one_wire: id: bus14 sensor: + - platform: ina219 + address: 0x40 + shunt_resistance: 0.1 ohm + current: + name: "INA219 Current" + unit_of_measurement: "A" + power: + name: "INA219 Power" + unit_of_measurement: "W" + filters: + - multiply: 10 + bus_voltage: + name: "INA219 Bus Voltage" + unit_of_measurement: "V" + shunt_voltage: + name: "INA219 Shunt Voltage" + unit_of_measurement: "V" + max_voltage: 32.0V + max_current: 3.2A + update_interval: 1s + - platform: dallas_temp one_wire_id: bus14 name: "DS18B20" diff --git a/teplica-a8.yaml b/teplica-a8.yaml index 2912385..a62fa2a 100644 --- a/teplica-a8.yaml +++ b/teplica-a8.yaml @@ -207,6 +207,27 @@ one_wire: id: bus14 sensor: + - platform: ina219 + address: 0x40 + shunt_resistance: 0.1 ohm + current: + name: "INA219 Current" + unit_of_measurement: "A" + power: + name: "INA219 Power" + unit_of_measurement: "W" + filters: + - multiply: 10 + bus_voltage: + name: "INA219 Bus Voltage" + unit_of_measurement: "V" + shunt_voltage: + name: "INA219 Shunt Voltage" + unit_of_measurement: "V" + max_voltage: 32.0V + max_current: 3.2A + update_interval: 1s + - platform: dallas_temp one_wire_id: bus14 name: "DS18B20"