[[inputs.modbus]]
  name = "Device"
  controller = "tcp://localhost:502"
  configuration_type = "request"

  [[inputs.modbus.request]]
    slave_id = 1
    register = "holding"
    fields = [
      { name = "humidity", type = "INT16", scale=1.0, address = 1},
      { name = "temperature", type = "INT16", scale=1.0, address = 4},
      { name = "active", type = "INT16", scale=1.0, address = 7},
    ]

    [inputs.modbus.request.tags]
      location = 'Zone 1'

  [[inputs.modbus.request]]
    slave_id = 1
    register = "holding"
    fields = [
      { name = "humidity", type = "INT16", scale=1.0, address = 2},
      { name = "temperature", type = "INT16", scale=1.0, address = 5},
      { name = "active", type = "INT16", scale=1.0, address = 8},
    ]

    [inputs.modbus.request.tags]
      location = 'Zone 1'
