Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RS485 on ESPhome
#1
Hello, 
I have been trying to start modbus communication between KinCony A16 and Eastron SDM630 via rs485 using espHome for some time, according to the documentation the registers are identical to KinCony Energy Meter RS485 Modbus RTU Monitor
Log shows me: [17:53:08][D][modbus_controller:040]: Modbus command to device=1 register=0x64 no response received - removed from send queue
I would like to ask if I have something wrong in the .yaml file?

esphome:
  name: md01-kc868-a16-gar
  friendly_name: md01-kc868-a16-GAR
esp32:
  board: esp32dev
  framework:
    type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
  encryption:
    key: "************************************"
###################################
ota:
  - platform: esphome
    password: "*********************************"
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
# Optional manual IP
  manual_ip:
    static_ip: 192.168.88.21
    gateway: 192.168.88.1
    subnet: 255.255.255.0 
     
####################################
uart:
  id: mod_bus
  tx_pin: 13
  rx_pin: 16
  baud_rate: 9600
  stop_bits: 1
  parity: EVEN
modbus:
  id: modbus1
  uart_id: mod_bus
modbus_controller:
  - id: a24
    address: 0x01
    modbus_id: modbus1
    setup_priority: -10
    update_interval: 5s 
####################################
sensor:
  - platform: modbus_controller
    modbus_controller_id: a24
    name: "Voltage"
    id: modbus_voltage
    register_type: holding
    address: 0x64
    unit_of_measurement: "V"
    value_type: FP32
    accuracy_decimals: 2
Reply
#2
i don't used your energy meter board. But there is a video tour about how to integrate RS485 energy meter to home assistant: https://youtu.be/xEvOK3R12kc
make sure find your meter's data register and data type, then modify in yaml file.
Reply
#3
(02-12-2025, 10:55 PM)admin Wrote: i don't used your energy meter board. But there is a video tour about how to integrate RS485 energy meter to home assistant: https://youtu.be/xEvOK3R12kc
make sure find your meter's data register and data type, then modify in yaml file.

Hello, 

Thank you very much, it helped me a lot. 
In the end, the problem was in the set communication speed. The RS485 interface on the A16 works perfectly
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)