Home assistant with RS485 Modbus RTU wired network

  Рет қаралды 1,477

Progs Pont

Progs Pont

Күн бұрын

There are several forms of wired communication but with the Modbus protocol the most used are: - TCP which is basically with four-pair ethernet cables and switches this allows us to share with our local network, or not if what we want is to have the network isolated. Although there are some devices that incorporate it, we leave a link to three videos in which it is shown: studio.youtube... studio.youtube... studio.youtube...
But this time we will do it with RTU
- RTU which is essentially with RS485 wiring a single crossed pair with mesh the connection does not allow star sections but the different devices must be connected one after the other and the last one must have a 120Ω resistor connected in parallel, it only allows 32 devices per loop but we can create several loops. The RTU connection consists of a Master or Client and one or more Slaves or Servers. We have used a USB to RS486 converter for the Client which will be the device that runs Home Assistant.
The servers can be commercial devices such as energy meters, solar inverters or microcontroller boards such as Arduino, ESP32, ESP8266... ​​that we have configured with an RS485 to TTL converter.
In this video:
• Modbus RTU Slave for E...
We show how to configure an ESP8266 as a Server. There we communicated with it through another ESP8266 that we had configured with ESPHome as a Modbus Client in such a way that our HO instance communicated with the Client via WIFI and from it the RS485 communication went out to the other Servers.
In the current video we show how to configure HO to perform the Modbus Client function, configure the Modbus parameters, read device registers and the most complicated thing is to send data to the Servers.
Modbus RTU Table: docs.google.co...
Files to paste:
Paste for Modbus wiring.txt, Paste for automation template.txt.
drive.google.c...
Coverter USB to RS485:
www.amazon.es/...
"Home Assistant" "tutorial" "ESP8266" "ESP01" "Relay" "esp32" "DS18B20" "dallas" "Modbus" "RTU" "Modbus slave" "Slave" "Arduino IDE" "RS485" "Thermostat" "USB" "Raspberry pi"

Пікірлер: 2
@chiemexotic319
@chiemexotic319 17 күн бұрын
Hi, i have a question of RS485 modbus with temperature and humidity transmitter Autonics THD-WD1-T can connect with Hassio ? They have RS485 output but i don't know how to connect. Thank you.
@progspont2623
@progspont2623 17 күн бұрын
Thanks for the comment We have searched for information about this device: autonics.se/wp-content/uploads/2018/03/THD_KE_EN_DRW161011AA_20170302.pdf To connect it to Hassio you will need a USB to RS485 converter connected to a USB of the device on which Hassio runs and the crossover cable from this to the THD-WD1-T connecting A with A and B with B, the 120 ohm resistor connected in parallel to terminals A and B of the THD-WD1-T. On the right side of the instruction manual you will find the way to configure the modbus protocol that you will have to repeat in the Hassio configuration according to the explanation in the video. If you have any further questions, we are here.
Raspberry Pi 4 Case with Fan Control
16:05
Progs Pont
Рет қаралды 102
What is Modbus and How does it Work?
8:58
RealPars
Рет қаралды 1,7 МЛН
Cute
00:16
Oyuncak Avı
Рет қаралды 6 МЛН
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 30 МЛН
Mastering Modbus: Heat Pump Integration with Home Assistant!
21:02
What is Modbus Communication Protocol? | Basics of Modbus TCP/IP and Modbus RTU
9:16
IT and Automation Academy
Рет қаралды 115 М.
TCP/IP or RS485 for your Arduino home automation
3:57
Geb Systems
Рет қаралды 922
15 Home Assistant Tips You MUST Do
14:28
Everything Smart Home
Рет қаралды 377 М.
ESP8266 with W5500 Ethernet Shield for Modbus TCP Communication
6:36
Yaser Ali Husen
Рет қаралды 10 М.
интерфейс rs 485 и микроконтроллеры
8:18
Александр Писанец
Рет қаралды 133 М.