RemoteIO and Modbus serial-TCP gateway: read serial Modbus devices over TCP

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 มิ.ย. 2024
  • This small device does two job in one package, first it is a remoteIO module to read analogue inputs and control digital outputs. But I can also use to read Modbus RTU devices connected to the serial port and access them over the TCP connection.
    My configuration.yaml file: github.com/nygma2004/km/blob/...
    Seller's page: www.cdebyte.com/products/ME31...
    Listing on Alibaba: www.alibaba.com/product-detai...
    Chapters:
    0:00 Intro
    1:14 How it looks like
    5:28 Modbus integration
    6:58 Digital Outputs
    9:35 Analog Inputs
    15:07 Serial modbus device
    17:56 Outro
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 11

  • @SeaTaj
    @SeaTaj 5 หลายเดือนก่อน +1

    Great video. This is the perfect type of nerdy content for me!

  • @cristi1627
    @cristi1627 ปีที่แล้ว +2

    Good job, Thank you for your work and info.

  • @andrewpenny1145
    @andrewpenny1145 9 หลายเดือนก่อน +1

    Hi Thanks for the help, it got me started. I struggled to get the inputs working with address 1 and assumed it was because i had multipole hubs, turns out the analogue inputs need to start at address 100 for integers and 200 for floating point.

  • @stdalexius
    @stdalexius 5 หลายเดือนก่อน +1

    Thanks very useful video. Could you show how to use range 4-20ma sensor to get absolute values in HA. For example (pressure sensor) 4ma - 0 bar, 20ma - 12 bar???

    • @csongorvarga
      @csongorvarga  5 หลายเดือนก่อน

      Unforunately this is where my Home Assistant knowledge ends. ESPHome has a similar yaml file as the HA config, and it is possible to define a simple mapping. Maybe you can add the same to the HA yaml as well:
      filters:
      - calibrate_linear:
      - 1262 -> 6.88
      - 1486 -> 9.22

  • @NickyVdln
    @NickyVdln หลายเดือนก่อน

    Hello, great video!!! One question, can you view the history of for example the temperatures in Home Assistant and can you export this or download the data?

    • @csongorvarga
      @csongorvarga  หลายเดือนก่อน

      I am not a HA expert, but I remember seeing history graph when I last played around with HA.

  • @arkadiuszbaczek804
    @arkadiuszbaczek804 9 หลายเดือนก่อน

    Hello, how did you change the AI ​​range to 4-20mA ?

    • @csongorvarga
      @csongorvarga  9 หลายเดือนก่อน

      Check the documentation: Holdig Register 0x04B2 stores the sampling range 0 for 0-20mA and 1 for 4-20mA

    • @arkadiuszbaczek804
      @arkadiuszbaczek804 9 หลายเดือนก่อน

      @@csongorvarga Thank you for your answer, I already changed thanks to your video. I can't find the "water tank" icon in my Home Assistant or in the directory, where did you get it?

    • @csongorvarga
      @csongorvarga  9 หลายเดือนก่อน

      @@arkadiuszbaczek804 I only defined in the YAML file that it is a class volume and HA picked the icon automatically. I did not change that.