esphome: name: modbustester esp32: board: esp32-poe framework: type: arduino # Enable logging logger: # Enable Home Assistant API api: #password: !secret ota_password encryption: key: !secret api_encryption_key ota: password: !secret ota_password ethernet: type: LAN8720 mdc_pin: GPIO23 mdio_pin: GPIO18 clk_mode: GPIO17_OUT phy_addr: 0 power_pin: GPIO12 uart: - id: uart_for_modbus rx_pin: 1 tx_pin: 0 baud_rate: 19200 stop_bits: 1 parity: NONE modbus: uart_id: "uart_for_modbus" id: modbus_comp modbus_controller: - modbus_id: "modbus_comp" id: oxilife address: 0x1 update_interval: "1s" sensor: #- platform: modbus_controller # modbus_controller_id: oxilife # id: oxilife_ionization_current # name: Ionization Strom # address: 0x0100 # value_type: U_WORD - platform: modbus_controller modbus_controller_id: oxilife id: tester_oxilife_hidro_current name: Test Oxilife Hydro Strom address: 0x0101 register_type: read value_type: U_WORD - platform: modbus_controller modbus_controller_id: oxilife id: tester_oxilife_ph name: Test Oxilife pH address: 0x0102 register_type: read value_type: U_WORD accuracy_decimals: 2 filters: - multiply: 0.01 - platform: modbus_controller modbus_controller_id: oxilife id: tester_oxilife_redox_level name: Test Oxilife Redox Level address: 0x0103 register_type: read value_type: U_WORD unit_of_measurement: "mV"