# Medidor de voltaje uart: id: mod_bus tx_pin: 15 rx_pin: 14 baud_rate: 9600 stop_bits: 1 parity: EVEN modbus: id: modbus1 uart_id: mod_bus modbus_controller: - id: server address: 0x0001 modbus_id: modbus1 setup_priority: -10 update_interval: 5s # Sensor de temperatura dallas: - pin: 4 update_interval: 5s # Individual sensors sensor: - platform: dallas address: 0x880b232213a28e28 name: "Board Temperature" - platform: modbus_controller modbus_controller_id: server name: "Voltage" id: modbus_voltage register_type: holding address: 0x64 unit_of_measurement: "V" value_type: FP32 accuracy_decimals: 2 - platform: modbus_controller modbus_controller_id: server name: "Current" id: modbus_current register_type: holding address: 0x6A unit_of_measurement: "A" value_type: FP32 accuracy_decimals: 2 - platform: modbus_controller modbus_controller_id: server name: "Active Power" id: modbus_Active_Power register_type: holding address: 0x76 unit_of_measurement: "kW" value_type: FP32 accuracy_decimals: 2 - platform: modbus_controller modbus_controller_id: server name: "Power Factor" id: modbus_Power_Factor register_type: holding address: 0x8E unit_of_measurement: "" value_type: FP32 accuracy_decimals: 2 - platform: modbus_controller modbus_controller_id: server name: "Grid Frequency" id: modbus_Grid_Frequency register_type: holding address: 0x90 unit_of_measurement: "hz" value_type: FP32 accuracy_decimals: 2 - platform: modbus_controller modbus_controller_id: server name: "Total Energy" id: modbus_Total_Energy register_type: holding address: 0x0 unit_of_measurement: "kWh" value_type: FP32 accuracy_decimals: 2