Giter VIP home page Giter VIP logo

Comments (13)

SeByDocKy avatar SeByDocKy commented on July 26, 2024 1

at 99% it's a wiring problem.... Be aware if you are using a DB9 male or female, the 1-4-5 can be reverted. In pratice with your RS232, you have 4 four combinaisons to test.

from esphome-pipsolar.

syssi avatar syssi commented on July 26, 2024 1

You are welcome! If you want to do me a favor please provide a photo of your rs232 converter + wiring. It looks like a proper connection/wiring is the hardest part of the journey. ;-)

from esphome-pipsolar.

bogdanr avatar bogdanr commented on July 26, 2024 1

20220407_202222.jpg
20220407_202209.jpg

from esphome-pipsolar.

bogdanr avatar bogdanr commented on July 26, 2024 1

I would like to add something very important.
It looks like after working OK for some time, occasionally my inverter stops sending data. I need to reset the unit to work again. In my case, I have to unplug both solar and grid power.
This is especially relevant if you're trying to make the adapter and you're not getting data, it could also be that the inverter doesn't actually send it so after each try power it off and on again.

from esphome-pipsolar.

syssi avatar syssi commented on July 26, 2024

Could you enable the debug output of the uart component and provide some more logs? It looks like the response to QPIGS is just QPIGS.

uart:
  id: uart0
  baud_rate: 9600
  tx_pin: XXX
  rx_pin: YYY
  debug:
    direction: BOTH

from esphome-pipsolar.

bogdanr avatar bogdanr commented on July 26, 2024
[18:07:58][D][pipsolar:429]: Decode QPIRI
[18:07:58][D][sensor:125]: 'inverter0_grid_rating_voltage': Sending state 0.00000 V with 1 decimals of accuracy
[18:07:58][D][sensor:125]: 'inverter0_grid_rating_current': Sending state 0.00000 A with 1 decimals of accuracy
[18:07:58][D][sensor:125]: 'inverter0_battery_rating_voltage': Sending state 0.00000 V with 1 decimals of accuracy
[18:07:58][D][sensor:125]: 'inverter0_input_voltage_range': Sending state 0.00000  with 1 decimals of accuracy
[18:07:58][D][sensor:125]: 'inverter0_output_source_priority': Sending state 0.00000  with 1 decimals of accuracy
[18:07:58][D][sensor:125]: 'inverter0_charger_source_priority': Sending state 0.00000  with 1 decimals of accuracy
[18:07:58][D][sensor:125]: 'inverter0_machine_type': Sending state 0.00000  with 1 decimals of accuracy
[18:07:58][D][sensor:125]: 'inverter0_topology': Sending state 0.00000  with 1 decimals of accuracy
[18:07:58][D][sensor:125]: 'inverter0_battery_redischarge_voltage': Sending state 0.00000  with 1 decimals of accuracy
[18:07:58][D][uart_debug:114]: <<< 51:50:49:52:49:F8:54:0D
[18:07:59][D][pipsolar:838]: Sending polling command : QPIGS with length 5
[18:07:59][D][uart_debug:114]: >>> 51:50:49:47:53:B7:A9:0D
[18:07:59][D][pipsolar:772]: checking crc on incoming message
[18:07:59][D][pipsolar:775]: CRC OK
[18:07:59][D][pipsolar:448]: Decode QPIGS
[18:07:59][D][text_sensor:067]: 'inverter0_last_qpigs': Sending state 'QPIGS'
[18:07:59][D][sensor:125]: 'inverter0_grid_voltage': Sending state 0.00000 V with 1 decimals of accuracy
[18:07:59][D][sensor:125]: 'inverter0_grid_frequency': Sending state 0.00000 Hz with 1 decimals of accuracy
[18:07:59][D][sensor:125]: 'inverter0_ac_output_voltage': Sending state 0.00000 V with 1 decimals of accuracy
[18:07:59][D][sensor:125]: 'inverter0_ac_output_frequency': Sending state 0.00000 Hz with 1 decimals of accuracy
[18:07:59][D][sensor:125]: 'inverter0_ac_output_apparent_power': Sending state 0.00000 VA with 1 decimals of accuracy
[18:07:59][D][sensor:125]: 'inverter0_ac_output_active_power': Sending state 0.00000 W with 1 decimals of accuracy
[18:07:59][D][sensor:125]: 'inverter0_output_load_percent': Sending state 0.00000 % with 1 decimals of accuracy
[18:07:59][D][sensor:125]: 'inverter0_bus_voltage': Sending state 0.00000 V with 1 decimals of accuracy
[18:07:59][D][sensor:125]: 'inverter0_battery_voltage': Sending state 0.00000 V with 1 decimals of accuracy
[18:07:59][D][sensor:125]: 'inverter0_battery_capacity_percent': Sending state 0.00000 % with 1 decimals of accuracy
[18:07:59][D][sensor:125]: 'inverter0_inverter_heat_sink_temperature': Sending state 0.00000 °C with 1 decimals of accuracy
[18:07:59][D][sensor:125]: 'inverter0_pv_input_current_for_battery': Sending state 0.00000 A with 1 decimals of accuracy
[18:07:59][D][sensor:125]: 'inverter0_pv_input_voltage': Sending state 0.00000 V with 1 decimals of accuracy
[18:07:59][D][sensor:125]: 'inverter0_battery_voltage_scc': Sending state 0.00000 V with 1 decimals of accuracy
[18:07:59][D][sensor:125]: 'inverter0_battery_discharge_current': Sending state 0.00000 A with 1 decimals of accuracy
[18:07:59][D][sensor:125]: 'inverter0_pv_charging_power': Sending state 0.00000 W with 1 decimals of accuracy
[18:07:59][D][uart_debug:114]: <<< 51:50:49:47:53:B7:A9:0D
[18:08:00][D][pipsolar:838]: Sending polling command : QPIWS with length 5
[18:08:00][D][uart_debug:114]: >>> 51:50:49:57:53:B4:DA:0D
[18:08:00][D][pipsolar:772]: checking crc on incoming message
[18:08:00][D][pipsolar:775]: CRC OK
[18:08:00][D][pipsolar:525]: Decode QPIWS
[18:08:00][D][uart_debug:114]: <<< 51:50:49:57:53:B4:DA:0D
[18:08:01][D][pipsolar:838]: Sending polling command : QMOD with length 4
[18:08:01][D][uart_debug:114]: >>> 51:4D:4F:44:49:C1:0D
[18:08:01][D][pipsolar:772]: checking crc on incoming message
[18:08:01][D][pipsolar:775]: CRC OK
[18:08:01][D][pipsolar:471]: Decode QMOD
[18:08:01][D][text_sensor:067]: 'inverter0_device_mode': Sending state 'M'
[18:08:01][D][uart_debug:114]: <<< 51:4D:4F:44:49:C1:0D
[18:08:02][D][pipsolar:838]: Sending polling command : QPIRI with length 5
[18:08:02][D][uart_debug:114]: >>> 51:50:49:52:49:F8:54:0D
[18:08:02][D][pipsolar:772]: checking crc on incoming message
[18:08:02][D][pipsolar:775]: CRC OK

But please not my baud_rate is 2400. Changing the baud rate to 9600 doesn't see to change anything. It looks like it's working exactly the same.

from esphome-pipsolar.

syssi avatar syssi commented on July 26, 2024

Sorry for the confusion. I didn't want to suggest another baudrate. The important part was:

  debug:
    direction: BOTH

from esphome-pipsolar.

syssi avatar syssi commented on July 26, 2024

This isn't real traffic / this aren't real responses from your device. It looks more like an echo / wrong wiring:

[18:07:59][D][uart_debug:114]: >>> 51:50:49:47:53:B7:A9:0D # QPIGS request (TX)
[18:07:59][D][uart_debug:114]: <<< 51:50:49:47:53:B7:A9:0D # QPIGS response (RX)
...

...
[18:08:00][D][uart_debug:114]: >>> 51:50:49:57:53:B4:DA:0D # QPIWS request (TX)
[18:08:00][D][uart_debug:114]: <<< 51:50:49:57:53:B4:DA:0D # QPIWS response (RX)

from esphome-pipsolar.

syssi avatar syssi commented on July 26, 2024

Could you provide a photos of your wiring?

from esphome-pipsolar.

bogdanr avatar bogdanr commented on July 26, 2024

I just received a new adapter and I tried with this one instead. The messages changed but they still don't look good to me.

[19:31:40][D][pipsolar:755]: timeout command to poll: QPIWS
[19:31:40][D][uart_debug:114]: <<< FF:7F:EF:FF:FF:DF:FF:FD:DF:FF:FD:FD:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:DF:FF:FF:FF:FF:FF:7F:FF:FF:FF:FF:FF:FF:FF:FF:7F:FF
[19:31:40][D][pipsolar:838]: Sending polling command : QMOD with length 4
[19:31:40][D][uart_debug:114]: >>> 51:4D:4F:44:49:C1:0D
[19:31:41][D][uart_debug:114]: <<< FF:FF:DF:FF:FF:FF:FF:FF:FD:FF:FF:FF:FF:EF:DF:FF:FF:FF:FF:FF:FF:F7:FF:FD:FF:FB:FF:FF:FF:DF:DF:F7:FF:FF:FF:FF:FF:FF:FF:FF:FF:DF:FF:FF:FF:FF:FF:FF:FF:ED:FF:FF:DF:DF:FF:FF:FF:DF:FF:FF:FD:FF:FF:FF:FF:DF:DF:FF:FF:FF:BF:FF:F7:FF:FF:FF:FF:FF:FF:F7:F7:FF:FF:FD:FD:FF:FF:FD:DF:FF:EF:DF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:BF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FB:FF:BD:FF:DF:FD:DF:FF:FF:FF:FF:DF:FF:FF:FF:FF:FF:FF:DF:FF:FF:FF:FF:FF:FF:D7:E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F:FF:FF:BF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:7F:FF:FF:FF:F7:FF:DF:FF:FF:FF:FF:FF:FF:DF:FF:EF:D7:FF:EF:DF:FF:FF:DF:FF:FF:FF:FF:F7:FF:FF:FF:FF:FF:FF:F7:DF:FF:FF:FB:FF:DF:FF:FF:FF:FF:FF:F7:FF:7F:FF:DF:FF:7F:FF:FF:FF:FF:FF:FF:FF:FF:DF:FF:FF:FF
[19:31:55][D][pipsolar:755]: timeout command to poll: QPIGS
[19:31:56][D][uart_debug:114]: <<< FF:DF:FF:FF:FF:7F:FF:FF:FF:FF:DF:FF:FF:FF:FF:FF:FF:FF:EF:F7:FF:FF:FF:F7:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:DF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:DF:FF:FB:FF:FF:FF:FF:FF:FF:FF:FF:DF:FF:FF:FF:FF:FF:FB:BB:FF:FF:FF:F7:FF:FF:F7:FF:FF:F7:FF:F7:7F:FF:FF:EF:D7:FF:FF:DF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:7F:FF:FF:FF:DF:FF:FF:FF:FF:FF:FF:FF:FF:FF:F7:FF:FF:7F:FF:DF:FF:FF:FF:DF:FF:FF:FF:FF:FF:7F:FF:FF:FF:FF:FF:FD:FF:FF

Does this tell you anything? I will also try to make some photos and send them.

from esphome-pipsolar.

syssi avatar syssi commented on July 26, 2024

Did you connect GND properly? Please make sure the baudrate is 2400 baud.

from esphome-pipsolar.

bogdanr avatar bogdanr commented on July 26, 2024

Dude, you are the best!
This new adapter had a different pinout even though the board is quite similar. I incorrectly assumed the pinout would be the same but GND was switched with TX on this board as opposed with the other board. It's impressive that the chip was powered though.

Thanks a lot!
In conclusion for others reading this thread in the future:

  • syssi is the best
  • not all adapters actually work. I have one with MAX232 which works.
  • try to rotate RX/TX until you get it right.

from esphome-pipsolar.

syssi avatar syssi commented on July 26, 2024

To be very precise: You are using a MAX3232. This is the 3.3V version of the MAX232. This is important & good because driving a MAX232 with 3.3V is out of spec and driving a MAX232 with 5V leads to a logic level (TTL) of 5V too. The GPIOs of a ESP aren't 5V tolerant.

from esphome-pipsolar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.