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 - วิทยาศาสตร์และเทคโนโลยี
Great video. This is the perfect type of nerdy content for me!
Good job, Thank you for your work and info.
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.
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???
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
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?
I am not a HA expert, but I remember seeing history graph when I last played around with HA.
Hello, how did you change the AI range to 4-20mA ?
Check the documentation: Holdig Register 0x04B2 stores the sampling range 0 for 0-20mA and 1 for 4-20mA
@@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?
@@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.