Witajcie, zaczynam swoją zabawę z protokołem modbus niestety napotkałem na problem z którym walczę od tygodnia stąd ten post. Posiadam następującą konfigurację:
- Listwa Eletechsup ETD8A12 ip. 192.168.8.45
- Konwerter Waveshare RS485 to ETH (B) ip. 192.168.8.43
- HA postawione na Proxmox
Mimo najróżniejszej konfiguracji nie mogę połączyć się z listwą.
Co może być nie tak? Zaznaczam, to mój początek z Modbus.
homeassistant:
modbus:
- name: modbus_hub
type: rtuovertcp
host: 192.168.8.43
port: 5000
delay: 0
message_wait_milliseconds: 30
timeout: 5
switch:
- platform: modbus
registers:
- name: "qwe1"
hub: hubrelay
slave: 1
register: 1
command_on: 256
command_off: 512
state_on: 1
state_off: 0
- name: "qwe2"
hub: hubrelay
slave: 1
register: 2
command_on: 256
command_off: 512
state_on: 1
state_off: 0
- name: "qwe3"
hub: hubrelay
slave: 1
register: 3
command_on: 256
command_off: 512
state_on: 1
state_off: 0
- name: "qwe4"
hub: hubrelay
slave: 1
register: 4
command_on: 256
command_off: 512
state_on: 1
state_off: 0
- name: "qwe5"
hub: hubrelay
slave: 1
register: 5
command_on: 256
command_off: 512
state_on: 1
state_off: 0
- name: "qwe6"
hub: hubrelay
slave: 1
register: 6
command_on: 256
command_off: 512
state_on: 1
state_off: 0
- name: "qwe7"
hub: hubrelay
slave: 1
register: 7
command_on: 256
command_off: 512
state_on: 1
state_off: 0
- name: "qwe8"
hub: hubrelay
slave: 1
register: 8
command_on: 256
command_off: 512
state_on: 1
state_off: 0
- name: "qwe9"
hub: hubrelay
slave: 1
register: 9
command_on: 256
command_off: 512
state_on: 1
state_off: 0
- name: "qwe10"
hub: hubrelay
slave: 1
register: 10
command_on: 256
command_off: 512
state_on: 1
state_off: 0
- name: "qwe11"
hub: hubrelay
slave: 1
register: 11
command_on: 256
command_off: 512
state_on: 1
state_off: 0
- name: "qwe12"
hub: hubrelay
slave: 1
register: 12
command_on: 256
command_off: 512
state_on: 1
state_off: 0
sensors:
- name: "Zalacz_1"
scan_interval: 2
slave: 1
address: 128
input_type: holding
scale: 1
offset: 0
precision: 0
- name: "Zalacz_2"
scan_interval: 2
slave: 1
address: 129
input_type: holding
scale: 1
offset: 0
precision: 0
- name: "Zalacz_3"
scan_interval: 2
slave: 1
address: 130
input_type: holding
scale: 1
offset: 0
precision: 0
- name: "Zalacz_4"
scan_interval: 2
slave: 1
address: 131
input_type: holding
scale: 1
offset: 0
precision: 0
- name: "Zalacz_5"
scan_interval: 2
slave: 1
address: 132
input_type: holding
scale: 1
offset: 0
precision: 0
- name: "Zalacz_6"
scan_interval: 2
slave: 1
address: 133
input_type: holding
scale: 1
offset: 0
precision: 0
- name: "Zalacz_7"
scan_interval: 2
slave: 1
address: 134
input_type: holding
scale: 1
offset: 0
precision: 0
- name: "Zalacz_8"
scan_interval: 2
slave: 1
address: 135
input_type: holding
scale: 1
offset: 0
precision: 0
- name: "Zalacz_9"
scan_interval: 2
slave: 1
address: 136
input_type: holding
scale: 1
offset: 0
precision: 0
- name: "Zalacz_10"
scan_interval: 2
slave: 1
address: 137
input_type: holding
scale: 1
offset: 0
precision: 0
- name: "Zalacz_11"
scan_interval: 2
slave: 1
address: 138
input_type: holding
scale: 1
offset: 0
precision: 0
- name: "Zalacz_12"
scan_interval: 2
slave: 1
address: 139
input_type: holding
scale: 1
offset: 0
precision: 0
![waveshare RS485toETH|689x365](upload://nbWQ7GfxkXs9uMRkQ1vjo9hxD26.png)