Hi
Please help me solve the problem.
There is a task of reading parameters from two Eastron SDM630 V2 meters.
The meters have a Modbus RTU protocol.
I am converting it to Modbus TCP with the help of Elfin-EW11.
PROBLEM:
I can read the data, but there is a problem with the interval between points (data update rate). I need to make graphs with no more than 5 seconds between points, maybe even less.
At the moment, without any additional settings, the interval between the values is about 90 seconds, and this interval fluctuates.
I tried adding “scan_interval: 2”, but that did not solve the problem.
After that it shows 2 points at 1-2 second intervals, and then repeats the usual interval of ~90 seconds every 2 points.
Modbus protocol of the SDM630:
/config/configuration.yaml
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
# Text to speech
tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
modbus: !include modbus.yaml
homeassistant:
customize: !include customizations.yaml
config/modbus.yaml
- type: tcp
host: 192.168.88.123
port: 8899
name: "hub1"
sensors:
- name: sdm630b_frequency_of_supply_voltages
address: 70
input_type: input
count: 2
slave: 101
precision: 2
data_type: float32
unit_of_measurement: Hz
scan_interval: 2
unique_id: 273bc377-c3ae-4ae9-afeb-0a5dbad68304
- name: sdm630a_phase_2_line_to_neutral_volts
slave: 100
address: 2
input_type: input
count: 2
precision: 2
data_type: float32
unit_of_measurement: V
device_class: voltage
unique_id: be929394-9daf-4f27-8c36-1ad79de68897
/config/customizations.yaml
sensor.sdm630a_import_wh_since_last_reset:
state_class: total_increasing
sensor.sdm630a_export_wh_since_last_reset:
state_class: total_increasing
sensor.sdm630b_import_wh_since_last_reset:
state_class: total_increasing
sensor.sdm630b_export_wh_since_last_reset:
state_class: total_increasing
Elfin EW11 RS485 Modbus RTU to Mdbus TCP settings: