Comments (11)
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.
from esphome-pipsolar.
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.
Alright. Here is the actual converter that's currently plugged in and how it's wired as of now:
I've verified the connections to the IC by continuity checks. The schematic also confirms it:
I've also switched the TX/RX on both ends to rule out any confusion on my part.
from esphome-pipsolar.
I just realized that WatchPower has a debug feature. Here it is.
WatchPower-Debug.zip
from esphome-pipsolar.
[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.
[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.
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.
Did you succeed to connect SML III via pipsolar ?
I have the same troubles.
from esphome-pipsolar.
In welchem Port am Inverter steckt der RJ45 Stecker?
from esphome-pipsolar.
Summary:
- WatchPower is able to talk to the inverter
- The inverter responds to QPIGS and QPIRI
- The exact protocol version isn't know. This YAML should be used to identify the protocol version: https://github.com/syssi/esphome-pipsolar/blob/main/tests/esp8266-test-protocols.yaml
from esphome-pipsolar.
Related Issues (20)
- pipsolar + jk_bms HOT 1
- esphome reports "unknown" when inverter shuts down or on its own sometimes HOT 1
- Pooling command for P18 wrong HOT 1
- Question regarding ttl RS485 adapter HOT 4
- set_level action expects a percentage and clips values above 1.0 HOT 4
- Qoltec 6KW (PI30) - timeout QPIGS other works HOT 3
- Adding external componen not found HOT 4
- MPI 10k integration
- pipsolar ac_output_active_power HOT 1
- Effecta AX-P1 whit USB2.0 typ B COM port HOT 11
- Apiconnectionerror HOT 2
- Inverter Log HOT 1
- Component jk_modbus took a long time for an operation.... and cause esp to halt after sometime HOT 2
- Pipsolar inverter pv1 and pv2 HOT 1
- Hybrid Solar inverter 8.2kw/10.2KW HOT 31
- Change value on QFLAGS status
- New sensors and custom settings on mi invertor Effekta AX- Series HOT 3
- Fronus PV7200 - CRC NOK expected HOT 13
- Axpert_KSMKSV_RS232_Protocol HOT 8
- PIP 8048 zero values HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esphome-pipsolar.