From modbus thermostat to climate entity?

Hi all!!

A small impasse here, I need your advice!

I have an HVAC system with modbus interface (Daikin with RTD-RA/RTD-NET interface).
I’m able to read and write parameters (through an ESPHome board), and I have configured a Dashboard in Home Assistant with all the parameter.

Now, it works but is a bit messy… every parameter for each internal machine is separated from each other, no central control, no multiple set point (Home/Away/Eco).

As I would like to support multiple set point for Heat and Cool and I would like to automate the Home/Away part of things,
what’s your advice on the matters?
How you would proceed?
Do you have seen or made anything similar to point me to?

I’m sorry if the questions seems a bit confused, but I am a bit confused on the topic :upside_down_face:

gluca

Hello Gluca!

I plan to integrate my Daikin vrf system via rtd-10 aswell, can you share your config please?
I guess you are already solve your issue, if not I can help you with that =D

Hi!!
For shure:
I used a ESP32-POE-ISO from Olimex (if you plan to use it with POE you need to remove a resistor that get too hot, if you plan to use it with wifi it has no problem) with a MOD-RS485 (Olimex).

Here a sample of code, you need to check che documentation of RTD-10 and adapt the addresses you read because I don’t know if they matches

esphome:
  name: modbus

esp32:
  board: esp32-poe-iso
  framework:
    type: esp-idf

# Enable logging
logger:
  level: DEBUG
  #level: WARN

# Configuration for Olimex ESP32-POE
ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0
  power_pin: GPIO12

# Enable Home Assistant API
api:
  encryption:
    key: "**********************************"

ota:
  - platform: esphome
    password: "************************"

switch:
  - platform: gpio
    id: modbus_activate
    pin: 5
    restore_mode: ALWAYS_OFF

uart:
  id: mod_bus
  tx_pin: 4
  rx_pin: 36
  baud_rate: 9600
modbus:
  flow_control_pin: 14
  id: modbus1

modbus_controller:
  # ac_machine_1
  - id: ac_machine_1
    address: 1
    modbus_id: modbus1

number:
  - platform: modbus_controller
    modbus_controller_id: ac_machine_1
    id: setpoint_ac_machine_1
    name: "setpoint ac_machine_1"
    address: 1
    unit_of_measurement: "°C"
    value_type: S_WORD
    min_value: 16
    max_value: 32