Eastron 630+usr-dr302

Szukałem błędu w kodzie, przepraszam bardzo

Obawiam się, że ten kod z jakiegoś powodu jest zniekształcony, a tak w ogóle to

Dzięki

Poniżej działający kod dla licznika Eastron 360 M2 i bramki Weveshere RS485/TCP


name: WSDEV0001
type: rtuovertcp
host: 192.168.1.10
port: 502

delay: 0
message_wait_milliseconds: 30
timeout: 5
sensors:


- address: 0x0
  data_type: float32
  input_type: input
  name: Phase 1 line to neutral volts
  precision: 2
  slave: 1
  unit_of_measurement: V
  
- address: 0x2
  data_type: float32
  input_type: input
  name: Phase 2 line to neutral volts
  precision: 2
  slave: 1
  unit_of_measurement: V
  
- address: 0x4
  data_type: float32
  input_type: input
  name: Phase 3 line to neutral volts
  precision: 2
  slave: 1
  unit_of_measurement: V
  
- address: 0x06
  data_type: float32
  input_type: input
  name: Phase 1 current
  precision: 2
  slave: 1
  unit_of_measurement: A
  
- address: 0x08
  data_type: float32
  input_type: input
  name: Phase 2 current
  precision: 2
  slave: 1
  unit_of_measurement: A
  
- address: 0x0a
  data_type: float32
  input_type: input
  name: Phase 3 current
  precision: 2
  slave: 1
  unit_of_measurement: A

- address: 0x0c
  data_type: float32
  input_type: input
  name: Faza 1 power
  precision: 2
  slave: 1
  unit_of_measurement: W

- address: 0x0e
  data_type: float32
  input_type: input
  name: Faza 2 power
  precision: 2
  slave: 1
  unit_of_measurement: W
  
- address: 0x10
  data_type: float32
  input_type: input
  name: Faza 3 power
  precision: 2
  slave: 1
  unit_of_measurement: W

  
- address: 0x34
  data_type: float32
  input_type: input
  name: Total system power.
  precision: 2
  slave: 1
  unit_of_measurement: W
  device_class: energy
  state_class: total_increasing
  
- address: 0x4a
  data_type: float32
  input_type: input
  name: Total Export kWh
  precision: 2
  slave: 1
  unit_of_measurement: kWh
  device_class: energy
  state_class: total_increasing
  
- address: 0x48
  data_type: float32
  input_type: input
  name: Total Import kWh
  precision: 2
  slave: 1
  unit_of_measurement: kWh
  device_class: energy
  state_class: total_increasing
  
- address: 0x156
  data_type: float32
  input_type: input
  name: Total kwh(3)
  precision: 2
  slave: 1
  unit_of_measurement: W
  device_class: energy
  state_class: total_increasing

- address: 0x15A
  data_type: float32
  input_type: input
  name: L1 import kwh
  precision: 2
  slave: 1
  unit_of_measurement: kWh
  device_class: energy
  state_class: total_increasing
  
- address: 0x15C
  data_type: float32
  input_type: input
  name: L2 import kwh
  precision: 2
  slave: 1
  unit_of_measurement: kWh
  device_class: energy
  state_class: total_increasing
  
- address: 0x15E
  data_type: float32
  input_type: input
  name: L3 import kwh
  precision: 2
  slave: 1
  unit_of_measurement: kWh
  device_class: energy
  state_class: total_increasing

- address: 0x160
  data_type: float32
  input_type: input
  name: L1 export kwh
  precision: 2
  slave: 1
  unit_of_measurement: kWh
  device_class: energy
  state_class: total_increasing
  
- address: 0x162
  data_type: float32
  input_type: input
  name: L2 export kwh
  precision: 2
  slave: 1
  unit_of_measurement: kWh
  device_class: energy
  state_class: total_increasing
  
- address: 0x164
  data_type: float32
  input_type: input
  name: L3 export kwh
  precision: 2
  slave: 1
  unit_of_measurement: kWh
  device_class: energy
  state_class: total_increasing
  
- address: 0x46
  data_type: float32
  input_type: input
  name: Frequency of supply voltages
  precision: 2
  slave: 1
  unit_of_measurement: Hz
  device_class: energy
  #state_class: total_increasing