I have a heat pump boiler with modbus protocol but I can’t communicate with it, I attach my configuration: esphome side:
`esphome:
name: esphome-web-f96b62
friendly_name: ESPHome Web f96b62
esp8266:
board: esp01_1m
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "XXXXXXXXXXXXXXAlvDLbWdJr3BxhnxchQCfMSQEDrBXPAZBnqs="
ota:
wifi:
ssid: "XXXXXXXXXXXX"
password: "XXXXXXXXXXXXXX"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "XXXXXXXXXXXX"
password: "XXXXXXXXXXXX"
captive_portal:
uart:
id: mod_bus
tx_pin: GPIO1
rx_pin: GPIO3
baud_rate: 9600
stop_bits: 1
#baud_rate: 115200
modbus:
id: modbus1
uart_id: mod_bus
#send_wait_time: 200ms
modbus_controller:
id: vlb
# the Modbus device addr
address: 0x01
modbus_id: modbus1
update_interval: 5s
#setup_priority: -10
sensor:
- platform: modbus_controller
modbus_controller_id: vlb
name: "maxa"
id: maxa
register_type: holding
address: 2001
value_type: U_WORD`
configuration.yaml:
modbus:
- name: modbus1
type: tcp
host: 192.168.1.6
port: 502
these are the moddbus addresses of the machine
error no response…