Hello all.
I am interrogating a SDM230 energy meter via modbus.
How do I get an interval shorter than 10s.
In my config everything is already set to 2s but it only asks every 10s?
I want an interval of 1s.
I am a bit lost.
[agent]
interval = "2s"
flush_interval = "2s"
[[outputs.influxdb_v2]]
urls = ["http://10.0.77.130:8086"]
## Token for authentication.
token = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
## Organization is the name of the organization you wish to write to; must exist.
organization = "Zuhause"
## Destination bucket to write into.
bucket = "sdm230"
[[inputs.modbus]]
name = "SDM230"
slave_id = 2
timeout = "2s"
# TCP - connect via Modbus/TCP
controller = "tcp://10.0.77.71:502"
input_registers = [
{ name = "Phase 1 line to neutral volts", byte_order = "ABCD", data_type = "FLOAT32-IEEE", scale=1.0, address = [0,1]},
{ name = "Phase 1 current", byte_order = "ABCD", data_type = "FLOAT32-IEEE", scale=1.0, address = [6,7]},
{ name = "Phase 1 power", byte_order = "ABCD", data_type = "FLOAT32-IEEE", scale=1.0, address = [12,13]},
]