ESPHOME
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user