Git Product home page Git Product logo

Comments (11)

AtarianComputing avatar AtarianComputing commented on June 30, 2024 1

I've checked your debug logs from WatchPower especially the QPIGS response:

233.0 50.0 233.0 50.0 0318 0301 012 427 27.07 003 095 0498 0003 034.8 27.21 00000 10010110 00 04 00105 000

It's the standard format and supported by the official component: https://esphome.io/components/pipsolar.html

Thanks for confirming this.

In other words: As soon as you manage to make a proper connection between the inverter and the ESP it should work.

About the logic level: If you power the MAX202 with 5V the logic level at the output pins are 5V too. The ESP isn't 5V tolerant if you take it strictly. Please don't try to power the MAX202 with 3.3V this is out of spec. Please use 3.3V components f.e. MAX3232.

Ah, of course. Didn't even consider that. Ok, once I get back home I'll start looking into it again. Away for 2 week vacation atm. Cheers.

from esphome-pipsolar.

avion23 avatar avion23 commented on June 30, 2024

from esphome-pipsolar.

AtarianComputing avatar AtarianComputing commented on June 30, 2024

Show a photo of your wiring

Which iteration/combination? :) The way I've set it up now is that the COM-cable I built has a DB9 housing so a photo would only reveal the wiring between the converter and ESP.

Actually, hmb, I'll draw it. Tonight or tomorrow.

from esphome-pipsolar.

AtarianComputing avatar AtarianComputing commented on June 30, 2024

Alright. Here is the actual converter that's currently plugged in and how it's wired as of now:

image

I've verified the connections to the IC by continuity checks. The schematic also confirms it:

image

I've also switched the TX/RX on both ends to rule out any confusion on my part.

from esphome-pipsolar.

AtarianComputing avatar AtarianComputing commented on June 30, 2024

I just realized that WatchPower has a debug feature. Here it is.
WatchPower-Debug.zip

from esphome-pipsolar.

syssi avatar syssi commented on June 30, 2024
[20:02:14][D][uart_debug:114]: <<< 51:50:49:47:53:B7:A9:0D
[20:02:23][VV][scheduler:196]: Running interval 'update' with interval=10000 last_execution=19325 (now=29325)
[20:02:24][D][pipsolar:838]: Sending polling command : QPIGS with length 5
[20:02:24][D][uart_debug:114]: >>> 51:50:49:47:53:B7:A9:0D
[20:02:24][D][pipsolar:772]: checking crc on incoming message

The incoming message is an echo of the request / transmitted message. This looks like bad wiring. Please keep in mind the MAX202 provides a logic level of 5V. There is a chance you have already toasted your RX GPIO.

from esphome-pipsolar.

AtarianComputing avatar AtarianComputing commented on June 30, 2024
[20:02:14][D][uart_debug:114]: <<< 51:50:49:47:53:B7:A9:0D
[20:02:23][VV][scheduler:196]: Running interval 'update' with interval=10000 last_execution=19325 (now=29325)
[20:02:24][D][pipsolar:838]: Sending polling command : QPIGS with length 5
[20:02:24][D][uart_debug:114]: >>> 51:50:49:47:53:B7:A9:0D
[20:02:24][D][pipsolar:772]: checking crc on incoming message

The incoming message is an echo of the request / transmitted message. This looks like bad wiring. Please keep in mind the MAX202 provides a logic level of 5V. There is a chance you have already toasted your RX GPIO.

Thanks for responding. I've supplied +5V as my diagram states. Again bad wiring is so unlikely that it's more conceivable that the ESP is fried. When you say toasted RX GPIO, do you mean the ones I'm using or the whole thing? I've tried other GPIOs as well.

from esphome-pipsolar.

syssi avatar syssi commented on June 30, 2024

I've checked your debug logs from WatchPower especially the QPIGS response:

233.0 50.0 233.0 50.0 0318 0301 012 427 27.07 003 095 0498 0003 034.8 27.21 00000 10010110 00 04 00105 000

It's the standard format and supported by the official component: https://esphome.io/components/pipsolar.html

In other words: As soon as you manage to make a proper connection between the inverter and the ESP it should work.

About the logic level: If you power the MAX202 with 5V the logic level at the output pins are 5V too. The ESP isn't 5V tolerant if you take it strictly. Please don't try to power the MAX202 with 3.3V this is out of spec. Please use 3.3V components f.e. MAX3232.

from esphome-pipsolar.

KM192 avatar KM192 commented on June 30, 2024

Did you succeed to connect SML III via pipsolar ?
I have the same troubles.

from esphome-pipsolar.

KHackmann avatar KHackmann commented on June 30, 2024

In welchem Port am Inverter steckt der RJ45 Stecker?

from esphome-pipsolar.

syssi avatar syssi commented on June 30, 2024

Summary:

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.