Hello Everyone.
I really need some help.
I have created a modbus communicator with a Wemos D1 mini (ESP8266) and it works fine with my Modbus Meter From Schneider Electric, BUT when i connect it to my Modbus Gateway for my Swegon Ventialtion system i can’t get a response. I have tried to connect the modbus gateway to modbus poll and here i can communicate with the unit without any trouble.
so what do i do wrong ?
First of all here is the connection settings for the Modbus Poll:
and here is my UART connection:
uart:
id: mod_bus
tx_pin: D3
rx_pin: D2
baud_rate: 9600
stop_bits: 1
data_bits: 8
parity: none
modbus:
flow_control_pin: 0
id: modbus1
modbus_controller:
- id: test
## the Modbus device addr
address: 0x1
modbus_id: modbus1
setup_priority: -10
Here is the datasheet for the modbus adresses:
and here is my created controllers:
sensor:
- platform: modbus_controller
modbus_controller_id: test
name: "Temperature"
id: temperature
register_type: read
address: 0332
# register_count: 1
unit_of_measurement: "C"
value_type: U_WORD
select:
- platform: modbus_controller
name: "Operation Mode"
address: 4099
value_type: U_WORD
# register_count: 1
optionsmap:
"Zero": 0
"One": 1
"Two": 2
Can anyone please help me, im stuck!
/Mike