Hello everyone! I have a home control system with Modbus, which works well. And recently I installed two frequency inverters on the ventilation unit. I am trying to connect these inverters to my Modbus network, but I fail. The inverters have an unfamiliar address system and functions. I can not make them control by Modbus or provide any data. I have a full description of the Modbus protocol for these inverters. But I do not have enough knowledge to make it work. I am looking for any help to write the correct code for Modbus. Free or for money. Please. help me!
type or paste code heremodbus:
- name: modbus_0
type: serial
method: rtu
port: /dev/ttyUSB1
baudrate: 9600
stopbits: 2
bytesize: 8
parity: N
timeout: 2
switches:
- name: "air_cool_pump"
slave: 98
address: 5
unique_id: air_cool_pump
write_type: coil
- name: "sauna_hiter"
slave: 74
address: 2
unique_id: sauna_hiter
write_type: coil
# - name: "hit_p_circ_pump"
# slave: 74
# address: 4
# unique_id: hit_p_circ_pump
# write_type: coil
- name: "sun_mode_boost"
slave: 74
address: 1
unique_id: sun_mode_boost
write_type: coil
- name: "main_water_valve_open"
slave: 98
address: 3
unique_id: main_water_valve_open
write_type: coil
- name: "main_water_valve_close"
slave: 98
address: 4
unique_id: main_water_valve_close
write_type: coil
- name: "air cooli_hit_valve_cool"
slave: 98
address: 1
unique_id: air cooli_hit_valve_cool
write_type: coil
- name: "air cooli_hit_valve_hitt"
slave: 98
address: 2
unique_id: air cooli_hit_valve_hitt
write_type: coil
- name: "sauna_contactor"
slave: 98
address: 0
unique_id: sauna_contactor
write_type: coil
scan_interval: 5
- name: "garage_gate"
slave: 74
address: 0
unique_id: garage_gate
write_type: coil
sensors:
- name: vent_temp_1
unique_id: vent_temp_1
# unit_of_measurement: °C
slave: 107
address: 246
# scale: 00.13
offset: 0
precision: 1
scan_interval: 30
- name: vent_temp_2
unique_id: vent_temp_2
# unit_of_measurement: °C
slave: 107
address: 247
# scale: 00.13
offset: 0
precision: 1
scan_interval: 30
binary_sensors:
- name: DI_1
unique_id: DI_1
slave: 74
address: 0
input_type: discrete_input
- name: DI_2
unique_id: DI_2
slave: 74
address: 1
input_type: discrete_input
- name: DI_3
unique_id: DI_3
slave: 74
address: 2
input_type: discrete_input
- name: DI_4
unique_id: DI_4
slave: 74
address: 3
input_type: discrete_input
- name: DI_5
unique_id: DI_5
slave: 74
address: 4
input_type: discrete_input
- name: DI_6
unique_id: DI_6
slave: 74
address: 5
input_type: discrete_input
- name: DI_7
unique_id: DI_7
slave: 74
address: 6
input_type: discrete_input
- name: DI_8
unique_id: DI_8
slave: 98
address: 0
input_type: discrete_input
- name: DI_9
unique_id: DI_9
slave: 98
address: 1
input_type: discrete_input
- name: DI_10
unique_id: DI_10
slave: 98
address: 2
input_type: discrete_input
- name: DI_11
unique_id: DI_13
slave: 98
address: 3
input_type: discrete_input
- name: pump_septik
slave: 98
address: 4
unique_id: pump_septik
input_type: discrete_input
- name: garage_door_contact
slave: 98
address: 5
unique_id: garage_door_contact
input_type: discrete_input
- name: DI_14
unique_id: DI_14
slave: 98
address: 6
input_type: discrete_input
# scan_interval: 1