From 43f3b1b9b10bfb9d716634e594923a0fa9912803 Mon Sep 17 00:00:00 2001 From: Victor Alexandrovich Tsyrenschikov <77172321+tsyrenschikov@users.noreply.github.com> Date: Tue, 6 Jan 2026 21:03:57 +0500 Subject: [PATCH] ESPHOME --- kc868-a6.yaml | 22 ++++++++++++++++++++++ kontroller-kocheg-a8.yaml | 23 +++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/kc868-a6.yaml b/kc868-a6.yaml index 63b8cab..3270267 100644 --- a/kc868-a6.yaml +++ b/kc868-a6.yaml @@ -211,6 +211,28 @@ switch: inverted: true 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" + accuracy_decimals: 1 + filters: + - multiply: 0.1 + 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 SHT30" diff --git a/kontroller-kocheg-a8.yaml b/kontroller-kocheg-a8.yaml index afca901..7d93b10 100644 --- a/kontroller-kocheg-a8.yaml +++ b/kontroller-kocheg-a8.yaml @@ -199,6 +199,29 @@ one_wire: id: bus13 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" + accuracy_decimals: 1 + filters: + - multiply: 0.1 + 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_kontroller"