Water PH&EC 2 in 1 sensor

https://www.aliexpress.com/item/1005005924409829.html?spm=a2g0o.order_list.order_list_main.29.182f18021XzRif

While looking for a cheap PH&EC meter, I purchased the sensor from AliExpress at the address below.

I purchased it because it said it had RS485 communication, but the address could not be confirmed because no data sheet was provided.

Only the device default address 01 was provided.

But from what I understand, to be able to implement RS485 in ESPHOME, you need to know each address to read PH EC.

I also searched other places, but there wasn’t much information.

Nevertheless, I tried to find a data sheet for a very similar product and tried it on, but was unsuccessful.

But when I tried modbus_controller: address 0xFE, [19:17:17][W][modbus:144]: I got a Modbus frame at unknown address 0x01! I have hope because the main address seems to be correct, but it doesn’t work even though I entered the PH EC address as instructed in the menu.

Can you recommend something else I can try?

The code was entered as follows.

uart:
id: mod_bus
tx_pin: 13
rx_pin: 16
baud_rate: 9600
stop_bits: 1

modbus:

id: modbus1
uart_id: mod_bus

modbus_controller:

  • id: “PH”
    address: 0x01
    setup_priority: -10
    update_interval: 5s
    modbus_id: modbus1

sensor:
- platform: modbus_controller
modbus_controller_id: “PH”
name: “PH SENSOR”
address: 0000
register_type: “read”
value_type: U_WORD
register_count: 1
unit_of_measurement: “pH”
state_class: “measurement”
accuracy_decimals: 1
filters:
multiply: 0.01

https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/114371#oneone-format-it-properly-16

I don’t follow you with your addresses…
There is slave address(device id), which is almost always 0x01. You set that in modbus_controller.

Then every register has an address and type. In your yaml type is “read” which is input register and address is 0000, which should be 0x00 if you want to read first input register…