Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ESPHome Modbus config for KC868-A6
#1
Is this the correct ESPHome configuration for RS-485 Modbus on KC-868 A6?

Code:
uart:
  id: mbus
  tx_pin: GPIO12
  rx_pin: GPIO13
  baud_rate: 9600

modbus:
  id: modbus1
  uart_id: mbus
  send_wait_time: 500ms

modbus_controller:
- id: wp3082adam1
  address: 1
  modbus_id: modbus1
  update_interval: 5s

I'm trying to use this with WellPro WP3082ADAM:

Code:
text_sensor:
- name: "analoginputs"
  platform: modbus_controller
  modbus_controller_id: wp3082adam1
  id: test
  # internal: true
  register_type: holding
  address: 0x0000
  register_count: 8
  raw_encode: HEXBYTES
  response_size: 10

This is sending correct command to the wp3082adam, but ESPHome it never receives a response:
Code:
Modbus command to device=1 register=0x00 no response received - removed from send queue

The frustrating this is I can see the holding register request from the A6 and the response from the WP3082ADAM when monitoring the wire, everything seems to be working perfectly, but A6 can't "hear" the modbus response.

sent from A6:
{01}{03}{00}{00}{00}{08}{44}{0C}
response from wp3082adam:
{01}{03}{10}{00}{00}{00}{00}{00}{00}{00}{00}{03}{34}{00}{00}{00}{00}{00}{00}{D1}{8F}

I would appreciate any suggestions
Reply


Messages In This Thread
ESPHome Modbus config for KC868-A6 - by aucirc - 10-04-2024, 06:06 PM
RE: ESPHome Modbus config for KC868-A6 - by admin - 10-05-2024, 12:45 AM
RE: ESPHome Modbus config for KC868-A6 - by admin - 10-05-2024, 11:19 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)