Skip to content

How to integrate into Home Automation (Home Assistant)? #1

@Jojo-A

Description

@Jojo-A

Hi,
first of all I like to thank you for your effort und your tutorials about Modbus and ESP8266! This is highly appreciated!
Due to my lag of knowledge about Modbus stuff, I just can't figure out a plan how to use your codes to integrate my actual Modus device into my Home Automation System.
Here is what I have:

Now I'd like to use an ESP board as a fully transparent ModbusTCP-to-ModbusRTU gateway, that just forward/converts all traffic from ModbusTCP-to-ModbusRTU and vise versa. But as I understand your code, you use a predefined amount of registers (ten for each direction) and fix addresses.

As I said, my Modbus knowledge is very limited so sorry in advance for the following questions:

  1. Why do you use a predefined amount of registers and fix addresses?
  2. Would it be possible to modify it that way, that it is really a pure "stupid" converter from ModbusTCP-to-ModbusRTU, so that it does just forward addresses, data, CRC, etc.?
  3. Does your code eventually already support what I want but I just missed it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions