Advertisement
Valeriy

Untitled

Nov 18th, 2024 (edited)
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 6.95 KB | None | 0 0
  1. modbus:
  2.   - name: modbus_rs485
  3.     type: tcp #rtuovertcp #tcp
  4.     host: 192.168.2.108
  5.     port: 502
  6.     delay: 0
  7.     message_wait_milliseconds: 30
  8.     timeout: 5
  9.  
  10.     sensors:
  11.    #Current
  12.       - name: L1 Phase Current
  13.         unique_id: IEM3155_L1_Phase_Current
  14.         unit_of_measurement: A
  15.         address: 0001
  16.         slave: 1
  17.         scan_interval: 5
  18.         data_type: uint16
  19.         precision: 3
  20.         device_class: current
  21.         input_type: holding
  22.         state_class: measurement
  23.         scale: 0.0001
  24.         offset: 0
  25.        
  26.       - name: L2 Phase Current
  27.         unique_id: IEM3155_L2_Phase_Current
  28.         unit_of_measurement: A
  29.         address: 0001
  30.         slave: 1
  31.         scan_interval: 5
  32.         data_type: uint16
  33.         precision: 3
  34.         device_class: current
  35.         input_type: holding
  36.         state_class: measurement
  37.         scale: 0.0001
  38.         offset: 0
  39.  
  40.       - name: L3 Phase Current
  41.         unique_id: IEM3155_L3_Phase_Current
  42.         unit_of_measurement: A
  43.         address: 0001
  44.         slave: 1
  45.         scan_interval: 5
  46.         data_type: uint16
  47.         precision: 3
  48.         device_class: current
  49.         input_type: holding
  50.         state_class: measurement
  51.         scale: 0.0001
  52.         offset: 0
  53.  
  54.       - name: Current Avg
  55.         unique_id: IEM3155_Current_Avg
  56.         unit_of_measurement: A
  57.         address: 0001
  58.         slave: 1
  59.         scan_interval: 5
  60.         data_type: uint16
  61.         precision: 3
  62.         device_class: current
  63.         input_type: holding
  64.         state_class: measurement
  65.         scale: 0.0001
  66.         offset: 0
  67.  
  68.     #Voltage
  69.       - name: Voltage L1-L2
  70.         unique_id: IEM3155_Voltage_L1-L2
  71.         unit_of_measurement: V
  72.         address: 0001
  73.         slave: 1
  74.         scan_interval: 5
  75.         data_type: uint16
  76.         precision: 1
  77.         device_class: voltage
  78.         input_type: holding
  79.         state_class: measurement
  80.         scale: 0.01
  81.         offset: 0
  82.  
  83.       - name: Voltage L2-L3
  84.         unique_id: IEM3155_Voltage_L2-L3
  85.         unit_of_measurement: V
  86.         address: 0001
  87.         slave: 1
  88.         scan_interval: 5
  89.         data_type: uint16
  90.         precision: 1
  91.         device_class: voltage
  92.         input_type: holding
  93.         state_class: measurement
  94.         scale: 0.01
  95.         offset: 0
  96.  
  97.       - name: Voltage L3-L1
  98.         unique_id: IEM3155_Voltage_L3-1
  99.         unit_of_measurement: V
  100.         address: 0001
  101.         slave: 1
  102.         scan_interval: 5
  103.         data_type: uint16
  104.         precision: 1
  105.         device_class: voltage
  106.         input_type: holding
  107.         state_class: measurement
  108.         scale: 0.01
  109.         offset: 0
  110.  
  111.       - name: Voltage L-L Avg
  112.         unique_id: IEM3155_Voltage_L-L_Avg
  113.         unit_of_measurement: V
  114.         address: 0001
  115.         slave: 1
  116.         scan_interval: 5
  117.         data_type: uint16
  118.         precision: 1
  119.         device_class: voltage
  120.         input_type: holding
  121.         state_class: measurement
  122.         scale: 0.01
  123.         offset: 0
  124.  
  125.       - name: Voltage L1-N
  126.         unique_id: IEM3155_Voltage_L1-N
  127.         unit_of_measurement: V
  128.         address: 0001
  129.         slave: 1
  130.         scan_interval: 5
  131.         data_type: uint16
  132.         precision: 1
  133.         device_class: voltage
  134.         input_type: holding
  135.         state_class: measurement
  136.         scale: 0.01
  137.         offset: 0
  138.  
  139.       - name: Voltage L2-N
  140.         unique_id: IEM3155_Voltage_L2-N
  141.         unit_of_measurement: V
  142.         address: 0001
  143.         slave: 1
  144.         scan_interval: 5
  145.         data_type: uint16
  146.         precision: 1
  147.         device_class: voltage
  148.         input_type: holding
  149.         state_class: measurement
  150.         scale: 0.01
  151.         offset: 0
  152.  
  153.       - name: Voltage L3-N
  154.         unique_id: IEM3155_Voltage_L3-N
  155.         unit_of_measurement: V
  156.         address: 0001
  157.         slave: 1
  158.         scan_interval: 5
  159.         data_type: uint16
  160.         precision: 1
  161.         device_class: voltage
  162.         input_type: holding
  163.         state_class: measurement
  164.         scale: 0.01
  165.         offset: 0
  166.  
  167.       - name: Voltage L-N Avg
  168.         unique_id: IEM3155_Voltage_L-N_Avg
  169.         unit_of_measurement: V
  170.         address: 0001
  171.         slave: 1
  172.         scan_interval: 5
  173.         data_type: uint16
  174.         precision: 1
  175.         device_class: voltage
  176.         input_type: holding
  177.         state_class: measurement
  178.         scale: 0.01
  179.         offset: 0
  180.  
  181.     #Power
  182.       - name: Active Power Phase 1
  183.         unique_id: IEM3155_Active_Power_Phase_1
  184.         unit_of_measurement: kW
  185.         address: 0001
  186.         slave: 1
  187.         scan_interval: 5
  188.         data_type: float16
  189.         device_class: power
  190.         scale: 1
  191.         precision: 4
  192.       - name: Active Power Phase 2
  193.         unique_id: IEM3155_Active_Power_Phase_2
  194.         unit_of_measurement: kW
  195.         address: 0001
  196.         slave: 1
  197.         scan_interval: 5
  198.         data_type: float16
  199.         device_class: power
  200.         scale: 1
  201.         precision: 4
  202.       - name: Active Power Phase 3
  203.         unique_id: IEM3155_Active_Power_Phase_3
  204.         unit_of_measurement: kW
  205.         address: 0001
  206.         slave: 1
  207.         scan_interval: 5
  208.         data_type: float16
  209.         device_class: power
  210.         scale: 1
  211.         precision: 4
  212.       - name: Total Active Power
  213.         unique_id: IEM3155_Total_Active_Power
  214.         unit_of_measurement: kW
  215.         address: 0001
  216.         slave: 1
  217.         scan_interval: 5
  218.         data_type: float16
  219.         device_class: power
  220.         precision: 4
  221.       - name: Total Reactive Power
  222.         unique_id: IEM3155_Total_Reactive_Power
  223.         unit_of_measurement: kVAR
  224.         address: 0001
  225.         slave: 1
  226.         scan_interval: 5
  227.         data_type: float16
  228.         device_class: power
  229.         precision: 4
  230.       - name: Total Apparent Power
  231.         unique_id: IEM3155_Total_Apparent_Power
  232.         unit_of_measurement: kVA
  233.         address: 0001
  234.         slave: 1
  235.         scan_interval: 5
  236.         data_type: float16
  237.         device_class: power
  238.         precision: 4
  239.     #Total Energy
  240.       - name: Total Active Energy Import
  241.         unique_id: IEM3155_Total_Active_Energy_Import
  242.         unit_of_measurement: kWh
  243.         address: 0001
  244.         slave: 1
  245.         scan_interval: 5
  246.         data_type: int16
  247.         device_class: energy
  248.         state_class: total_increasing
  249.         scale: .001
  250.         precision: 4
  251.       - name: Total Reactive Energy Import
  252.         unique_id: IEM3155_Total_Reactive_Energy_Import
  253.         unit_of_measurement: VARh
  254.         address: 0001
  255.         slave: 1
  256.         scan_interval: 5
  257.         data_type: int16
  258.         device_class: energy
  259.         state_class: total_increasing
  260.         scale: .001
  261.         precision: 4
  262.         #Frequency
  263.       - name: Frequency
  264.         unique_id: IEM3155_Frequency
  265.         unit_of_measurement: Hz
  266.         address: 0001
  267.         slave: 1
  268.         scan_interval: 5
  269.         data_type: float16
  270.         device_class: Frequency
  271.         precision: 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement