Help with ESPHOME _ PipSolar PV Inverter

I bought a solar inverter this model: https://www.aliexpress.com/item/1005002605997074.html?spm=a2g0s.9042311.0.0.64624c4dd6dJoK.
I can connect to it with a USB cable.


I can also connect with EspHome (via HA) but the information is not updated.

What can I do with EspHome?

1 Like

Try the following link for more information.

I am also interested in this,
can you please tell me that with exactly which ESP device you were able to connect it ?

Kind Regards

I.m use esp 32

Have you connected your Inverter via USB or UART or something else with ESP 32?

you need a rs232 to ttl convertor, like this: Placa de nível mini rs232 max3232 para ttl, módulo adaptador de nível 115200bps com 10 peças|Circuitos integrados| - AliExpress




Many thanks for the reply and sorry for not replying in time. I had corona virus, im ok now but have become weak.
Anyhow, I am going to order ESP32 and the rs232 to ttl converter. Can you please help in giving the pinouts.

I will also require some help in future I hope you dont mind that.
Best Regards,

of course …

I have configured my ESP32.
Can you please tell me that did you use MQTT or not ? Is MQTT necessary ?

And how did you create that card in Homeassistant? I am not able to see any entities of my inverter. Please do guide.
Many thanks

Go to Configuration> Devices & Services> Integrations

esphome:
  name: tmk32
  platform: ESP32
  board: esp32dev

# Enable logging
logger:
#  baud_rate: 0
  
# Enable Home Assistant API
api:

ota:
  password: "fcdc829ac919fca24e13186523b1a4e5"

wifi:
  ssid: "XXXXXXX"
  password: "YYYYY"
  manual_ip:
    static_ip: 192.168.100.32
    gateway: 192.168.100.1
    subnet: 255.255.255.0

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Tmk32 Fallback Hotspot"
    password: "cOFPRovpalmW"

captive_portal:

uart:
  - id: uart0
    tx_pin: GPIO16
    rx_pin: GPIO17
    # most devices use 2400 as baud_rate
    baud_rate: 2400

pipsolar:
  - uart_id: uart0
    id: inverter0   
    
    
sensor:
  - platform: pipsolar
    pipsolar_id: inverter0
    grid_rating_voltage:
      id: inverter0_grid_rating_voltage
      name: inverter0_grid_rating_voltage
    grid_rating_current:
      id: inverter0_grid_rating_current
      name: inverter0_grid_rating_current
    ac_output_apparent_power:
      id: inverter0_ac_output_apparent_power
      name: inverter0_ac_output_apparent_power
    ac_output_active_power:
      id: inverter0_ac_output_active_power
      name: inverter0_ac_output_active_power


    ac_output_voltage:
      id: inverter0_ac_output_voltage
      name: inverter0_ac_output_voltage 
    ac_output_frequency:
      id: inverter0_ac_output_frequency
      name: inverter0_ac_output_frequency  
    grid_voltage:
      id: inverter0_grid_voltage
      name: inverter0_grid_voltage  
    grid_frequency:
      id: inverter0_grid_frequency
      name: inverter0_grid_frequency 
    ac_output_rating_current:
      id: inverter0_ac_output_rating_current
      name: inverter0_ac_output_rating_current
    output_source_priority:
      id: inverter0_output_source_priority
      name: inverter0_output_source_priority
    charger_source_priority:
      id: inverter0_charger_source_priority
      name: inverter0_charger_source_priority     
      
    topology:
      id: inverter0_topology
      name: inverter0_topology   
      
    output_mode:
      id: inverter0_output_mode
      name: inverter0_output_mode
    output_load_percent:
      id: inverter0_output_load_percent
      name: inverter0_output_load_percent
    bus_voltage:
      id: inverter0_bus_voltage
      name: inverter0_bus_voltage
    inverter_heat_sink_temperature:
      id: inverter0_inverter_heat_sink_temperature
      name: inverter0_inverter_heat_sink_temperature
    pv_input_current_for_battery:
      id: inverter0_pv_input_current_for_battery
      name: inverter0_pv_input_current_for_battery
    pv_input_voltage:
      id: inverter0_pv_input_voltage
      name: inverter0_pv_input_voltage
    pv_charging_power:
      id: inverter0_pv_charging_power
      name: inverter0_pv_charging_power
    pv_power_balance:
      id: inverter0_pv_power_balance
      name: inverter0_pv_power_balance    
      
    battery_rating_voltage:
      id: inverter0_battery_rating_voltage
      name: inverter0_battery_rating_voltage
    battery_recharge_voltage:
      id: inverter0_battery_recharge_voltage
      name: inverter0_battery_recharge_voltage 
    battery_under_voltage:
      id: inverter0_battery_under_voltage
      name: inverter0_battery_under_voltage 
    battery_bulk_voltage:
      id: inverter0_battery_bulk_voltage
      name: inverter0_battery_bulk_voltage
    battery_float_voltage:
      id: inverter0_battery_float_voltage
      name: inverter0_battery_float_voltage
    battery_type:
      id: inverter0_battery_type
      name: inverter0_battery_type
    battery_redischarge_voltage:
      id: inverter0_battery_redischarge_voltage
      name: inverter0_battery_redischarge_voltage
    battery_voltage:
      id: inverter0_battery_voltage
      name: inverter0_battery_voltage    
    battery_charging_current:
      id: inverter0_battery_charging_current
      name: inverter0_battery_charging_current
    battery_capacity_percent:
      id: inverter0_battery_capacity_percent
      name: inverter0_battery_capacity_percent
    battery_discharge_current:
      id: inverter0_battery_discharge_current
      name: inverter0_battery_discharge_current
    battery_voltage_offset_for_fans_on:
      id: inverter0_battery_voltage_offset_for_fans_on
      name: inverter0_battery_voltage_offset_for_fans_on

Well I wasnt able to add it via that, I used MQTT and was able to add it. I have disconnected the Inverter at the moment so that is why it is not showing any readings. I will configure it later. Many thanks for your help.

I will play with it and will let you know if there is anything.
Best regards brother

Good day and thank you for your post.
Please be so kind and explain connection from TTL converter to Inverter cable.
Use cable provided with the inverter ? ( It has DB9 plug ) … Cut it open ?
Will give it a try, I experimented with Arduino sketch published some time ago and never managed to communicate with the inverter…
At the end , I managed to destroy the comm card of that particular inverter … ( my bad of course )
Thank you.
Greetings
Francisco

Hello, i have this cable that was included with the inverter. Is it necessary to have the converter, or i can use the female of this to the esp32? Eventually in with gpio i’ve to connected?
Thank you

Hi there,

If the cable is RS232, then you will need a converter.
Like the others, I used an RS232 to TTL converter from my cable. I’m not sure if your cable is exactly the same wiring so best to double check. The connectors I did as in the link.
https://powerforum.co.za/topic/10589-esphome-axpert-5k-rs232-pinout/

hello, yes the cable is RJ45 from the inverter (Axper MK IV) to RS232. I have this connector, https://www.amazon.it/gp/product/B07XSLV8GX/ref=ppx_yo_dt_b_asin_title_o07_s00?ie=UTF8&psc=1
and i with to use instead of this https://www.amazon.it/Convertitore-Adattatore-Adattatori-Componenti-Elettronici/dp/B0B1D63X4V/ref=sr_1_4?keywords=rs232+to+ttl&qid=1668874853&qu=eyJxc2MiOiIyLjgwIiwicXNhIjoiMi41NSIsInFzcCI6IjEuMzcifQ%3D%3D&sr=8-4
After that i’m going to use a connector Rs232 female to the esp32

Hello, i have my sensor on pipsolar inverter working, but i wish to have a sensor to put in the dashboard of the Energy PV pannel, like in the picture.
Is there any sensor already done, in pipsolr to load, or i have to create one?
Thank you

hello, how I can i use a switch on home assistant, to send on/off to the inverter?

1 Like

Hi, thanks for your share. What Is the PIN with green cable on es32? 3,3v side i mean.

me too, did you find a way?

I see a “current_max_ac_charging_current” variable.
Is there a way to change this values as needed, when needed?
for exemple, no more than 50% than “pv_input_current_for_battery”