syssi / esphome-pipsolar

ESPHome component to monitor and control a pipsolar inverter via RS232
Apache License 2.0
89 stars 39 forks source link

Verify WKS EVO CIRCLE compatibility #68

Closed Tikaminou closed 1 year ago

Tikaminou commented 1 year ago

Hello, Thanks a lot for this great work. Unfortunately, it doesn’t work on my side. Inverter: WKS EVO CIRCLE.

image

Connections:

ESP32 <-> RS232/TTL 3V3 <-> VCC RX <-> TX TX <-> RX GND <-> GND

image

image

image

Yaml

substitutions:
  name: esphome-web-3d3788
  tx_pin: GPIO1
  rx_pin: GPIO3

esphome:
  name: ${name}
  platform: ESP32
  board: esp32dev
  friendly_name: ESPHome WKS

api:
  encryption:
    key: "xxx"

ota:

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

  ap:
    ssid: "Esphome-Web-3D3788"
    password: "xxx"

captive_portal:

logger:
  baud_rate: 0

uart:
  - id: uart0
    baud_rate: 2400
    tx_pin: ${tx_pin}
    rx_pin: ${rx_pin}
    debug:
      direction: BOTH
      dummy_receiver: false
      after:
        delimiter: "\r"
      sequence:
        - lambda: UARTDebug::log_string(direction, bytes);

pipsolar:
  uart_id: uart0
  id: inverter0

sensor:
  - platform: pipsolar
    pipsolar_id: inverter0

    grid_voltage:
      name: "${name} grid_voltage"
    grid_frequency:
      name: "${name} grid_frequency"
    ac_output_voltage:
      name: "${name} ac_output_voltage"
    ac_output_frequency:
      name: "${name} ac_output_frequency"
    ac_output_apparent_power:
      name: "${name} ac_output_apparent_power"
    ac_output_active_power:
      name: "${name} ac_output_active_power"
    output_load_percent:
      name: "${name} output_load_percent"
    bus_voltage:
      name: "${name} bus_voltage"
    battery_voltage:
      name: "${name} battery_voltage"
    battery_charging_current:
      name: "${name} battery_charging_current"
    battery_capacity_percent:
      name: "${name} battery_capacity_percent"
    inverter_heat_sink_temperature:
      name: "${name} inverter_heat_sink_temperature"
    pv_input_current_for_battery:
      name: "${name} pv_input_current_for_battery"
    pv_input_voltage:
      name: "${name} pv_input_voltage"
    battery_voltage_scc:
      name: "${name} battery_voltage_scc"
    battery_discharge_current:
      name: "${name} battery_discharge_current"
    battery_voltage_offset_for_fans_on:
      name: "${name} battery_voltage_offset_for_fans_on"
    pv_charging_power:
      name: "${name} pv_charging_power"

Logs

======================== [SUCCESS] Took 149.94 seconds ======================== 
INFO Successfully compiled program. 
INFO Resolving IP address of esphome-web-3d3788.local 
INFO -> 192.168.1.50 
INFO Uploading /data/esphome-web-3d3788/.pioenvs/esphome-web-3d3788/firmware.bin (962336 bytes) 
Uploading: [============================================================] 100% Done... INFO Waiting for result... 
INFO OTA successful INFO Successfully uploaded program. 
INFO Starting log output from esphome-web-3d3788.local using esphome API 
INFO Successfully connected to esphome-web-3d3788.local 
[18:44:08][I][app:102]: ESPHome version 2023.3.2 compiled on Apr 12 2023, 18:42:35 
[18:44:08][C][wifi:504]: WiFi: 
[18:44:08][C][wifi:362]: Local MAC: 40:22:D8:3D:37:88 
[18:44:08][C][wifi:363]: SSID: 'Livebox-8C62'[redacted] 
[18:44:08][C][wifi:364]: IP Address: 192.168.1.50 
[18:44:08][C][wifi:366]: BSSID: AC:84:C9:28:8C:62[redacted] 
[18:44:08][C][wifi:367]: Hostname: 'esphome-web-3d3788' 
[18:44:08][C][wifi:369]: Signal strength: -85 dB ▂▄▆█ 
[18:44:08][C][wifi:373]: Channel: 11 
[18:44:08][C][wifi:374]: Subnet: 255.255.255.0 
[18:44:08][C][wifi:375]: Gateway: 192.168.1.1 
[18:44:08][C][wifi:376]: DNS1: 192.168.1.1 
[18:44:08][C][wifi:377]: DNS2: 0.0.0.0 
[18:44:08][C][logger:293]: Logger: 
[18:44:08][C][logger:294]: Level: DEBUG 
[18:44:08][C][logger:295]: Log Baud Rate: 0 
[18:44:08][C][logger:296]: Hardware UART: UART0 
[18:44:08][C][uart.arduino_esp32:108]: UART Bus 0: 
[18:44:08][C][uart.arduino_esp32:109]: TX Pin: GPIO1 
[18:44:08][C][uart.arduino_esp32:110]: RX Pin: GPIO3 
[18:44:08][C][uart.arduino_esp32:112]: RX Buffer Size: 256 
[18:44:08][C][uart.arduino_esp32:114]: Baud Rate: 2400 baud 
[18:44:08][C][uart.arduino_esp32:115]: Data Bits: 8 
[18:44:08][C][uart.arduino_esp32:116]: Parity: NONE 
[18:44:08][C][uart.arduino_esp32:117]: Stop bits: 1 
[18:44:08][C][pipsolar:860]: Pipsolar: 
[18:44:08][C][pipsolar:861]: used commands: 
[18:44:08][C][pipsolar:864]: QPIGS 
[18:44:08][C][captive_portal:088]: Captive Portal: 
[18:44:08][C][mdns:108]: mDNS: 
[18:44:08][C][mdns:109]: Hostname: esphome-web-3d3788 
[18:44:08][C][ota:093]: Over-The-Air Updates: 
[18:44:08][C][ota:094]: Address: esphome-web-3d3788.local:3232 
[18:44:08][C][api:138]: API Server: 
[18:44:08][C][api:139]: Address: esphome-web-3d3788.local:6053 
[18:44:08][C][api:141]: Using noise encryption: YES 
[18:44:11][D][pipsolar:755]: timeout command to poll: QPIGS 
[18:44:11][D][uart_debug:158]: >>> "QPIGS\xB7\xA9\r" 
[18:44:11][D][pipsolar:838]: Sending polling command : QPIGS with length 5 
[18:44:16][D][api:102]: Accepted 192.168.1.39 
[18:44:16][D][api.connection:920]: Home Assistant 2023.4.2 (192.168.1.39): Connected successfully 
[18:44:16][D][pipsolar:755]: timeout command to poll: QPIGS 
[18:44:16][D][uart_debug:158]: >>> "QPIGS\xB7\xA9\r" 
[18:44:16][D][pipsolar:838]: Sending polling command : QPIGS with length 5 
[18:44:21][D][pipsolar:755]: timeout command to poll: QPIGS 
[18:44:21][D][uart_debug:158]: >>> "QPIGS\xB7\xA9\r" 
[18:44:21][D][pipsolar:838]: Sending polling command : QPIGS with length 5 
[18:44:26][D][pipsolar:755]: timeout command to poll: QPIGS 
[18:44:26][D][uart_debug:158]: >>> "QPIGS\xB7\xA9\r" 
[18:44:26][D][pipsolar:838]: Sending polling command : QPIGS with length 5 
[18:44:31][D][pipsolar:755]: timeout command to poll: QPIGS 
[18:44:31][D][uart_debug:158]: >>> "QPIGS\xB7\xA9\r" 
[18:44:31][D][pipsolar:838]: Sending polling command : QPIGS with length 5 
[18:44:36][D][pipsolar:755]: timeout command to poll: QPIGS 
[18:44:36][D][uart_debug:158]: >>> "QPIGS\xB7\xA9\r" 
[18:44:36][D][pipsolar:838]: Sending polling command : QPIGS with length 5

Then I tested the “test protocol”.

Yaml

substitutions:
  name: esphome-web-3d3788
  tx_pin: GPIO1
  rx_pin: GPIO3

esphome:
  name: ${name}
  platform: ESP32
  board: esp32dev
  friendly_name: ESPHome WKS

api:
  encryption:
    key: "xxx"

ota:

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

  ap:
    ssid: "Esphome-Web-3D3788"
    password: "xxx"

captive_portal:

logger:
  baud_rate: 0

uart:
  - id: uart0
    baud_rate: 2400
    tx_pin: ${tx_pin}
    rx_pin: ${rx_pin}
    debug:
      direction: BOTH
      dummy_receiver: true
      after:
        delimiter: "\r"
      sequence:
        - lambda: UARTDebug::log_string(direction, bytes);

interval:
  - interval: 30s
    then:
      - uart.write: "QPI\r"
      - delay: 2s

      - uart.write: "^P003PI\r"
      - delay: 2s

      - uart.write: "^P005PIq\x8b\r"
      - delay: 2s

      - uart.write: "QPI\xbe\xac\r"
      - delay: 2s

      - uart.write: "QDIq\x1b\r"
      - delay: 2s
      - uart.write: "QPIRI\xF8T\r"
      - delay: 2s
      - uart.write: "QPIGS\xB7\xA9\r"
      - delay: 2s
      - uart.write: "QMODI\xC1\r"
      - delay: 2s
      - uart.write: "QFLAG\x98t\r"

Logs

INFO Reading configuration /config/esphome/esphome-web-3d3788.yaml... 
INFO Starting log output from esphome-web-3d3788.local using esphome API 
INFO Successfully connected to esphome-web-3d3788.local 
[18:32:06][I][app:102]: ESPHome version 2023.3.2 compiled on Apr 12 2023, 18:21:54 
[18:32:06][C][wifi:504]: WiFi: 
[18:32:06][C][wifi:362]: Local MAC: 40:22:D8:3D:37:88 
[18:32:06][C][wifi:363]: SSID: 'Livebox-8C62'[redacted] 
[18:32:06][C][wifi:364]: IP Address: 192.168.1.50 
[18:32:06][C][wifi:366]: BSSID: AC:84:C9:28:8C:62[redacted] 
[18:32:06][C][wifi:367]: Hostname: 'esphome-web-3d3788' 
[18:32:06][C][wifi:369]: Signal strength: -74 dB ▂▄▆█ 
[18:32:06][C][wifi:373]: Channel: 11 
[18:32:06][C][wifi:374]: Subnet: 255.255.255.0 
[18:32:06][C][wifi:375]: Gateway: 192.168.1.1 
[18:32:06][C][wifi:376]: DNS1: 192.168.1.1 
[18:32:06][C][wifi:377]: DNS2: 0.0.0.0 
[18:32:06][C][logger:293]: Logger: 
[18:32:06][C][logger:294]: Level: DEBUG 
[18:32:06][C][logger:295]: Log Baud Rate: 0 
[18:32:06][C][logger:296]: Hardware UART: UART0 
[18:32:06][C][uart.arduino_esp32:108]: UART Bus 0: 
[18:32:06][C][uart.arduino_esp32:109]: TX Pin: GPIO1 
[18:32:06][C][uart.arduino_esp32:110]: RX Pin: GPIO3 
[18:32:06][C][uart.arduino_esp32:112]: RX Buffer Size: 256 
[18:32:06][C][uart.arduino_esp32:114]: Baud Rate: 2400 baud 
[18:32:06][C][uart.arduino_esp32:115]: Data Bits: 8 
[18:32:06][C][uart.arduino_esp32:116]: Parity: NONE 
[18:32:06][C][uart.arduino_esp32:117]: Stop bits: 1 
[18:32:07][C][captive_portal:088]: Captive Portal: 
[18:32:07][C][mdns:108]: mDNS: 
[18:32:07][C][mdns:109]: Hostname: esphome-web-3d3788 
[18:32:07][C][ota:093]: Over-The-Air Updates: 
[18:32:07][C][ota:094]: Address: esphome-web-3d3788.local:3232 
[18:32:07][C][api:138]: API Server: 
[18:32:07][C][api:139]: Address: esphome-web-3d3788.local:6053 
[18:32:07][C][api:141]: Using noise encryption: YES 
[18:32:07][D][uart_debug:158]: >>> "QPIRI\xC3\xB8T\r" 
[18:32:09][D][uart_debug:158]: >>> "QPIGS\xC2\xB7\xC2\xA9\r" 
[18:32:11][D][uart_debug:158]: >>> "QMODI\xC3\x81\r" 
[18:32:13][D][uart_debug:158]: >>> "QFLAG\xC2\x98t\r" 
[18:32:27][D][uart_debug:158]: >>> "QPI\r" 
[18:32:29][D][uart_debug:158]: >>> "^P003PI\r" 
[18:32:31][D][uart_debug:158]: >>> "^P005PIq\xC2\x8B\r" 
[18:32:33][D][uart_debug:158]: >>> "QPI\xC2\xBE\xC2\xAC\r" 
[18:32:35][D][uart_debug:158]: >>> "QDIq\e\r" 
[18:32:37][D][uart_debug:158]: >>> "QPIRI\xC3\xB8T\r" 
[18:32:39][D][uart_debug:158]: >>> "QPIGS\xC2\xB7\xC2\xA9\r" 

I was not sure of the connection TX <-> RX, so I tested to switch them :

ESP32 <-> RS232/TTL 3V3 <-> VCC RX <-> RX TX <-> TX GND <-> GND

image

Yaml (same)

substitutions: name: esphome-web-3d3788 tx_pin: GPIO1 rx_pin: GPIO3

esphome: name: ${name} platform: ESP32 board: esp32dev friendly_name: ESPHome WKS

api: encryption: key: "xxx"

ota:

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

ap: ssid: "Esphome-Web-3D3788" password: "xxx"

captive_portal:

logger: baud_rate: 0

uart:

pipsolar: uart_id: uart0 id: inverter0

sensor:


Logs

========================= [SUCCESS] Took 75.71 seconds ========================= INFO Successfully compiled program. INFO Resolving IP address of esphome-web-3d3788.local INFO -> 192.168.1.50 INFO Uploading /data/esphome-web-3d3788/.pioenvs/esphome-web-3d3788/firmware.bin (962336 bytes) Uploading: [============================================================] 100% Done... INFO Waiting for result... INFO OTA successful INFO Successfully uploaded program. INFO Starting log output from esphome-web-3d3788.local using esphome API INFO Successfully connected to esphome-web-3d3788.local

[19:18:41][C][wifi:362]: Local MAC: 40:22:D8:3D:37:88 [19:18:41][C][wifi:363]: SSID: 'Livebox-8C62'[redacted] [19:18:41][C][wifi:364]: IP Address: 192.168.1.50 [19:18:41][C][wifi:366]: BSSID: AC:84:C9:28:8C:62[redacted]

[19:18:41][C][wifi:369]: Signal strength: -87 dB ▂▄▆█ [19:18:41][C][wifi:373]: Channel: 11 [19:18:41][C][wifi:374]: Subnet: 255.255.255.0 [19:18:41][C][wifi:375]: Gateway: 192.168.1.1 [19:18:41][C][wifi:376]: DNS1: 192.168.1.1 [19:18:41][C][wifi:377]: DNS2: 0.0.0.0

[19:18:41][C][logger:294]: Level: DEBUG [19:18:41][C][logger:295]: Log Baud Rate: 0 [19:18:41][C][logger:296]: Hardware UART: UART0 [19:18:41][C][uart.arduino_esp32:108]: UART Bus 0: [19:18:41][C][uart.arduino_esp32:109]: TX Pin: GPIO1 [19:18:41][C][uart.arduino_esp32:110]: RX Pin: GPIO3 [19:18:41][C][uart.arduino_esp32:112]: RX Buffer Size: 256 [19:18:41][C][uart.arduino_esp32:114]: Baud Rate: 2400 baud [19:18:41][C][uart.arduino_esp32:115]: Data Bits: 8 [19:18:41][C][uart.arduino_esp32:116]: Parity: NONE [19:18:41][C][uart.arduino_esp32:117]: Stop bits: 1

[19:18:41][C][pipsolar:861]: used commands:

[19:18:41][C][captive_portal:088]: Captive Portal:

[19:18:41][C][mdns:109]: Hostname: esphome-web-3d3788 [19:18:41][C][ota:093]: Over-The-Air Updates: [19:18:41][C][ota:094]: Address: esphome-web-3d3788.local:3232 [19:18:41][C][api:138]: API Server: [19:18:41][C][api:139]: Address: esphome-web-3d3788.local:6053 [19:18:41][C][api:141]: Using noise encryption: YES [19:18:42][D][pipsolar:755]: timeout command to poll: QPIGS

[19:18:42][D][pipsolar:838]: Sending polling command : QPIGS with length 5 [19:18:47][D][pipsolar:755]: timeout command to poll: QPIGS

[19:18:47][D][pipsolar:838]: Sending polling command : QPIGS with length 5 [19:18:52][D][pipsolar:755]: timeout command to poll: QPIGS

[19:18:52][D][pipsolar:838]: Sending polling command : QPIGS with length 5 [19:18:57][D][pipsolar:755]: timeout command to poll: QPIGS

[19:18:57][D][pipsolar:838]: Sending polling command : QPIGS with length 5


Then the “test protocol”

Yaml

substitutions: name: esphome-web-3d3788 tx_pin: GPIO1 rx_pin: GPIO3

esphome: name: ${name} platform: ESP32 board: esp32dev friendly_name: ESPHome WKS

api: encryption: key: "xxx"

ota:

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

ap: ssid: "Esphome-Web-3D3788" password: "xxx"

captive_portal:

logger: baud_rate: 0

uart:

interval:


Logs

======================== [SUCCESS] Took 143.02 seconds ======================== INFO Successfully compiled program. INFO Resolving IP address of esphome-web-3d3788.local INFO -> 192.168.1.50 INFO Uploading /data/esphome-web-3d3788/.pioenvs/esphome-web-3d3788/firmware.bin (916768 bytes) Uploading: [============================================================] 100% Done... INFO Waiting for result... INFO OTA successful INFO Successfully uploaded program. INFO Starting log output from esphome-web-3d3788.local using esphome API INFO Successfully connected to esphome-web-3d3788.local [19:23:55][I][app:102]: ESPHome version 2023.3.2 compiled on Apr 12 2023, 19:22:19

[19:23:55][C][wifi:362]: Local MAC: 40:22:D8:3D:37:88 [19:23:55][C][wifi:363]: SSID: 'Livebox-8C62'[redacted] [19:23:56][C][wifi:364]: IP Address: 192.168.1.50 [19:23:56][C][wifi:366]: BSSID: AC:84:C9:28:8C:62[redacted]

[19:23:56][C][wifi:369]: Signal strength: -87 dB ▂▄▆█ [19:23:56][C][wifi:373]: Channel: 11 [19:23:56][C][wifi:374]: Subnet: 255.255.255.0 [19:23:56][C][wifi:375]: Gateway: 192.168.1.1 [19:23:56][C][wifi:376]: DNS1: 192.168.1.1 [19:23:56][C][wifi:377]: DNS2: 0.0.0.0

[19:23:56][C][logger:294]: Level: DEBUG [19:23:56][C][logger:295]: Log Baud Rate: 0 [19:23:56][C][logger:296]: Hardware UART: UART0 [19:23:56][C][captive_portal:088]: Captive Portal:

[19:23:56][C][mdns:109]: Hostname: esphome-web-3d3788 [19:23:56][C][ota:093]: Over-The-Air Updates: [19:23:56][C][ota:094]: Address: esphome-web-3d3788.local:3232 [19:23:56][C][api:138]: API Server: [19:23:56][C][api:139]: Address: esphome-web-3d3788.local:6053 [19:23:56][C][api:141]: Using noise encryption: YES

[19:23:58][D][api:102]: Accepted 192.168.1.39 [19:23:58][D][api.connection:920]: Home Assistant 2023.4.2 (192.168.1.39): Connected successfully

Thank you for your help. Mathieu.

syssi commented 1 year ago

Thanks for the issue with all the important details included. Please double check the VCC and GND connection of the RS232 converter. It looks like the power LED isn't on.

Tikaminou commented 1 year ago

Hi Sebastian, Thank you for your help. The power led is blinking, I took another picture when it is on.

image

However, I checked the voltage, it seems OK (picture below).

image

image

I also check the connection on RJ45/serial cable (picture below), but it seems not correct (compared with the documentation). It is a standard cable, I didn’t make any modification. Therefore I built a custom cable with correct mapping.

Standard cable mapping currently used:

image

The documentation:

image

This is my new custom cable:

image

image

Seems OK compared to the documentation.

I connected this to my WKS and the led of the TTL/RS232 converter doesn’t blink anymore!

image

I tested again the program:

======================== [SUCCESS] Took 152.26 seconds ======================== INFO Successfully compiled program. INFO Resolving IP address of esphome-web-3d3788.local INFO -> 192.168.1.50 INFO Uploading /data/esphome-web-3d3788/.pioenvs/esphome-web-3d3788/firmware.bin (962336 bytes) Uploading: [============================================================] 100% Done... INFO Waiting for result... INFO OTA successful INFO Successfully uploaded program. INFO Starting log output from esphome-web-3d3788.local using esphome API INFO Successfully connected to esphome-web-3d3788.local [16:57:55][I][app:102]: ESPHome version 2023.3.2 compiled on Apr 13 2023, 16:56:29

[16:57:55][C][wifi:362]: Local MAC: 40:22:D8:3D:37:88 [16:57:55][C][wifi:363]: SSID: 'Livebox-8C62'[redacted] [16:57:55][C][wifi:364]: IP Address: 192.168.1.50 [16:57:55][C][wifi:366]: BSSID: AC:84:C9:28:8C:62[redacted]

[16:57:55][C][wifi:369]: Signal strength: -75 dB ▂▄▆█ [16:57:55][C][wifi:373]: Channel: 11 [16:57:55][C][wifi:374]: Subnet: 255.255.255.0 [16:57:55][C][wifi:375]: Gateway: 192.168.1.1 [16:57:55][C][wifi:376]: DNS1: 192.168.1.1 [16:57:55][C][wifi:377]: DNS2: 0.0.0.0

[16:57:55][C][logger:294]: Level: DEBUG [16:57:55][C][logger:295]: Log Baud Rate: 0 [16:57:55][C][logger:296]: Hardware UART: UART0 [16:57:55][C][uart.arduino_esp32:108]: UART Bus 0: [16:57:55][C][uart.arduino_esp32:109]: TX Pin: GPIO1 [16:57:55][C][uart.arduino_esp32:110]: RX Pin: GPIO3 [16:57:55][C][uart.arduino_esp32:112]: RX Buffer Size: 256 [16:57:55][C][uart.arduino_esp32:114]: Baud Rate: 2400 baud [16:57:55][C][uart.arduino_esp32:115]: Data Bits: 8 [16:57:55][C][uart.arduino_esp32:116]: Parity: NONE [16:57:55][C][uart.arduino_esp32:117]: Stop bits: 1

[16:57:55][C][pipsolar:861]: used commands:

[16:57:55][C][captive_portal:088]: Captive Portal:

[16:57:55][C][mdns:109]: Hostname: esphome-web-3d3788 [16:57:55][C][ota:093]: Over-The-Air Updates: [16:57:55][C][ota:094]: Address: esphome-web-3d3788.local:3232 [16:57:55][C][api:138]: API Server: [16:57:55][C][api:139]: Address: esphome-web-3d3788.local:6053 [16:57:55][C][api:141]: Using noise encryption: YES [16:57:57][D][api:102]: Accepted 192.168.1.39 [16:57:57][D][api.connection:920]: Home Assistant 2023.4.2 (192.168.1.39): Connected successfully [16:57:58][D][pipsolar:755]: timeout command to poll: QPIGS

[16:57:58][D][pipsolar:838]: Sending polling command : QPIGS with length 5 [16:58:03][D][pipsolar:755]: timeout command to poll: QPIGS

[16:58:03][D][pipsolar:838]: Sending polling command : QPIGS with length 5 [16:58:08][D][pipsolar:755]: timeout command to poll: QPIGS

[16:58:08][D][pipsolar:838]: Sending polling command : QPIGS with length 5 [16:58:13][D][pipsolar:755]: timeout command to poll: QPIGS

[16:58:13][D][pipsolar:838]: Sending polling command : QPIGS with length 5 [16:58:18][D][pipsolar:755]: timeout command to poll: QPIGS


And the test protocol program:

========================= [SUCCESS] Took 72.77 seconds ========================= INFO Successfully compiled program. INFO Resolving IP address of esphome-web-3d3788.local INFO -> 192.168.1.50 INFO Uploading /data/esphome-web-3d3788/.pioenvs/esphome-web-3d3788/firmware.bin (916768 bytes) Uploading: [============================================================] 100% Done... INFO Waiting for result... INFO OTA successful INFO Successfully uploaded program. INFO Starting log output from esphome-web-3d3788.local using esphome API INFO Successfully connected to esphome-web-3d3788.local [16:33:11][I][app:102]: ESPHome version 2023.3.2 compiled on Apr 13 2023, 16:31:53

[16:33:11][C][wifi:362]: Local MAC: 40:22:D8:3D:37:88 [16:33:11][C][wifi:363]: SSID: 'Livebox-8C62'[redacted] [16:33:11][C][wifi:364]: IP Address: 192.168.1.50 [16:33:11][C][wifi:366]: BSSID: AC:84:C9:28:8C:62[redacted]

[16:33:11][C][wifi:369]: Signal strength: -78 dB ▂▄▆█ [16:33:11][C][wifi:373]: Channel: 11 [16:33:11][C][wifi:374]: Subnet: 255.255.255.0 [16:33:11][C][wifi:375]: Gateway: 192.168.1.1 [16:33:11][C][wifi:376]: DNS1: 192.168.1.1 [16:33:11][C][wifi:377]: DNS2: 0.0.0.0

[16:33:11][C][logger:294]: Level: DEBUG [16:33:11][C][logger:295]: Log Baud Rate: 0 [16:33:11][C][logger:296]: Hardware UART: UART0 [16:33:11][C][uart.arduino_esp32:108]: UART Bus 0: [16:33:11][C][uart.arduino_esp32:109]: TX Pin: GPIO1 [16:33:11][C][uart.arduino_esp32:110]: RX Pin: GPIO3 [16:33:11][C][uart.arduino_esp32:112]: RX Buffer Size: 256 [16:33:11][C][uart.arduino_esp32:114]: Baud Rate: 2400 baud [16:33:11][C][uart.arduino_esp32:115]: Data Bits: 8 [16:33:11][C][uart.arduino_esp32:116]: Parity: NONE [16:33:11][C][uart.arduino_esp32:117]: Stop bits: 1 [16:33:11][C][captive_portal:088]: Captive Portal:

[16:33:11][C][mdns:109]: Hostname: esphome-web-3d3788 [16:33:11][C][ota:093]: Over-The-Air Updates: [16:33:11][C][ota:094]: Address: esphome-web-3d3788.local:3232 [16:33:11][C][api:138]: API Server: [16:33:11][C][api:139]: Address: esphome-web-3d3788.local:6053 [16:33:11][C][api:141]: Using noise encryption: YES

[16:33:13][D][api:102]: Accepted 192.168.1.39 [16:33:13][D][api.connection:920]: Home Assistant 2023.4.2 (192.168.1.39): Connected successfully


I tested changed the TX/RX connection between TTL/RS232 converter and ESP32 just in case.

INFO Reading configuration /config/esphome/esphome-web-3d3788.yaml... INFO Starting log output from esphome-web-3d3788.local using esphome API INFO Successfully connected to esphome-web-3d3788.local [16:46:21][I][app:102]: ESPHome version 2023.3.2 compiled on Apr 13 2023, 16:31:53

[16:46:21][C][wifi:362]: Local MAC: 40:22:D8:3D:37:88 [16:46:21][C][wifi:363]: SSID: 'Livebox-8C62'[redacted] [16:46:21][C][wifi:364]: IP Address: 192.168.1.50 [16:46:21][C][wifi:366]: BSSID: AC:84:C9:28:8C:62[redacted]

[16:46:21][C][wifi:369]: Signal strength: -76 dB ▂▄▆█ [16:46:21][C][wifi:373]: Channel: 11 [16:46:21][C][wifi:374]: Subnet: 255.255.255.0 [16:46:21][C][wifi:375]: Gateway: 192.168.1.1 [16:46:21][C][wifi:376]: DNS1: 192.168.1.1 [16:46:21][C][wifi:377]: DNS2: 0.0.0.0

[16:46:21][C][logger:294]: Level: DEBUG [16:46:21][C][logger:295]: Log Baud Rate: 0 [16:46:21][C][logger:296]: Hardware UART: UART0 [16:46:21][C][uart.arduino_esp32:108]: UART Bus 0: [16:46:21][C][uart.arduino_esp32:109]: TX Pin: GPIO1 [16:46:21][C][uart.arduino_esp32:110]: RX Pin: GPIO3 [16:46:21][C][uart.arduino_esp32:112]: RX Buffer Size: 256 [16:46:21][C][uart.arduino_esp32:114]: Baud Rate: 2400 baud [16:46:21][C][uart.arduino_esp32:115]: Data Bits: 8 [16:46:21][C][uart.arduino_esp32:116]: Parity: NONE [16:46:21][C][uart.arduino_esp32:117]: Stop bits: 1 [16:46:22][C][captive_portal:088]: Captive Portal:

[16:46:22][C][mdns:109]: Hostname: esphome-web-3d3788 [16:46:22][C][ota:093]: Over-The-Air Updates: [16:46:22][C][ota:094]: Address: esphome-web-3d3788.local:3232 [16:46:22][W][ota:103]: Last Boot was an unhandled reset, will proceed to safe mode in 8 restarts [16:46:22][C][api:138]: API Server: [16:46:22][C][api:139]: Address: esphome-web-3d3788.local:6053 [16:46:22][C][api:141]: Using noise encryption: YES

Mathieu

syssi commented 1 year ago

I will provide some support tomorrow. I need to check your pictures carefully. I assume the LED of your RS232 board is a TX led and no power LED. Could you tell me the name of the converter IC?

Tikaminou commented 1 year ago

Hi, The converter TLL/RS232 is : DollaTek MAX3232 RS232 Serial Port vers TTL Convertisseur Module DB9 Connecteur W / 4 Jump Cables. Link : https://www.amazon.fr/dp/B07DK3874B?psc=1&ref=ppx_yo2ov_dt_b_product_details The ESP32 is : ESP32-WROOM-32U. Link : https://fr.aliexpress.com/item/32959541446.html?spm=a2g0o.order_detail.order_detail_item.3.839f7d56cT1alZ&gatewayAdapt=glo2fra The invertier is : WKS Evo Circle 5,6 kVA 48V. Link : https://www.wattuneed.com/fr/onduleurs-et-convertisseurs/25678-onduleur-hybride-wks-evo-56kva-48v-0768563819193.html I will perform some more tests tomorrow. Thanks again. Mathieu

syssi commented 1 year ago

First of all: It looks like your RS232 converter has a TX and RX led. The periodic blinking from the beginning was fine because the pipsolar implementation sends requests to the inverter once per update_interval. If you increase/decrease the update_interval of the pipsolar component the blinking interval of the TX LED should change.

Did I understand correctly: The inverter was delivered with a D-SUB to RJ45 data cable which doesn't match with the PIP pinout? Please stick to the data cable of the inverter if the TX LED blinks periodically here.

syssi commented 1 year ago

As soon as the TX led blinks again please connect the TX pin to the RX pin to create a loopback. Both LEDs (RX & TX) should blink now. Does it work? You should see incoming / the loopback traffic now if you have a look at the ESPHome log. If this is working we can proceed.

Tikaminou commented 1 year ago

Hello, Thank you for all these informations. I need some time to check that, I will come back to you as soon as possible (I hope on monday). Have a nice weekend.

Tikaminou commented 1 year ago

Hello,

“Did I understand correctly: The inverter was delivered with a D-SUB to RJ45 data cable which doesn't match with the PIP pinout? Please stick to the data cable of the inverter if the TX LED blinks periodically here.”

--> Sorry I was not clear: I never used the cable provided with the inverter because it is a D-SUB FEMALE to RJ45. I need to add a FEMALE/MALE converter to use it (I can buy one if needed). I bought a D-SUB MALE to RJ45 (the "standard cable" I mention above) and it doesn't match the documentation.

I check the mapping of the cable (D-SUB FEMALE to RJ45) provided with the inverter and it match with the documentation.

image

Therefore, this point is closed: the cable that I bought is not correct. Now I use my custom cable. It has the same mapping that the cable provided with the inverter.

Thanks for the explanation about the LED of the TTL/RS232 converter. I checked and the LED blink at the same time that the log send data.

Video here: https://drive.google.com/file/d/1Yfs5CwihPt4zCI0fq0S2Bfz4PjS7q9M3/view?usp=sharing

Then, I make the loopback (not connected to the inverter), it works! The 2 LED are blinking :)

image

INFO Reading configuration /config/esphome/esphome-web-3d3788.yaml... INFO Starting log output from esphome-web-3d3788.local using esphome API INFO Successfully connected to esphome-web-3d3788.local

[16:38:16][C][wifi:362]: Local MAC: 40:22:D8:3D:37:88 [16:38:16][C][wifi:363]: SSID: 'Livebox-8C62'[redacted] [16:38:16][C][wifi:364]: IP Address: 192.168.1.50 [16:38:16][C][wifi:366]: BSSID: AC:84:C9:28:8C:62[redacted]

[16:38:16][C][wifi:369]: Signal strength: -89 dB ▂▄▆█ [16:38:16][C][wifi:373]: Channel: 11 [16:38:16][C][wifi:374]: Subnet: 255.255.255.0 [16:38:16][C][wifi:375]: Gateway: 192.168.1.1 [16:38:16][C][wifi:376]: DNS1: 192.168.1.1 [16:38:16][C][wifi:377]: DNS2: 0.0.0.0

[16:38:16][C][logger:294]: Level: DEBUG [16:38:16][C][logger:295]: Log Baud Rate: 0 [16:38:16][C][logger:296]: Hardware UART: UART0 [16:38:16][C][uart.arduino_esp32:108]: UART Bus 0: [16:38:16][C][uart.arduino_esp32:109]: TX Pin: GPIO1 [16:38:16][C][captive_portal:088]: Captive Portal:

[16:38:16][C][mdns:109]: Hostname: esphome-web-3d3788 [16:38:16][C][ota:093]: Over-The-Air Updates: [16:38:16][C][ota:094]: Address: esphome-web-3d3788.local:3232 [16:38:16][W][ota:103]: Last Boot was an unhandled reset, will proceed to safe mode in 8 restarts [16:38:16][C][api:138]: API Server: [16:38:16][C][api:139]: Address: esphome-web-3d3788.local:6053 [16:38:16][C][api:141]: Using noise encryption: YES

I connected it with the inverter, still nothing… only one LED is blinking, and no answer in the log.

image

I tried to switch RX/TX on inverter side, still KO.

image

I also tested the “real” program:

[17:27:33][D][api:102]: Accepted 192.168.1.39 [17:27:33][D][api.connection:920]: Home Assistant 2023.4.2 (192.168.1.39): Connected successfully [17:27:34][D][pipsolar:755]: timeout command to poll: QPIGS

[17:27:34][D][pipsolar:838]: Sending polling command : QPIGS with length 5 [17:27:39][D][pipsolar:755]: timeout command to poll: QPIGS

[17:27:39][D][pipsolar:838]: Sending polling command : QPIGS with length 5 [17:27:44][D][pipsolar:755]: timeout command to poll: QPIGS

[17:27:44][D][pipsolar:838]: Sending polling command : QPIGS with length 5 [17:27:49][D][pipsolar:755]: timeout command to poll: QPIGS

I will buy an RS232 male/male to be able to test with the RJ45/RS232 cable provided with the inverter.

syssi commented 1 year ago

Perfect! If the loopback test is working the connection between the ESP and the RS232 board is fine. If the inverter still doesn't respond please swap the RX/TX-lines of your RJ45<->D-SUB data cable and try again!

Tikaminou commented 1 year ago

Hello,

Sorry for the delay, I did a lot of tests to understand the issue. I switched the TX/RX and it still didn't worked.

Just to be sure, I tested to communicate with the inverter through Watchpower: Inverter --> RJ45/RS232 cable (provided with the inverter) --> RS232/USB --> Laptop with WatchPower. It works!

I investigated again and the issue seems to be in the RJ45 custom cable. I don’t understand why, but : 1/ When I tested the loopback without the RJ45, it works. image

2/ When I test the loopback with the RJ45 (not connected to the inverter), it doesn’t work (there is no shortcut in the RX/TX/GND of the RJ45.

I take another RJ45 cable, and it works.

I removed the loopback and connected the RJ45 to the inverter, and… it works! for real! :)

INFO Reading configuration /config/esphome/esphome-web-3d3788.yaml... INFO Starting log output from esphome-web-3d3788.local using esphome API INFO Successfully connected to esphome-web-3d3788.local

[15:27:22][C][wifi:362]: Local MAC: 40:22:D8:3D:37:88 [15:27:22][C][wifi:363]: SSID: 'Livebox-8C62'[redacted] [15:27:22][C][wifi:364]: IP Address: 192.168.1.50 [15:27:22][C][wifi:366]: BSSID: AC:84:C9:28:8C:62[redacted]

[15:27:22][C][wifi:369]: Signal strength: -89 dB ▂▄▆█ [15:27:22][C][wifi:373]: Channel: 11 [15:27:22][C][wifi:374]: Subnet: 255.255.255.0 [15:27:22][C][wifi:375]: Gateway: 192.168.1.1 [15:27:22][C][wifi:376]: DNS1: 192.168.1.1 [15:27:22][C][wifi:377]: DNS2: 0.0.0.0

[15:27:22][C][logger:294]: Level: DEBUG [15:27:22][C][logger:295]: Log Baud Rate: 0 [15:27:22][C][logger:296]: Hardware UART: UART0 [15:27:22][C][uart.arduino_esp32:108]: UART Bus 0: [15:27:22][C][uart.arduino_esp32:109]: TX Pin: GPIO1 [15:27:22][C][uart.arduino_esp32:110]: RX Pin: GPIO3 [15:27:22][C][uart.arduino_esp32:112]: RX Buffer Size: 256 [15:27:22][C][uart.arduino_esp32:114]: Baud Rate: 2400 baud [15:27:22][C][uart.arduino_esp32:115]: Data Bits: 8 [15:27:22][C][uart.arduino_esp32:116]: Parity: NONE [15:27:22][C][uart.arduino_esp32:117]: Stop bits: 1 [15:27:23][C][captive_portal:088]: Captive Portal:

[15:27:23][C][mdns:109]: Hostname: esphome-web-3d3788 [15:27:23][C][ota:093]: Over-The-Air Updates: [15:27:23][C][ota:094]: Address: esphome-web-3d3788.local:3232 [15:27:23][C][api:138]: API Server: [15:27:23][C][api:139]: Address: esphome-web-3d3788.local:6053 [15:27:23][C][api:141]: Using noise encryption: YES

[15:27:37][D][uart_debug:158]: <<< "(230.0 50.0 0030 42.0 54.0 56.4 46.0 60 0 0 2 0 0 0 0 0 1 1 0 0 1 0 54.0 0 1 000\x9E`\r"

It takes me a lot of time to identify this RJ45 cable issue!

After that, I tested with the real program, it didn't work... I tested again with the test program, didn't work! I probably have a problem with a cable or a connection... I will check this weekend, I need some rest... But it worked once, so it should work again :)

I keep you informed. Thanks a lot for your help.

Mathieu

syssi commented 1 year ago

Good job! Your hard work will pay off! ;-)

Tikaminou commented 1 year ago

Hello,

It finally works :) All details below, if it can help someone else. Again, thanks a lot for your help!


image

image

image

Test Program

substitutions: name: esphome-web-3b6f80 tx_pin: GPIO1 rx_pin: GPIO3

esphome: name: ${name} platform: ESP32 board: esp32dev friendly_name: ESPHome PZEM 2

api: encryption: key: "xxx" reboot_timeout: 0s

ota:

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

ap: ssid: "Esphome-Web-3B6F80" password: "xxx"

logger: baud_rate: 0 level: DEBUG

uart: id: uart_0 baud_rate: 2400 tx_pin: ${tx_pin} rx_pin: ${rx_pin} debug: direction: BOTH dummy_receiver: true after: delimiter: "\r" sequence:

interval:


Logs

INFO Reading configuration /config/esphome/esphome-web-3b6f80.yaml... INFO Starting log output from esphome-web-3b6f80.local using esphome API INFO Successfully connected to esphome-web-3b6f80.local [13:29:11][I][app:102]: ESPHome version 2023.4.0 compiled on Apr 26 2023, 13:04:21

[13:29:11][C][wifi:363]: Local MAC: 40:22:D8:3B:6F:80 [13:29:11][C][wifi:364]: SSID: 'Livebox-8C62'[redacted] [13:29:11][C][wifi:365]: IP Address: 192.168.1.53 [13:29:11][C][wifi:367]: BSSID: AC:84:C9:28:8C:62[redacted]

[13:29:11][C][wifi:370]: Signal strength: -74 dB ▂▄▆█ [13:29:11][C][wifi:374]: Channel: 1 [13:29:11][C][wifi:375]: Subnet: 255.255.255.0 [13:29:11][C][wifi:376]: Gateway: 192.168.1.1 [13:29:11][C][wifi:377]: DNS1: 192.168.1.1 [13:29:11][C][wifi:378]: DNS2: 0.0.0.0

[13:29:11][C][logger:295]: Level: DEBUG [13:29:11][C][logger:296]: Log Baud Rate: 0 [13:29:11][C][logger:297]: Hardware UART: UART0 [13:29:11][C][uart.arduino_esp32:108]: UART Bus 0: [13:29:12][C][uart.arduino_esp32:109]: TX Pin: GPIO1

[13:29:12][C][mdns:109]: Hostname: esphome-web-3b6f80 [13:29:12][C][ota:093]: Over-The-Air Updates: [13:29:12][C][ota:094]: Address: esphome-web-3b6f80.local:3232 [13:29:12][W][ota:103]: Last Boot was an unhandled reset, will proceed to safe mode in 8 restarts [13:29:12][C][api:138]: API Server: [13:29:12][C][api:139]: Address: esphome-web-3b6f80.local:6053 [13:29:12][C][api:141]: Using noise encryption: YES [13:29:12][I][main:417]: Testing PI30/PI30MAX/PI30REVO/PI41 commands... [13:29:12][I][main:420]: This is the set of commands supported by the pipsolar component!

[13:29:21][I][main:486]: Testing PI41 split phase / multiple strings commands...

[13:29:24][I][main:510]: Testing unsupported PI18 commands...

[13:29:27][I][main:534]: Testing unsupported PI17 commands...

[13:29:30][I][main:558]: Testing unsupported PI16 commands...

[13:29:34][I][main:592]: Done. Repeating...

[13:30:27][I][ota:113]: Boot seems successful, resetting boot loop counter. [13:30:27][D][esp32.preferences:114]: Saving 1 preferences to flash... [13:30:27][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed [13:30:32][I][main:417]: Testing PI30/PI30MAX/PI30REVO/PI41 commands... [13:30:32][I][main:420]: This is the set of commands supported by the pipsolar component!

[13:30:41][I][main:486]: Testing PI41 split phase / multiple strings commands...

[13:30:44][I][main:510]: Testing unsupported PI18 commands...

[13:30:47][I][main:534]: Testing unsupported PI17 commands...

[13:30:50][I][main:558]: Testing unsupported PI16 commands...

[13:30:54][I][main:592]: Done. Repeating...

image


"Real" program

substitutions: name: esphome-web-3b6f80 tx_pin: GPIO1 rx_pin: GPIO3

esphome: name: ${name} platform: ESP32 board: esp32dev friendly_name: ESPHome WKS EVO Circle

api: encryption: key: "xxx" reboot_timeout: 0s

ota:

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

ap: ssid: "Esphome-Web-3B6F80" password: "xxx"

logger: baud_rate: 0 level: DEBUG

uart:

pipsolar: uart_id: uart_0 id: inverter0

sensor:

text_sensor:

binary_sensor:

switch:

output:


Logs

INFO Reading configuration /config/esphome/esphome-web-3b6f80.yaml... INFO Starting log output from esphome-web-3b6f80.local using esphome API INFO Successfully connected to esphome-web-3b6f80.local [14:33:47][I][app:102]: ESPHome version 2023.4.0 compiled on Apr 26 2023, 14:27:28

[14:33:47][C][wifi:363]: Local MAC: 40:22:D8:3B:6F:80 [14:33:47][C][wifi:364]: SSID: 'Livebox-8C62'[redacted] [14:33:47][C][wifi:365]: IP Address: 192.168.1.53 [14:33:47][C][wifi:367]: BSSID: AC:84:C9:28:8C:62[redacted]

[14:33:47][C][wifi:370]: Signal strength: -70 dB ▂▄▆█ [14:33:47][C][wifi:374]: Channel: 1 [14:33:47][C][wifi:375]: Subnet: 255.255.255.0 [14:33:47][C][wifi:376]: Gateway: 192.168.1.1 [14:33:47][C][wifi:377]: DNS1: 192.168.1.1 [14:33:47][C][wifi:378]: DNS2: 0.0.0.0

[14:33:47][C][logger:295]: Level: DEBUG [14:33:47][C][logger:296]: Log Baud Rate: 0 [14:33:47][C][logger:297]: Hardware UART: UART0 [14:33:47][C][uart.arduino_esp32:108]: UART Bus 0: [14:33:47][C][uart.arduino_esp32:109]: TX Pin: GPIO1 [14:33:47][C][uart.arduino_esp32:110]: RX Pin: GPIO3 [14:33:47][C][uart.arduino_esp32:112]: RX Buffer Size: 256 [14:33:47][C][uart.arduino_esp32:114]: Baud Rate: 2400 baud [14:33:47][C][uart.arduino_esp32:115]: Data Bits: 8

[14:33:47][C][pipsolar.switch:075]: Pipsolar Switch 'esphome-web-3b6f80 output_source_priority_solar'

[14:33:47][C][pipsolar.switch:075]: Pipsolar Switch 'esphome-web-3b6f80 output_source_priority_battery'

[14:33:47][C][pipsolar.switch:075]: Pipsolar Switch 'esphome-web-3b6f80 input_voltage_range'

[14:33:47][C][pipsolar.switch:075]: Pipsolar Switch 'esphome-web-3b6f80 pv_ok_condition_for_parallel'

[14:33:47][C][pipsolar.switch:075]: Pipsolar Switch 'esphome-web-3b6f80 pv_power_balance'

[14:33:47][D][sensor:110]: 'esphome-web-3b6f80 ac_output_frequency': Sending state 49.90000 Hz with 1 decimals of accuracy [14:33:47][D][sensor:110]: 'esphome-web-3b6f80 ac_output_apparent_power': Sending state 24.00000 VA with 1 decimals of accuracy [14:33:47][C][ota:093]: Over-The-Air Updates: [14:33:47][C][ota:094]: Address: esphome-web-3b6f80.local:3232 [14:33:47][C][api:139]: Address: esphome-web-3b6f80.local:6053 [14:33:47][C][api:141]: Using noise encryption: YES [14:33:47][D][pipsolar:838]: Sending polling command : QMOD with length 4 [14:33:47][D][pipsolar:772]: checking crc on incoming message [14:33:47][D][pipsolar:775]: CRC OK [14:33:47][D][pipsolar:471]: Decode QMOD [14:33:47][D][text_sensor:064]: 'esphome-web-3b6f80 device_mode': Sending state 'L' [14:33:48][D][pipsolar:838]: Sending polling command : QFLAG with length 5 [14:33:48][D][pipsolar:772]: checking crc on incoming message [14:33:48][D][pipsolar:775]: CRC OK [14:33:48][D][pipsolar:479]: Decode QFLAG [14:33:49][D][pipsolar:838]: Sending polling command : QPIRI with length 5 [14:33:50][D][pipsolar:772]: checking crc on incoming message [14:33:50][D][pipsolar:775]: CRC OK [14:33:50][D][pipsolar:429]: Decode QPIRI [14:33:50][D][pipsolar:838]: Sending polling command : QPIGS with length 5 [14:33:51][D][pipsolar:772]: checking crc on incoming message [14:33:51][D][pipsolar:775]: CRC OK [14:33:51][D][pipsolar:448]: Decode QPIGS [14:33:51][D][sensor:110]: 'esphome-web-3b6f80 grid_voltage': Sending state 240.10001 V with 1 decimals of accuracy [14:33:51][D][sensor:110]: 'esphome-web-3b6f80 grid_frequency': Sending state 49.90000 Hz with 1 decimals of accuracy [14:33:51][D][sensor:110]: 'esphome-web-3b6f80 ac_output_voltage': Sending state 240.10001 V with 1 decimals of accuracy [14:33:51][D][sensor:110]: 'esphome-web-3b6f80 ac_output_frequency': Sending state 49.90000 Hz with 1 decimals of accuracy [14:33:51][D][sensor:110]: 'esphome-web-3b6f80 ac_output_apparent_power': Sending state 24.00000 VA with 1 decimals of accuracy [14:33:51][D][sensor:110]: 'esphome-web-3b6f80 ac_output_active_power': Sending state 0.00000 W with 1 decimals of accuracy [14:33:51][D][sensor:110]: 'esphome-web-3b6f80 output_load_percent': Sending state 0.00000 % with 1 decimals of accuracy [14:33:51][D][sensor:110]: 'esphome-web-3b6f80 bus_voltage': Sending state 334.00000 V with 1 decimals of accuracy [14:33:51][D][sensor:110]: 'esphome-web-3b6f80 battery_voltage': Sending state 0.40000 V with 1 decimals of accuracy [14:33:51][D][sensor:110]: 'esphome-web-3b6f80 battery_charging_current': Sending state 0.00000 A with 1 decimals of accuracy [14:33:51][D][sensor:110]: 'esphome-web-3b6f80 battery_capacity_percent': Sending state 0.00000 % with 1 decimals of accuracy [14:33:51][D][sensor:110]: 'esphome-web-3b6f80 inverter_heat_sink_temperature': Sending state 19.00000 °C with 1 decimals of accuracy [14:33:51][D][sensor:110]: 'esphome-web-3b6f80 pv_input_current_for_battery': Sending state 0.00000 A with 1 decimals of accuracy [14:33:51][D][sensor:110]: 'esphome-web-3b6f80 pv_input_voltage': Sending state 0.00000 V with 1 decimals of accuracy [14:33:51][D][sensor:110]: 'esphome-web-3b6f80 battery_voltage_scc': Sending state 0.00000 V with 1 decimals of accuracy [14:33:51][D][sensor:110]: 'esphome-web-3b6f80 battery_discharge_current': Sending state 0.00000 A with 1 decimals of accuracy [14:33:51][D][sensor:110]: 'esphome-web-3b6f80 battery_voltage_offset_for_fans_on': Sending state 0.00000 V with 1 decimals of accuracy [14:33:51][D][sensor:110]: 'esphome-web-3b6f80 pv_charging_power': Sending state 0.00000 W with 1 decimals of accuracy [14:33:51][D][pipsolar:838]: Sending polling command : QMOD with length 4 [14:33:51][D][pipsolar:772]: checking crc on incoming message [14:33:51][D][pipsolar:775]: CRC OK [14:33:51][D][pipsolar:471]: Decode QMOD [14:33:51][D][text_sensor:064]: 'esphome-web-3b6f80 device_mode': Sending state 'L' [14:33:52][D][pipsolar:838]: Sending polling command : QFLAG with length 5 [14:33:52][D][pipsolar:772]: checking crc on incoming message [14:33:53][D][pipsolar:775]: CRC OK [14:33:53][D][pipsolar:479]: Decode QFLAG [14:33:53][D][pipsolar:838]: Sending polling command : QPIRI with length 5 [14:33:54][D][pipsolar:772]: checking crc on incoming message [14:33:54][D][pipsolar:775]: CRC OK [14:33:54][D][pipsolar:429]: Decode QPIRI [14:33:54][D][pipsolar:838]: Sending polling command : QPIGS with length 5 [14:33:55][D][pipsolar:772]: checking crc on incoming message [14:33:55][D][pipsolar:775]: CRC OK [14:33:55][D][pipsolar:448]: Decode QPIGS

syssi commented 1 year ago

Good job!