3 PZEM in esp32 and two are working

Hi,
Installed 3 PZEM004T V3 in a esp32 board.
3 units are not working in same time. 2 is working fine. Yaml files are as follows.

'###
substitutions:
  device_name: grid

esphome:
  name: ${device_name}

esp32:
  board: esp32dev
  framework:
    type: arduino


logger:



api:

ota:
  password: "7369e8b5da6d7287bcadc162cddbf9dc"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

captive_portal:

modbus:
  - id: md3
    uart_id: pz3
  - id: md2
    uart_id: pz2
  - id: md1
    uart_id: pz1
  - uart_id: pz1  


uart:
  - id: pz1
    tx_pin: GPIO13
    rx_pin: GPIO14
    baud_rate: 9600
  - id: pz2
    tx_pin: GPIO27
    rx_pin: GPIO26
    baud_rate: 9600
    stop_bits: 1
  - id: pz3
    tx_pin: GPIO25
    rx_pin: GPIO35
    baud_rate: 9600
    stop_bits: 2

binary_sensor:
  - platform: status
    name: "${device_name} Status"


sensor:
  - platform: pzemac
    modbus_id: md1
    id: pzemac1
    energy:
      name: "energy_ac1"
      id: "energy_ac1"
      filters:
        - multiply: 0.002
      unit_of_measurement: kWh
      accuracy_decimals: 1
    current:
      name: "current_ac1"
      id: "current_ac1"
      accuracy_decimals: 1
    voltage:
      name: "voltage_ac1"
      id: "voltage_ac1"
      filters:
        - multiply: 1
      accuracy_decimals: 1
    frequency:
      name: "frequency_ac1"
      id: "frequency_ac1"
      accuracy_decimals: 1
    power_factor:
      name: "factor_ac1"
      id: "factor_ac1"
      accuracy_decimals: 1
    power:
      name: "power_ac1"
      id: "power_ac1"
      filters:
        - multiply: 1
      accuracy_decimals: 0
    update_interval: never

  - platform: pzemac
    modbus_id: md2
    id: pzemac2
    energy:
      name: "energy_ac2"
      id: "energy_ac2"
      filters:
        - multiply: 0.002
      unit_of_measurement: kWh
      accuracy_decimals: 1
    current:
      name: "current_ac2"
      id: "current_ac2"
      accuracy_decimals: 1
    voltage:
      name: "voltage_ac2"
      id: "voltage_ac2"
      filters:
        - multiply: 1
      accuracy_decimals: 1
    frequency:
      name: "frequency_ac2"
      id: "frequency_ac2"
      accuracy_decimals: 1
    power_factor:
      name: "factor_ac2"
      id: "factor_ac2"
      accuracy_decimals: 1
    power:
      name: "power_ac2"
      id: "power_ac2"
      filters:
        - multiply: 1
      accuracy_decimals: 0
    update_interval: never

  - platform: pzemac
    id: pzemac3
    modbus_id: md3
    energy:
      name: "energy_ac3"
      id: "energy_ac3"
      filters:
        - multiply: 0.002
      unit_of_measurement: kWh
      accuracy_decimals: 1
    current:
      name: "current_ac3"
      id: "current_ac3"
      accuracy_decimals: 1
    voltage:
      name: "voltage_ac3"
      id: "voltage_ac3"
      filters:
        - multiply: 1
      accuracy_decimals: 1
    frequency:
      name: "frequency_ac3"
      id: "frequency_ac3"
      accuracy_decimals: 1
    power_factor:
      name: "factor_ac3"
      id: "factor_ac3"
      accuracy_decimals: 1
    power:
      name: "power_ac3"
      id: "power_ac3"
      filters:
        - multiply: 1
      accuracy_decimals: 0
    update_interval: never

  - platform: total_daily_energy
    name: "energy_ac1_daily"
    power_id: power_ac1
    id: energy_ac1_daily
    unit_of_measurement: kWh
    accuracy_decimals: 1
    icon: mdi:counter
    filters:
      - multiply: 0.001

  - platform: total_daily_energy
    name: "energy_ac2_daily"
    power_id: power_ac2
    id: energy_ac2_daily
    unit_of_measurement: kWh
    accuracy_decimals: 1
    icon: mdi:counter
    filters:
      - multiply: 0.001

  - platform: total_daily_energy
    name: "energy_ac3_daily"
    power_id: power_ac3
    id: energy_ac3_daily
    unit_of_measurement: kWh
    accuracy_decimals: 1
    icon: mdi:counter
    filters:
      - multiply: 0.001

  - platform: template
    name: "total_power"
    id: "total_power"
    device_class: power
    state_class: measurement
    unit_of_measurement: W
    accuracy_decimals: 1
    lambda: |-
      return id(power_ac1).state + id(power_ac2).state + id(power_ac3).state ;

  - platform: template
    name: "energy_total_daily"
    id: "energy_total_daily"
    icon: mdi:counter
    device_class: energy
    state_class: measurement
    unit_of_measurement: kWh
    accuracy_decimals: 1
    lambda: |-
      return id(energy_ac1_daily).state + id(energy_ac2_daily).state + id(energy_ac3_daily).state ;


time:
  - platform: homeassistant
    id: homeassistant_time

switch:
  - platform: restart
    name: "${device_name}_Restart"


interval:
  - interval: 5s
    then:
      - delay: 150ms
      - lambda: "id(pzemac3).update();"
      - delay: 150ms
      - lambda: "id(pzemac2).update();"
      - delay: 150ms
      - lambda: "id(pzemac1).update();"
      
      
''###

Thanks & Regards,

Aslam

Why stop_bits: 2 ?

You can use only one uart if you change address of pzems

I tried as experiment

You need

logger:
  baud_rate: 0
1 Like

Still, its not showing third one. Log attached.

INFO Reading configuration /config/esphome/grid.yaml...
INFO Detected timezone 'Etc/UTC'
INFO Starting log output from grid.local using esphome API
INFO Successfully connected to grid.local
[16:32:46][I][app:102]: ESPHome version 2022.3.1 compiled on Apr 14 2022, 16:30:09
[16:32:46][C][wifi:491]: WiFi:
[16:32:46][C][wifi:353]:   Local MAC: 30:AE:A4:F8:14:BC
[16:32:46][C][wifi:354]:   SSID: 'Main'[redacted]
[16:32:46][C][wifi:355]:   IP Address: 172.16.1.152
[16:32:46][C][wifi:357]:   BSSID: 50:C7:BF:43:6E:E0[redacted]
[16:32:46][C][wifi:358]:   Hostname: 'grid'
[16:32:46][C][wifi:360]:   Signal strength: -64 dB ▂▄▆█
[16:32:46][C][wifi:364]:   Channel: 1
[16:32:46][C][wifi:365]:   Subnet: 255.255.255.0
[16:32:46][C][wifi:366]:   Gateway: 172.16.1.1
[16:32:46][C][wifi:367]:   DNS1: 102.104.44.16
[16:32:46][C][wifi:368]:   DNS2: 103.104.44.20
[16:32:46][C][logger:233]: Logger:
[16:32:46][C][logger:234]:   Level: DEBUG
[16:32:46][C][logger:235]:   Log Baud Rate: 0
[16:32:46][C][logger:236]:   Hardware UART: UART0
[16:32:46][C][uart.arduino_esp32:107]: UART Bus:
[16:32:46][C][uart.arduino_esp32:108]:   TX Pin: GPIO13
[16:32:46][C][uart.arduino_esp32:109]:   RX Pin: GPIO14
[16:32:46][C][uart.arduino_esp32:111]:   RX Buffer Size: 256
[16:32:46][C][uart.arduino_esp32:113]:   Baud Rate: 9600 baud
[16:32:46][C][uart.arduino_esp32:114]:   Data Bits: 8
[16:32:46][C][uart.arduino_esp32:115]:   Parity: NONE
[16:32:46][C][uart.arduino_esp32:116]:   Stop bits: 1
[16:32:46][C][uart.arduino_esp32:107]: UART Bus:
[16:32:46][C][uart.arduino_esp32:108]:   TX Pin: GPIO27
[16:32:46][C][uart.arduino_esp32:109]:   RX Pin: GPIO26
[16:32:46][C][uart.arduino_esp32:111]:   RX Buffer Size: 256
[16:32:46][C][uart.arduino_esp32:113]:   Baud Rate: 9600 baud
[16:32:46][C][uart.arduino_esp32:114]:   Data Bits: 8
[16:32:46][C][uart.arduino_esp32:115]:   Parity: NONE
[16:32:46][C][uart.arduino_esp32:116]:   Stop bits: 1
[16:32:46][C][uart.arduino_esp32:107]: UART Bus:
[16:32:46][C][uart.arduino_esp32:108]:   TX Pin: GPIO25
[16:32:46][C][uart.arduino_esp32:109]:   RX Pin: GPIO35
[16:32:46][C][uart.arduino_esp32:111]:   RX Buffer Size: 256
[16:32:46][C][uart.arduino_esp32:113]:   Baud Rate: 9600 baud
[16:32:46][C][uart.arduino_esp32:114]:   Data Bits: 8
[16:32:46][C][uart.arduino_esp32:115]:   Parity: NONE
[16:32:46][C][modbus:129]: Modbus:
[16:32:46][C][modbus:131]:   Send Wait Time: 250 ms
[16:32:46][C][modbus:129]: Modbus:
[16:32:46][C][modbus:131]:   Send Wait Time: 250 ms
[16:32:46][C][modbus:129]: Modbus:
[16:32:46][C][modbus:131]:   Send Wait Time: 250 ms
[16:32:46][C][modbus:129]: Modbus:
[16:32:46][C][modbus:131]:   Send Wait Time: 250 ms
[16:32:46][C][template.sensor:023]: Template Sensor 'total_power'
[16:32:46][C][template.sensor:023]:   Device Class: 'power'
[16:32:46][C][template.sensor:023]:   State Class: 'measurement'
[16:32:46][C][template.sensor:023]:   Unit of Measurement: 'W'
[16:32:46][C][template.sensor:023]:   Accuracy Decimals: 1
[16:32:46][C][template.sensor:024]:   Update Interval: 60.0s
[16:32:46][C][template.sensor:023]: Template Sensor 'energy_total_daily'
[16:32:46][C][template.sensor:023]:   Device Class: 'energy'
[16:32:46][C][template.sensor:023]:   State Class: 'measurement'
[16:32:46][C][template.sensor:023]:   Unit of Measurement: 'kWh'
[16:32:46][C][template.sensor:023]:   Accuracy Decimals: 1
[16:32:46][C][template.sensor:023]:   Icon: 'mdi:counter'
[16:32:46][C][template.sensor:024]:   Update Interval: 60.0s
[16:32:47][C][status:034]: Status Binary Sensor 'grid Status'
[16:32:47][C][status:034]:   Device Class: 'connectivity'
[16:32:47][C][pzemac:067]: PZEMAC:
[16:32:47][C][pzemac:068]:   Address: 0x01
[16:32:47][C][pzemac:069]: Voltage 'voltage_ac1'
[16:32:47][C][pzemac:069]:   Device Class: 'voltage'
[16:32:47][C][pzemac:069]:   State Class: 'measurement'
[16:32:47][C][pzemac:069]:   Unit of Measurement: 'V'
[16:32:47][C][pzemac:069]:   Accuracy Decimals: 1
[16:32:47][C][pzemac:070]: Current 'current_ac1'
[16:32:47][C][pzemac:070]:   Device Class: 'current'
[16:32:47][C][pzemac:070]:   State Class: 'measurement'
[16:32:47][C][pzemac:070]:   Unit of Measurement: 'A'
[16:32:47][C][pzemac:070]:   Accuracy Decimals: 1
[16:32:47][C][pzemac:071]: Power 'power_ac1'
[16:32:47][C][pzemac:071]:   Device Class: 'power'
[16:32:47][C][pzemac:071]:   State Class: 'measurement'
[16:32:47][C][pzemac:071]:   Unit of Measurement: 'W'
[16:32:47][C][pzemac:071]:   Accuracy Decimals: 0
[16:32:47][C][pzemac:072]: Energy 'energy_ac1'
[16:32:47][C][pzemac:072]:   Device Class: 'energy'
[16:32:47][C][pzemac:072]:   State Class: 'total_increasing'
[16:32:47][C][pzemac:072]:   Unit of Measurement: 'kWh'
[16:32:47][C][pzemac:072]:   Accuracy Decimals: 1
[16:32:47][C][pzemac:073]: Frequency 'frequency_ac1'
[16:32:47][C][pzemac:073]:   State Class: 'measurement'
[16:32:47][C][pzemac:073]:   Unit of Measurement: 'Hz'
[16:32:47][C][pzemac:073]:   Accuracy Decimals: 1
[16:32:47][C][pzemac:073]:   Icon: 'mdi:current-ac'
[16:32:47][C][pzemac:074]: Power Factor 'factor_ac1'
[16:32:47][C][pzemac:074]:   Device Class: 'power_factor'
[16:32:47][C][pzemac:074]:   State Class: 'measurement'
[16:32:47][C][pzemac:074]:   Unit of Measurement: ''
[16:32:47][C][pzemac:074]:   Accuracy Decimals: 1
[16:32:47][C][pzemac:067]: PZEMAC:
[16:32:47][C][pzemac:068]:   Address: 0x01
[16:32:47][C][pzemac:069]: Voltage 'voltage_ac2'
[16:32:47][C][pzemac:069]:   Device Class: 'voltage'
[16:32:47][C][pzemac:069]:   State Class: 'measurement'
[16:32:47][C][pzemac:069]:   Unit of Measurement: 'V'
[16:32:47][C][pzemac:069]:   Accuracy Decimals: 1
[16:32:47][C][pzemac:070]: Current 'current_ac2'
[16:32:47][C][pzemac:070]:   Device Class: 'current'
[16:32:47][C][pzemac:070]:   State Class: 'measurement'
[16:32:47][C][pzemac:070]:   Unit of Measurement: 'A'
[16:32:47][C][pzemac:070]:   Accuracy Decimals: 1
[16:32:47][C][pzemac:071]: Power 'power_ac2'
[16:32:47][C][pzemac:071]:   Device Class: 'power'
[16:32:47][C][pzemac:071]:   State Class: 'measurement'
[16:32:47][C][pzemac:071]:   Unit of Measurement: 'W'
[16:32:47][C][pzemac:071]:   Accuracy Decimals: 0
[16:32:47][C][pzemac:072]: Energy 'energy_ac2'
[16:32:47][C][pzemac:072]:   Device Class: 'energy'
[16:32:47][C][pzemac:072]:   State Class: 'total_increasing'
[16:32:47][C][pzemac:072]:   Unit of Measurement: 'kWh'
[16:32:47][C][pzemac:072]:   Accuracy Decimals: 1
[16:32:47][C][pzemac:073]: Frequency 'frequency_ac2'
[16:32:47][C][pzemac:073]:   State Class: 'measurement'
[16:32:47][C][pzemac:073]:   Unit of Measurement: 'Hz'
[16:32:47][C][pzemac:073]:   Accuracy Decimals: 1
[16:32:47][C][pzemac:073]:   Icon: 'mdi:current-ac'
[16:32:47][C][pzemac:074]: Power Factor 'factor_ac2'
[16:32:47][C][pzemac:074]:   Device Class: 'power_factor'
[16:32:47][C][pzemac:074]:   State Class: 'measurement'
[16:32:47][C][pzemac:074]:   Unit of Measurement: ''
[16:32:47][C][pzemac:074]:   Accuracy Decimals: 1
[16:32:47][C][pzemac:067]: PZEMAC:
[16:32:47][C][pzemac:068]:   Address: 0x01
[16:32:47][C][pzemac:069]: Voltage 'voltage_ac3'
[16:32:47][C][pzemac:069]:   Device Class: 'voltage'
[16:32:47][C][pzemac:069]:   State Class: 'measurement'
[16:32:47][C][pzemac:069]:   Unit of Measurement: 'V'
[16:32:47][C][pzemac:069]:   Accuracy Decimals: 1
[16:32:47][C][pzemac:070]: Current 'current_ac3'
[16:32:47][C][pzemac:070]:   Device Class: 'current'
[16:32:47][C][pzemac:070]:   State Class: 'measurement'
[16:32:47][C][pzemac:070]:   Unit of Measurement: 'A'
[16:32:47][C][pzemac:070]:   Accuracy Decimals: 1
[16:32:47][C][pzemac:071]: Power 'power_ac3'
[16:32:47][C][pzemac:071]:   Device Class: 'power'
[16:32:47][C][pzemac:071]:   State Class: 'measurement'
[16:32:47][C][pzemac:071]:   Unit of Measurement: 'W'
[16:32:47][C][pzemac:071]:   Accuracy Decimals: 0
[16:32:47][C][pzemac:072]: Energy 'energy_ac3'
[16:32:47][C][pzemac:072]:   Device Class: 'energy'
[16:32:47][C][pzemac:072]:   State Class: 'total_increasing'
[16:32:47][C][pzemac:072]:   Unit of Measurement: 'kWh'
[16:32:47][C][pzemac:072]:   Accuracy Decimals: 1
[16:32:47][C][pzemac:073]: Frequency 'frequency_ac3'
[16:32:47][C][pzemac:073]:   State Class: 'measurement'
[16:32:47][C][pzemac:073]:   Unit of Measurement: 'Hz'
[16:32:47][C][pzemac:073]:   Accuracy Decimals: 1
[16:32:47][C][pzemac:073]:   Icon: 'mdi:current-ac'
[16:32:47][C][pzemac:074]: Power Factor 'factor_ac3'
[16:32:47][C][pzemac:074]:   Device Class: 'power_factor'
[16:32:47][C][pzemac:074]:   State Class: 'measurement'
[16:32:47][C][pzemac:074]:   Unit of Measurement: ''
[16:32:47][C][pzemac:074]:   Accuracy Decimals: 1
[16:32:47][C][total_daily_energy:024]: Total Daily Energy 'energy_ac1_daily'
[16:32:47][C][total_daily_energy:024]:   Device Class: 'energy'
[16:32:47][C][total_daily_energy:024]:   State Class: 'total_increasing'
[16:32:47][C][total_daily_energy:024]:   Unit of Measurement: 'kWh'
[16:32:47][C][total_daily_energy:024]:   Accuracy Decimals: 1
[16:32:47][C][total_daily_energy:024]:   Icon: 'mdi:counter'
[16:32:47][C][total_daily_energy:024]: Total Daily Energy 'energy_ac2_daily'
[16:32:47][C][total_daily_energy:024]:   Device Class: 'energy'
[16:32:47][C][total_daily_energy:024]:   State Class: 'total_increasing'
[16:32:47][C][total_daily_energy:024]:   Unit of Measurement: 'kWh'
[16:32:47][C][total_daily_energy:024]:   Accuracy Decimals: 1
[16:32:47][C][total_daily_energy:024]:   Icon: 'mdi:counter'
[16:32:47][C][total_daily_energy:024]: Total Daily Energy 'energy_ac3_daily'
[16:32:47][C][total_daily_energy:024]:   Device Class: 'energy'
[16:32:47][C][total_daily_energy:024]:   State Class: 'total_increasing'
[16:32:47][C][total_daily_energy:024]:   Unit of Measurement: 'kWh'
[16:32:47][C][total_daily_energy:024]:   Accuracy Decimals: 1
[16:32:47][C][total_daily_energy:024]:   Icon: 'mdi:counter'
[16:32:47][C][homeassistant.time:010]: Home Assistant Time:
[16:32:47][C][homeassistant.time:011]:   Timezone: 'UTC0'
[16:32:47][C][restart:022]: Restart Switch 'grid_Restart'
[16:32:47][C][restart:022]:   Icon: 'mdi:restart'
[16:32:48][C][captive_portal:088]: Captive Portal:
[16:32:48][C][mdns:084]: mDNS:
[16:32:48][C][mdns:085]:   Hostname: grid
[16:32:48][C][ota:085]: Over-The-Air Updates:
[16:32:48][C][ota:086]:   Address: grid.local:3232
[16:32:48][C][ota:089]:   Using Password.
[16:32:48][C][api:138]: API Server:
[16:32:48][C][api:139]:   Address: grid.local:6053
[16:32:48][C][api:143]:   Using noise encryption: NO
[16:32:49][D][pzemac:050]: PZEM AC: V=217.6 V, I=5.122 A, P=1067.1 W, E=3107532.0 Wh, F=50.0 Hz, PF=0.96
[16:32:49][D][sensor:125]: 'voltage_ac2': Sending state 217.60001 V with 1 decimals of accuracy
[16:32:49][D][sensor:125]: 'current_ac2': Sending state 5.12200 A with 1 decimals of accuracy
[16:32:49][D][sensor:125]: 'power_ac2': Sending state 1067.09998 W with 0 decimals of accuracy
[16:32:49][D][sensor:125]: 'energy_ac2_daily': Sending state 5.92900 kWh with 1 decimals of accuracy
[16:32:49][D][sensor:125]: 'energy_ac2': Sending state 6215.06445 kWh with 1 decimals of accuracy
[16:32:49][D][sensor:125]: 'frequency_ac2': Sending state 50.00000 Hz with 1 decimals of accuracy
[16:32:49][D][sensor:125]: 'factor_ac2': Sending state 0.96000  with 1 decimals of accuracy
[16:32:49][D][pzemac:050]: PZEM AC: V=226.0 V, I=0.089 A, P=2.4 W, E=329559.0 Wh, F=50.0 Hz, PF=0.12
[16:32:49][D][sensor:125]: 'voltage_ac1': Sending state 226.00000 V with 1 decimals of accuracy
[16:32:49][D][sensor:125]: 'current_ac1': Sending state 0.08900 A with 1 decimals of accuracy
[16:32:49][D][sensor:125]: 'power_ac1': Sending state 2.40000 W with 0 decimals of accuracy
[16:32:49][D][sensor:125]: 'energy_ac1_daily': Sending state 1586.46265 kWh with 1 decimals of accuracy
[16:32:49][D][sensor:125]: 'energy_ac1': Sending state 659.11804 kWh with 1 decimals of accuracy
[16:32:49][D][sensor:125]: 'frequency_ac1': Sending state 50.00000 Hz with 1 decimals of accuracy
[16:32:49][D][sensor:125]: 'factor_ac1': Sending state 0.12000  with 1 decimals of accuracy
[16:32:53][D][esp32.preferences:114]: Saving preferences to flash...
[16:32:54][D][pzemac:050]: PZEM AC: V=217.7 V, I=5.177 A, P=1080.3 W, E=3107534.0 Wh, F=50.0 Hz, PF=0.96
[16:32:54][D][sensor:125]: 'voltage_ac2': Sending state 217.70000 V with 1 decimals of accuracy
[16:32:54][D][sensor:125]: 'current_ac2': Sending state 5.17700 A with 1 decimals of accuracy
[16:32:54][D][sensor:125]: 'power_ac2': Sending state 1080.30005 W with 0 decimals of accuracy
[16:32:54][D][sensor:125]: 'energy_ac2_daily': Sending state 5.93050 kWh with 1 decimals of accuracy
[16:32:54][D][sensor:125]: 'energy_ac2': Sending state 6215.06836 kWh with 1 decimals of accuracy
[16:32:54][D][sensor:125]: 'frequency_ac2': Sending state 50.00000 Hz with 1 decimals of accuracy
[16:32:54][D][sensor:125]: 'factor_ac2': Sending state 0.96000  with 1 decimals of accuracy
[16:32:54][D][pzemac:050]: PZEM AC: V=224.9 V, I=0.091 A, P=2.7 W, E=329559.0 Wh, F=50.0 Hz, PF=0.13
[16:32:54][D][sensor:125]: 'voltage_ac1': Sending state 224.89999 V with 1 decimals of accuracy
[16:32:54][D][sensor:125]: 'current_ac1': Sending state 0.09100 A with 1 decimals of accuracy
[16:32:54][D][sensor:125]: 'power_ac1': Sending state 2.70000 W with 0 decimals of accuracy
[16:32:54][D][sensor:125]: 'energy_ac1_daily': Sending state 1586.46265 kWh with 1 decimals of accuracy
[16:32:54][D][sensor:125]: 'energy_ac1': Sending state 659.11804 kWh with 1 decimals of accuracy
[16:32:54][D][sensor:125]: 'frequency_ac1': Sending state 50.00000 Hz with 1 decimals of accuracy
[16:32:54][D][sensor:125]: 'factor_ac1': Sending state 0.13000  with 1 decimals of accuracy
[16:32:54][D][sensor:125]: 'total_power': Sending state nan W with 1 decimals of accuracy
[16:32:59][D][pzemac:050]: PZEM AC: V=217.1 V, I=5.170 A, P=1077.0 W, E=3107535.0 Wh, F=50.0 Hz, PF=0.96
[16:32:59][D][sensor:125]: 'voltage_ac2': Sending state 217.10001 V with 1 decimals of accuracy
[16:32:59][D][sensor:125]: 'current_ac2': Sending state 5.17000 A with 1 decimals of accuracy
[16:32:59][D][sensor:125]: 'power_ac2': Sending state 1077.00000 W with 0 decimals of accuracy
[16:32:59][D][sensor:125]: 'energy_ac2_daily': Sending state 5.93200 kWh with 1 decimals of accuracy
[16:32:59][D][sensor:125]: 'energy_ac2': Sending state 6215.07031 kWh with 1 decimals of accuracy
[16:32:59][D][sensor:125]: 'frequency_ac2': Sending state 50.00000 Hz with 1 decimals of accuracy
[16:32:59][D][sensor:125]: 'factor_ac2': Sending state 0.96000  with 1 decimals of accuracy
[16:32:59][D][pzemac:050]: PZEM AC: V=226.3 V, I=0.089 A, P=2.4 W, E=329559.0 Wh, F=50.0 Hz, PF=0.12
[16:32:59][D][sensor:125]: 'voltage_ac1': Sending state 226.30000 V with 1 decimals of accuracy
[16:32:59][D][sensor:125]: 'current_ac1': Sending state 0.08900 A with 1 decimals of accuracy
[16:32:59][D][sensor:125]: 'power_ac1': Sending state 2.40000 W with 0 decimals of accuracy
[16:32:59][D][sensor:125]: 'energy_ac1_daily': Sending state 1586.46265 kWh with 1 decimals of accuracy
[16:32:59][D][sensor:125]: 'energy_ac1': Sending state 659.11804 kWh with 1 decimals of accuracy
[16:32:59][D][sensor:125]: 'frequency_ac1': Sending state 50.00000 Hz with 1 decimals of accuracy
[16:32:59][D][sensor:125]: 'factor_ac1': Sending state 0.12000  with 1 decimals of accuracy
[16:33:04][D][pzemac:050]: PZEM AC: V=217.4 V, I=5.198 A, P=1082.9 W, E=3107537.0 Wh, F=50.0 Hz, PF=0.96
[16:33:04][D][sensor:125]: 'voltage_ac2': Sending state 217.39999 V with 1 decimals of accuracy
[16:33:04][D][sensor:125]: 'current_ac2': Sending state 5.19800 A with 1 decimals of accuracy
[16:33:04][D][sensor:125]: 'power_ac2': Sending state 1082.90002 W with 0 decimals of accuracy
[16:33:04][D][sensor:125]: 'energy_ac2_daily': Sending state 5.93350 kWh with 1 decimals of accuracy
[16:33:04][D][sensor:125]: 'energy_ac2': Sending state 6215.07422 kWh with 1 decimals of accuracy
[16:33:04][D][sensor:125]: 'frequency_ac2': Sending state 50.00000 Hz with 1 decimals of accuracy
[16:33:04][D][sensor:125]: 'factor_ac2': Sending state 0.96000  with 1 decimals of accuracy
[16:33:04][D][pzemac:050]: PZEM AC: V=224.7 V, I=0.091 A, P=2.7 W, E=329559.0 Wh, F=50.0 Hz, PF=0.13
[16:33:04][D][sensor:125]: 'voltage_ac1': Sending state 224.70000 V with 1 decimals of accuracy
[16:33:04][D][sensor:125]: 'current_ac1': Sending state 0.09100 A with 1 decimals of accuracy
[16:33:04][D][sensor:125]: 'power_ac1': Sending state 2.70000 W with 0 decimals of accuracy
[16:33:04][D][sensor:125]: 'energy_ac1_daily': Sending state 1586.46265 kWh with 1 decimals of accuracy
[16:33:04][D][sensor:125]: 'energy_ac1': Sending state 659.11804 kWh with 1 decimals of accuracy
[16:33:04][D][sensor:125]: 'frequency_ac1': Sending state 50.00000 Hz with 1 decimals of accuracy
[16:33:04][D][sensor:125]: 'factor_ac1': Sending state 0.13000  with 1 decimals of accuracy

Changed. but not working

Aslam

Same problem here bro, Got any solution for it?