Modbus connection to Aqotec - No Response received from the remote unit/Unable to decode response

Dear all,

I have been struggling for days with the connection of our district heating transfer station using Modbus.
With QModMaster I can successfully read data from it, but with modbus from Homeassistant it doesn’t work.

  • I’m using a Waveshare Modus TCP to RTU converter
  • It’s an Aqotec RM360 controller
  • I need the Heat consumption, it should be Modbus addr 43750, float according to the Vendor documentation
  • With QModMaster from my PC I can successfully read the needed data

configuration.yaml:

modbus:
  - name: fernw
    type: rtuovertcp
    host: 10.1.1.12
    port: 502
    delay: 1
    timeout: 5
    retries: 5
    retry_on_empty: true
    message_wait_milliseconds: 1000
    close_comm_on_error: false
    sensors:
      - name: fernw_heatmeter
        unit_of_measurement: kWh
        slave: 1
        address: 43750
        data_type: float32
        count: 2
        scan_interval: 10
        input_type: input

Error Message from home-assistant.log:
DEBUG (SyncWorker_6) [homeassistant.components.modbus.modbus] Pymodbus: fernw: Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response

Have anyone an idea what’s going wrong here?

Hello @NicoEmm,

I’ve now got an Aqotec RM360 installed and would like to integrate it into my Home Assistant.

Could you please share your hardware/software setup how to read out the heat consumption?

Were you able to pass the data to HA?

Thanks in advance!

Hei guys contact me pls I am in contact with the supplier. I got an extended List (excel) and integrated it into home assistant since 6 months +. You need an Ethernet cable in the station - i can send some pictures private. Also you need to enable DHCP and Modbus in the station (i got the service code). Where are you living?

3 Likes

Here some parameters:

We changed them to:
773: Automatisch

To enable the MODBUS:

Write me for the service code :slight_smile:

2 Likes

Hello, I’ve got Modbus connected via Serial, but can’t figure out sensor data to setup HomeAssistant.

@Sweti3 Could you please send me your modbus configuration yaml?

Hi again,

just in case someone is trying the same: I just managed to connect Aqotec RM360 to HomeAssistant via serial modbus RTU using the COM A interface.

Initially the device address was set to something above 2000, thus it can’t be larger then 255. After setting a new value I was able to get and write data to registers.

Hi @Sweti3, can you share the extended List?
I am planning to integrate the Rm360 into homeassistant via modbus RTU with the help of a ESP home.

I have managed this over Modbus TCP. Following the instructions:
RM360:

  1. Enter the service code

  2. Adjust the parameters:
    773-776 - whatever you need
    777: 502
    914: TCP/IP
    Under I/O you can check, if the TCP packets are transmitted

  3. (optional) check if the connection is successfully established using a Modbus Client with following settings:

Home Assistant:

  1. add the following line in configuration. yaml:
#Modbus
modbus: !include modbus.yaml
  1. Create a file modbus.yaml:
# TCP connection
- name: Heating
  type: tcp
  host: 192.168.1.26
  port: 502
  delay: 3
  timeout: 2

  sensors:
    - name: HeatMeter
      unit_of_measurement: kWh
      slave: 1
      address: 43750
      data_type: float32
      scan_interval: 10
      device_class: energy
  1. Restart HA, go to Settings → Devices → Entities and search for HeatMeter

Just delete the following parameters from your config:

    retries: 5
    retry_on_empty: true
    message_wait_milliseconds: 1000
    close_comm_on_error: false
    input_type: input
    count: 2

Hi @Sweti3
Do i need to buy anything to connect via eternet cable (an adaptor or something)?
My router is next to heating system to i can fairly easy bring ethernet to rm360.
How do i get the service code?

Best Regards
Brijesh

Hi @JFSolution
Did you manage to get this integerated into Home Assistant via ESP Home?
can you shareb me some refernce to modbus RTU to buy?
Best Regards
Brijesh

Hei - you just need to go on the RJ45 port on the RM360 (behind the locked front (with the key)).

Service code I send you via Message:)