Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DTSU 666 energy meter - any code?
#1
I'm trying read from CHINT DTSU-666 meter, but no success. My code below. Anyone can help?

Code:
uart:
  id: mod_bus
  tx_pin: 17
  rx_pin: 16
  baud_rate: 9600
  parity: NONE
  stop_bits: 1
  data_bits: 8
  debug:
    direction: BOTH

modbus:
  id: modbus_hub
  uart_id: mod_bus
  flow_control_pin: 32

modbus_controller:
  id: dtsu666
  address: 0x02
  modbus_id: modbus_hub
  update_interval: 10s
  command_throttle: 500ms

sensor:
  - platform: modbus_controller
    modbus_controller_id: dtsu666
    name: "Test - Napięcie UA"
    address: 0x2006
    register_type: read
    value_type: FP32
    unit_of_measurement: "V"
    accuracy_decimals: 1
    filters:
      - multiply: 0.1

  - platform: modbus_controller
    modbus_controller_id: dtsu666
    name: "Test - Prąd IA"
    address: 0x200C
    register_type: read
    value_type: FP32
    unit_of_measurement: "A"
    accuracy_decimals: 2
    filters:
      - multiply: 0.001
Reply
#2
maybe you can check this video tour: https://youtu.be/xEvOK3R12kc
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)