Giter VIP home page Giter VIP logo

Comments (23)

magnetus26 avatar magnetus26 commented on August 31, 2024 1

coffee time !!

from esphome-pipsolar.

magnetus26 avatar magnetus26 commented on August 31, 2024

please let me know if this log is of some use:

logs_mppsolar-inverter-0_logs.txt

https://github.com/jblance/mpp-solar/blob/master/docs/protocols/PI41_LV5048.5KW.protocol-20190222.for.customer.pdf

thanks,
Miguel
73 de KP4MI

from esphome-pipsolar.

magnetus26 avatar magnetus26 commented on August 31, 2024

Hello Sebastian,
have you had some time to look at this?
thanks
best regards,
Miguel

from esphome-pipsolar.

magnetus26 avatar magnetus26 commented on August 31, 2024

no news on this one?
thanks
Miguel

from esphome-pipsolar.

syssi avatar syssi commented on August 31, 2024

Hi Miguel! I hope you are fine. I've extended the protocol test by some commands of your split phase converter:

261dc2c

Could you flash the YAML and provide some logs? Thanks in advance!

from esphome-pipsolar.

magnetus26 avatar magnetus26 commented on August 31, 2024

from esphome-pipsolar.

syssi avatar syssi commented on August 31, 2024

You can just flash the YAML but you have to change the tx_pin/rx_pin probably. If it doesn't work out of the box please provide your current/working YAML. I will provide a drop-in replacement just for testing.

from esphome-pipsolar.

magnetus26 avatar magnetus26 commented on August 31, 2024

logs:
logs_mppsolar-inverter-0_logs.txt

current (test) yaml:
esp8266-test-protocols.txt

my (original) yaml:
mppsolar-inverter-0.txt

from esphome-pipsolar.

syssi avatar syssi commented on August 31, 2024

It looks like I messed up the timing of the procotol test YAML. I've pushed an update. Could you try to most recent version of the protocol test? The one with a 1 second delay between the commands instead of 2 seconds:

https://github.com/syssi/esphome-pipsolar/blob/main/tests/esp8266-test-protocols.yaml

from esphome-pipsolar.

magnetus26 avatar magnetus26 commented on August 31, 2024

most recent version logs:
logs_mppsolar-inverter-0_logs (1).txt
same failure. :(

from esphome-pipsolar.

syssi avatar syssi commented on August 31, 2024

uart and logger are configured to the same GPIOs. Please set the baud_rate of the logger to 0 if you use GPIO1/GPIO3.

from esphome-pipsolar.

magnetus26 avatar magnetus26 commented on August 31, 2024

cant set to 0
please the options and advice
image

from esphome-pipsolar.

syssi avatar syssi commented on August 31, 2024
logger:
  baud_rate: 0
  level: DEBUG

from esphome-pipsolar.

magnetus26 avatar magnetus26 commented on August 31, 2024

logs_mppsolar-inverter-0_logs.txt

we got something now

from esphome-pipsolar.

syssi avatar syssi commented on August 31, 2024

Perfect! Please flash your production setup again. You have retrieved all required informations the extend the pipsolar component.

[14:44:03][I][main:491]: Testing PI41 split phase / multiple strings commands...
[14:44:03][D][uart_debug:158]: >>> "QPIGS2h-\r"
[14:44:03][D][uart_debug:158]: <<< "(121.7 60.0 120.2 59.9 0384 0282 012 0000 000.0 54.70 0000010\xE0A\r"
[14:44:04][D][uart_debug:158]: >>> "QP2GS0\x14\x05\r"
[14:44:04][D][uart_debug:158]: <<< "(11 55355535553555 B 00 121.8 60.00 120.1 59.96 0360 0262 012 54.7 000 065 000.0 00 00000010\v\"\r"
[14:44:05][D][uart_debug:158]: >>> "QP2GS1\x04$\r"
[14:44:05][D][uart_debug:158]: <<< "(00 00000000000000 P 00 000.0 00.00 000.0 00.00 0000 0000 000 00.0 000 000 000.0 00 00000000\xAF-\r"

from esphome-pipsolar.

magnetus26 avatar magnetus26 commented on August 31, 2024

great!! do we need to create new sensors to read both phases?
logs from my production setup with your changes:
logs_mppsolar-inverter-0_logs (1).txt

from esphome-pipsolar.

syssi avatar syssi commented on August 31, 2024

Your production YAML has the same GPIO conflict. Please disable the serial logging here too and provide another log:

logger:
  baud_rate: 0
  level: DEBUG

from esphome-pipsolar.

magnetus26 avatar magnetus26 commented on August 31, 2024

ok see attached:
logs_mppsolar-inverter-0_logs.txt

from esphome-pipsolar.

syssi avatar syssi commented on August 31, 2024

This looks much better.

from esphome-pipsolar.

magnetus26 avatar magnetus26 commented on August 31, 2024

what will be the next step to add the sensors for both phases?
I was looking at the cpp and py files and looks very complicated.( to me )
or theres another way where not that much code editing will be needed?
73 de KP4MI

from esphome-pipsolar.

syssi avatar syssi commented on August 31, 2024

Some (de)coding is required. ;-)

from esphome-pipsolar.

magnetus26 avatar magnetus26 commented on August 31, 2024

Some (de)coding is required. ;-)

hello syssi, while waiting (if this ever happends lol).
can you explain me how the output component works with an example?
I will like to create a switch or a selector for charger_source_priority

output:
  - platform: pipsolar
    pipsolar_id: inverter0
    battery_recharge_voltage:
      id: inverter0_charger_source_priority

on_...:
  then:
  - output

but honestly dont know how to do it,
can you help me with the yaml code
thanks
Miguel

from esphome-pipsolar.

magnetus26 avatar magnetus26 commented on August 31, 2024

Perfect! Please flash your production setup again. You have retrieved all required informations the extend the pipsolar component.

[14:44:03][I][main:491]: Testing PI41 split phase / multiple strings commands...
[14:44:03][D][uart_debug:158]: >>> "QPIGS2h-\r"
[14:44:03][D][uart_debug:158]: <<< "(121.7 60.0 120.2 59.9 0384 0282 012 0000 000.0 54.70 0000010\xE0A\r"
[14:44:04][D][uart_debug:158]: >>> "QP2GS0\x14\x05\r"
[14:44:04][D][uart_debug:158]: <<< "(11 55355535553555 B 00 121.8 60.00 120.1 59.96 0360 0262 012 54.7 000 065 000.0 00 00000010\v\"\r"
[14:44:05][D][uart_debug:158]: >>> "QP2GS1\x04$\r"
[14:44:05][D][uart_debug:158]: <<< "(00 00000000000000 P 00 000.0 00.00 000.0 00.00 0000 0000 000 00.0 000 000 000.0 00 00000000\xAF-\r"

i dont u desrstand much but I know there are some QPIGS2 commands in your code for pv2.
can you tell me what files deal with the sensors so I can try to make a version witb both QPIGS and QPIGS2 sensors for my split phase unit.
i know pipsolar.cpp is one of them. if i know what other files are involve i can try to modify them to add the sensors from the other phase of.my inverter (QPIGS2 sensors).
ill be using pip8048 as my base branch. all i need is a list of the files that needed to be modify and i start my trial and error from there
73 de KP4MI
thanks
Miguel

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.