Advertisement
Valeriy

Untitled

Nov 16th, 2024
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.71 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.     sensors:
  10.    #Current
  11.       - name: L1 Phase Current
  12.         unique_id: IEM3155_L1_Phase_Current
  13.         unit_of_measurement: A
  14.         address: 0001
  15.         slave: 1
  16.         scan_interval: 5
  17.         data_type: float32
  18.         precision: 4
  19.         device_class: current
  20.       - name: L2 Phase Current
  21.         unique_id: IEM3155_L2_Phase_Current
  22.         unit_of_measurement: A
  23.         address: 0001
  24.         slave: 1
  25.         scan_interval: 5
  26.         data_type: float32
  27.         precision: 4
  28.         device_class: current
  29.       - name: L3 Phase Current
  30.         unique_id: IEM3155_L3_Phase_Current
  31.         unit_of_measurement: A
  32.         address: 0001
  33.         slave: 1
  34.         scan_interval: 5
  35.         data_type: float32
  36.         precision: 4
  37.         device_class: current
  38.       - name: Current Avg
  39.         unique_id: IEM3155_Current_Avg
  40.         unit_of_measurement: A
  41.         address: 0001
  42.         slave: 1
  43.         scan_interval: 5
  44.         data_type: float32
  45.         precision: 4
  46.         device_class: current
  47.     #Voltage
  48.       - name: Voltage L1-L2
  49.         unique_id: IEM3155_Voltage_L1-L2
  50.         unit_of_measurement: V
  51.         address: 0001
  52.         slave: 1
  53.         scan_interval: 5
  54.         data_type: float32
  55.         precision: 4
  56.         device_class: voltage
  57.       - name: Voltage L2-L3
  58.         unique_id: IEM3155_Voltage_L2-L3
  59.         unit_of_measurement: V
  60.         address: 0001
  61.         slave: 1
  62.         scan_interval: 5
  63.         data_type: float32
  64.         precision: 4
  65.         device_class: voltage
  66.       - name: Voltage L3-L1
  67.         unique_id: IEM3155_Voltage_L3-1
  68.         unit_of_measurement: V
  69.         address: 0001
  70.         slave: 1
  71.         scan_interval: 5
  72.         data_type: float32
  73.         precision: 4
  74.         device_class: voltage
  75.       - name: Voltage L-L Avg
  76.         unique_id: IEM3155_Voltage_L-L_Avg
  77.         unit_of_measurement: V
  78.         address: 0001
  79.         slave: 1
  80.         scan_interval: 5
  81.         data_type: float32
  82.         precision: 4
  83.         device_class: voltage
  84.       - name: Voltage L1-N
  85.         unique_id: IEM3155_Voltage_L1-N
  86.         unit_of_measurement: V
  87.         address: 0001
  88.         slave: 1
  89.         scan_interval: 5
  90.         data_type: float32
  91.         precision: 4
  92.         device_class: voltage
  93.       - name: Voltage L2-N
  94.         unique_id: IEM3155_Voltage_L2-N
  95.         unit_of_measurement: V
  96.         address: 0001
  97.         slave: 1
  98.         scan_interval: 5
  99.         data_type: float32
  100.         precision: 4
  101.         device_class: voltage
  102.       - name: Voltage L3-N
  103.         unique_id: IEM3155_Voltage_L3-N
  104.         unit_of_measurement: V
  105.         address: 0001
  106.         slave: 1
  107.         scan_interval: 5
  108.         data_type: float32
  109.         precision: 4
  110.         device_class: voltage
  111.       - name: Voltage L-N Avg
  112.         unique_id: IEM3155_Voltage_L-N_Avg
  113.         unit_of_measurement: V
  114.         address: 0001
  115.         slave: 1
  116.         scan_interval: 5
  117.         data_type: float32
  118.         precision: 4
  119.         device_class: voltage
  120.     #Power
  121.       - name: Active Power Phase 1
  122.         unique_id: IEM3155_Active_Power_Phase_1
  123.         unit_of_measurement: kW
  124.         address: 0001
  125.         slave: 1
  126.         scan_interval: 5
  127.         data_type: float32
  128.         device_class: power
  129.         scale: 1
  130.         precision: 4
  131.       - name: Active Power Phase 2
  132.         unique_id: IEM3155_Active_Power_Phase_2
  133.         unit_of_measurement: kW
  134.         address: 0001
  135.         slave: 1
  136.         scan_interval: 5
  137.         data_type: float32
  138.         device_class: power
  139.         scale: 1
  140.         precision: 4
  141.       - name: Active Power Phase 3
  142.         unique_id: IEM3155_Active_Power_Phase_3
  143.         unit_of_measurement: kW
  144.         address: 0001
  145.         slave: 1
  146.         scan_interval: 5
  147.         data_type: float32
  148.         device_class: power
  149.         scale: 1
  150.         precision: 4
  151.       - name: Total Active Power
  152.         unique_id: IEM3155_Total_Active_Power
  153.         unit_of_measurement: kW
  154.         address: 0001
  155.         slave: 1
  156.         scan_interval: 5
  157.         data_type: float32
  158.         device_class: power
  159.         precision: 4
  160.       - name: Total Reactive Power
  161.         unique_id: IEM3155_Total_Reactive_Power
  162.         unit_of_measurement: kVAR
  163.         address: 0001
  164.         slave: 1
  165.         scan_interval: 5
  166.         data_type: float32
  167.         device_class: power
  168.         precision: 4
  169.       - name: Total Apparent Power
  170.         unique_id: IEM3155_Total_Apparent_Power
  171.         unit_of_measurement: kVA
  172.         address: 0001
  173.         slave: 1
  174.         scan_interval: 5
  175.         data_type: float32
  176.         device_class: power
  177.         precision: 4
  178.     #Total Energy
  179.       - name: Total Active Energy Import
  180.         unique_id: IEM3155_Total_Active_Energy_Import
  181.         unit_of_measurement: kWh
  182.         address: 0001
  183.         slave: 1
  184.         scan_interval: 5
  185.         data_type: int64
  186.         device_class: energy
  187.         state_class: total_increasing
  188.         scale: .001
  189.         precision: 4
  190.       - name: Total Reactive Energy Import
  191.         unique_id: IEM3155_Total_Reactive_Energy_Import
  192.         unit_of_measurement: VARh
  193.         address: 0001
  194.         slave: 1
  195.         scan_interval: 5
  196.         data_type: int64
  197.         device_class: energy
  198.         state_class: total_increasing
  199.         scale: .001
  200.         precision: 4
  201.         #Frequency
  202.       - name: Frequency
  203.         unique_id: IEM3155_Frequency
  204.         unit_of_measurement: Hz
  205.         address: 0001
  206.         slave: 1
  207.         scan_interval: 5
  208.         data_type: float32
  209.         device_class: Frequency
  210.         precision: 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement