Sorry, now when checking the video we see that we did not include the installation of the modbus integration. You must go to settings, devices and services, Add integration, choose Modbus. Thanks for the comment, we will try to include it in the video. We would appreciate a comment if you have been able to get it working. Regards
Thanks for the comment. Yes, you can connect each slave individually with a MAX485 and from this MAX to Home Assistant, but you will need four inputs to HA, either USB or through TTL via ESP. But the advantage of Modbus/RS485 is that you can control them all in a single communication channel. If you explain to us in more detail what you want to do, we can study it and try to guide you.
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.
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.
Thanks for the comment: we have tried the links from another location and another Google account and they do work for us. In any case we have modified the link in the code because it didn't lead directly to the yml file. Maybe you can't access it due to some Google problem, the video has 9k5 views and nobody has complained
also you said, you couldn't manage library modBusrtuSlave. So here is config for normal work with that library: ```yaml modbus: - name: modbus_USB0 type: serial port: /dev/ttyUSB0 baudrate: 9600 bytesize: 8 method: rtu # parity: E // by default. doesn't work for me parity: N stopbits: 1 ```
Thanks for the comment: We never actually tried to configure a slave from Home assistant yaml. because we found it difficult to configure a device that will not be directly connected to HA. For this reason we configured the slave in Arduino IDE, where we tried several libraries. We also found it much easier to program in C to handle inputs, outputs and registers.
@@progspont2623 Thanks, but I explained exactly about HA as a master and arduino \esp board as a slave with modbusRTUslave library for arduino IDE) you mentioned you couldn't get rid it. So I gave you right config
Hi, In my HA there is no "Modbus Write Register" 6:31 , Core 2024.10.2, How can I fix it?
Sorry, now when checking the video we see that we did not include the installation of the modbus integration.
You must go to settings, devices and services, Add integration, choose Modbus.
Thanks for the comment, we will try to include it in the video.
We would appreciate a comment if you have been able to get it working.
Regards
If i have 4 slave that runs on RS485, is the max 485 be interfaced with the slave devices individually?
Thanks for the comment.
Yes, you can connect each slave individually with a MAX485 and from this MAX to Home Assistant, but you will need four inputs to HA, either USB or through TTL via ESP.
But the advantage of Modbus/RS485 is that you can control them all in a single communication channel.
If you explain to us in more detail what you want to do, we can study it and try to guide you.
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.
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.
hey man, you left links to the videos from studio youtube, it does work only for you)
Thanks for the comment: we have tried the links from another location and another Google account and they do work for us. In any case we have modified the link in the code because it didn't lead directly to the yml file.
Maybe you can't access it due to some Google problem, the video has 9k5 views and nobody has complained
@@progspont2623 Man, comon!))
I talk about description to the video, not about code)
but if you enjoy with 9k5 views and nobody helped you to fix your description, what I can say in that case XD
🤷 :-)
also you said, you couldn't manage library modBusrtuSlave. So here is config for normal work with that library:
```yaml
modbus:
- name: modbus_USB0
type: serial
port: /dev/ttyUSB0
baudrate: 9600
bytesize: 8
method: rtu
# parity: E // by default. doesn't work for me
parity: N
stopbits: 1
```
Thanks for the comment: We never actually tried to configure a slave from Home assistant yaml. because we found it difficult to configure a device that will not be directly connected to HA.
For this reason we configured the slave in Arduino IDE, where we tried several libraries. We also found it much easier to program in C to handle inputs, outputs and registers.
@@progspont2623 Thanks, but I explained exactly about HA as a master and arduino \esp board as a slave with modbusRTUslave library for arduino IDE)
you mentioned you couldn't get rid it. So I gave you right config
Yes but the slave configuration you gave me in yaml
What can be programmed in Arduino IDE in Yaml?
@@progspont2623 where do you see slave config in yaml?)
@@progspont2623are you serious?))
i gave you YAML for ha as a mastet modbus)
You are nice developer man :)