Attached modbus register map.
Bought this sensor from ( 토양 전기 전도도 센서 0 2V 4 20mA RS485 토양 수분 토양 온도 습도 토양 EC 센서 two three in one|Sensors| - AliExpress )
My current esphome.yaml:
uart:
id: mod_bus
tx_pin: 3
rx_pin: 1
baud_rate: 9600
stop_bits: 1
debug:
direction: BOTH
modbus_controller:
- id: temp
address: 0
command_throttle: 5s
setup_priority: -10
update_interval: 10s
sensor:
- platform: modbus_controller
modbus_controller_id: temp
name: "Temp"
address: 0
register_type: "read"
value_type: S_WORD
unit_of_measurement: C
I have no idea what’s wrong with my setup and yaml.
Sensor is okay with provided programme with rs485 to usb converter in PC.
However, with esphome I cant get any data abobe configuration…