HI
i am trying to integrate CHINT DTSU666 power meter with ESPhome. connection is ok when inverter is off(during night) when inverter turns on in the morning i start to get crc errors. what could be the problem. address is same on all three devices also baudrate is 9600.
esphome:
name: esphome-web-237360
friendly_name: CHINT DTSU666
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
level: verbose
baud_rate: 0
# Enable Home Assistant API
api:
encryption:
key: ""
ota:
#################################################
###
uart:
id: mod_bus
tx_pin: 17
rx_pin: 16
baud_rate: 9600
stop_bits: 1
debug:
direction: BOTH
dummy_receiver: false
after:
delimiter: "\n"
sequence:
- lambda: UARTDebug::log_string(direction, bytes);
modbus:
id: modbus1
disable_crc: False
send_wait_time: 250ms
modbus_controller:
- id: powermeter1
address: 1
modbus_id: modbus1
update_interval: 3s
setup_priority: -10
############ NAPETOST ####################
sensor:
- platform: modbus_controller
modbus_controller_id: powermeter1
id: napetost_ua_test
name: "test Napetost Ua"
address: 0X2006
unit_of_measurement: "V" ## for any other unit the value is returned in minutes
register_type: read
device_class: "voltage"
value_type: FP32
accuracy_decimals: 2
filters:
- multiply: 0.1
wifi:
networks:
- ssid: !secret wifi_ssid
password: !secret wifi_password
- ssid: !secret wifi_1_ssid
password: !secret wifi_1_password
- ssid: !secret wifi_2_ssid
password: !secret wifi_2_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esphome-Web-237360"
password: "irD1gqIIn1lo"
captive_portal: