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