Comments (33)
Yes I send a wrong image i connect vcc to 3.3v gnd to gnd e rx to TX e tx to rx... Now I think it is correct
Edit 1
I try a big converter but the inverter not responding
, now I do some test with watchpower
from solar2mqtt.
can you connect a second uart (9600) to d4 to read the debug messages?
from solar2mqtt.
Yes I can...
I change only this value...
// PCM and PIP inverters use below
QpiMessage _qpiMessage = {97};
QpigsMessage _qpigsMessage = {110};
QmodMessage _qmodMessage = {5};
QpiwsMessage _qpiwsMessage = {36};
This value is correct because I use an other software and it works but I must use a raspberry butI want use a wemos
This value i don't know if are correct
QflagMessage _qflagMessage = {15};
QidMessage _qidMessage = {18}
I must change other variables?
I can try different value of
QflagMessage _qflagMessage = {X};
QidMessage _qidMessage = {Y};
from solar2mqtt.
Dont Change any of this, that are Not values.
On my Inverter ist works, so Take a Look in the debug what your Inverter ändert in the qpigs command.
from solar2mqtt.
Ah ok so I only must set the inverter type to pip or pcm?
from solar2mqtt.
At the Moment only PCM is supported, i dont can Test it on Other inverters. When you have the easun 2,4 so i think it Work.
The best way to Check is to Look at the serial1 this Show the answer from the Inverter.
I have updated some Code, so get a fresh Copy to Test it.
Please Report when tested
from solar2mqtt.
I soldered two cables to gnd and D4 now I have to connect a usb ttl converter to my PC ... Do you have a code to test to see how the inverter responds?
from solar2mqtt.
I soldered two cables to gnd and D4 now I have to connect a usb ttl converter to my PC ... Do you have a code to test to see how the inverter responds?
just load putty
connect the esp to power and the inverter and then start putty then you can see the second serial output.
to speed up the request frequenz open the webpage and go to live data
from solar2mqtt.
Putty show this in loop
▒▒▒:0,"busV":0,"heatSinkDegC":0,"battV":0,"battPercent":0,"battChargeA":0,"battDischargeA":0,"sccBattV":0,"solarV":0,"solarA":0}
Ajax Request answer:
{"gridV":0,"gridHz":0,"acOutV":0,"acOutHz":0,"acOutVa":0,"acOutW":0,"acOutPercent":0,"busV":0,"heatSinkDegC":0,"battV":0,"battPercent":0,"battChargeA":0,"battDischargeA":0,"sccBattV":0,"solarV":0,"solarA":0}
Sent Command: QPIGS
Ajax Request answer:
{"gridV":0,"gridHz":0,"acOutV":0,"acOutHz":0,"acOutVa":0,"acOutW":0,"acOutPercent":0,"busV":0,"heatSinkDegC":0,"battV":0,"battPercent":0,"battChargeA":0,"battDischargeA":0,"sccBattV":0,"solarV":0,"solarA":0}
the only modification I have in the circuit are the LEDs, i haven't the two leds but I don't think they create problems
from solar2mqtt.
the led an the link to this rs232 inverter is relict from the fork, i dont have rework the complete code at the moment.
this rs232-ttl inverter is garbage, that dint work for me,
the pins from this little inverter goes on other pins on the max chip, i dont know how daromeer move to work
i have the one with d9 sub jack.
give me a bit time, i can take a look what pins on the max chip is used by my inverter.
"Sent Command: QPIGS" after this comes the message from the inverter, so your inverter not answer to the qpigs command, or the communication is wrong, i think the rs232 communication its not correct.
on my rs232 ttl pice the pins from the chip ar not the same as this little type
edit: i have this https://www.amazon.de/DollaTek-Serieller-Anschluss-Konverter-Sprungkabel/dp/B07DK3874B/ref=sr_1_5?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&dchild=1&keywords=rs232+ttl&qid=1616670689&sr=8-5
that works, i have addet pictures to the repo
edit2: the pinout of the rj45 is wrong too on many pictures
from solar2mqtt.
yes this converter i think that is garbage ..... now i buy the converter like yours
this are the answere of my inverter
Sent Command: QPIGS
Sent Command: QPIGS
Data sent to MQTT SERver - up: Sent Command: QPIGS
Sent Command: QPIGS
Sent Command: QPIGS
Sent Command: QPIGS
Sent Command: QPIGS
Sent Command: QPIGS
Data sent to MQTT SERver - up: Sent Command: QPIGS
Sent Command: QPIGS
Sent Command: QPIGS
Sent Command: QPIGS
Ajax Request answer:
{"gridV":0,"gridHz":0,"acOutV":0,"acOutHz":0,"acOutVa":0,"acOutW":0,"acOutPercent":0,"busV":0,"heatSinkDegC":0,"battV":0,"battPercent":0,"battChargeA":0,"battDischargeA":0,"sccBattV":0,"solarV":0,"solarA":0}
Ajax Request answer:
{"gridV":0,"gridHz":0,"acOutV":0,"acOutHz":0,"acOutVa":0,"acOutW":0,"acOutPercent":0,"busV":0,"heatSinkDegC":0,"battV":0,"battPercent":0,"battChargeA":0,"battDischargeA":0,"sccBattV":0,"solarV":0,"solarA":0}
Ajax Request answer:
{"gridV":0,"gridHz":0,"acOutV":0,"acOutHz":0,"acOutVa":0,"acOutW":0,"acOutPercent":0,"busV":0,"heatSinkDegC":0,"battV":0,"battPercent":0,"battChargeA":0,"battDischargeA":0,"sccBattV":0,"solarV":0,"solarA":0}
now i can change with other converter and try if it is defective
The connetion
from solar2mqtt.
i have tried it with this little rs232-ttl pice and nothing work, with the bigger version with D9 jack it works.
i will look later, i think the little converter has another pinout from the chip.
it must work on an other way, its the same chip, i must chek the pinout.
the log show it clear, that the command is send, but no answer, any answer will show up in this.
(sorry my english is not the best)
from solar2mqtt.
I made a mistake in connecting the wires from the rj45 to the converter now I do a further test and fix the cables because I have inverted the white one with the red one
Edit 1 now I connect the wire correctly
But not work
tomorrow i receive the big converter and i try with that
from solar2mqtt.
i guess... just for test, can you connect the red and with cable to the underside of the pcb? it looks like the pads from top ar not connected to bottom, or messaure it
from solar2mqtt.
I tried with the multimeter to see the continuity actually the two sides are not connected together, I tried to connect the cables from the other side but it doesn't work ... tomorrow the new converter should arrive I will do the test with that
from solar2mqtt.
ok i have checked it,
with the little converter you musst both connect on the bottom (chip side is top). the top are other signal lanes.
like this
https://github.com/softwarecrash/Solar2MQTT/blob/master/images/drawing.png
from solar2mqtt.
I try to solder to the button side but there isn't any answer from the inverter
from solar2mqtt.
I try to solder to the button side but there isn't any answer from the inverter
Uploading IMG_20210325_203354.jpg…
with your image is some wrong
from solar2mqtt.
Yes now I re-upload the image... Your small convert works with the cables on the back?
from solar2mqtt.
Yes now I re-upload the image... Your small convert works with the cables on the back?
I dont have Test it with the small
from solar2mqtt.
can you show me a link to your inverter or pictures?
from solar2mqtt.
I have this
http://www.easunpower.com/Products/Off-Grid/241.html
I think that is the same of this pip 2424mse1
https://www.mppsolar.com/v3/pip-hsemse-series/
from solar2mqtt.
I have this
http://www.easunpower.com/Products/Off-Grid/241.htmlI think that is the same of this pip 2424mse1
https://www.mppsolar.com/v3/pip-hsemse-series/
thanks,
ok lets go a little bit deeper. have you the watchpower software and and can connect over serial?
the software have the option when right click on the taskbar icon click on debug, then you become a lot of tx files with answers of every command from your inverter. please zip and upload.
have you made any changes on the code?
i have found a little issue with the inverter type select, the pcm is the pip. for thest work you can take the code without any changes, it works for pip devices.
edit: i have corrected the inverter name typ
from solar2mqtt.
Today the big converter arrived and I made the welds tomorrow I try it ... If anything I also do the tests with whatch power ... initially I had modified your files then after I flashed your bin file directly
from solar2mqtt.
Today the big converter arrived and I made the welds tomorrow I try it ... If anything I also do the tests with whatch power ... initially I had modified your files then after I flashed your bin file directly
You have a Wireing issued, the yellow cable is your vcc so ist Looks, but going to tx
from solar2mqtt.
I connect the pc with the USB cable but I don't find any debug features on watchpower.... Where it is?
from solar2mqtt.
In the taskbar right click on the watchpower icon
from solar2mqtt.
I think that I have a different version of watchpower
from solar2mqtt.
the watchpower icon on the taskbar, right click and debug
from solar2mqtt.
debug-watchpower.zip
This is my file in the log folder
from solar2mqtt.
the top is yours, the bottom from me
so it looks okay, i think the problem must be on another place.
Please Look At watchpower when connected what serial baut rate ist Set.
have you connect it on the pc over usb or serial? when serial the port works
just for fun, try swap the rx/tx cables from the inverter, i have seen shematics with other pinouts.
you can test the communication another way when you connmect the esp with converter to the pc com port, with putty you can see then the request from the esp, then copy one line from the qpigs file begin at ( in the console to simluate the inverter.
what is the little switch on your esp?
Edit. now i have tested it with the little converter, and no data or crushed data at start, its curios, with my big converter with 8 pin heater out it works like a charm. unfortanly i cant find exaclty the one that i have, its a old like this
https://i.ebayimg.com/images/g/HZsAAOSwngxdUT3H/s-l300.jpg
but on this the leds other sorted.
its pissibil that are not every max232 work, i dont know about this
from solar2mqtt.
I have always used the usb port ... if I did the test with the console and putty I would only see if the esp works? what parameters should I put on putty? (data bit, stop bit, etc) ...
I had inserted the small switch to reprogram the esp via usb ...
the data rate is 2400 bps?
in this project there is a way to select automatically the inverter type
https://github.com/ned-kelly/docker-voltronic-homeassistant/blob/master/sources/inverter-cli/inverter.cpp
from solar2mqtt.
yes, the inverter rate is all 2400 8N1
when putty conected to the rs232-esp you can send the string from the qpigs txt file statring at (... when recive the qgpis request from the esp in putty.
i dont have build actual an automatic function, its not easy for me to implement a automatic function, but thanks i will take al look later. my version its early alpha, so many bugs and rare feauteres.
so i hope i can work in future on it, or/and find people there help me with this
for programing you can just unplug the rj45 then its run, so when you use the web updater you dont need to cut the serial line.
from solar2mqtt.
Related Issues (20)
- New working device HOT 1
- [HELP] commands via MQTT not accepted HOT 5
- POW-HVM6.2M-48V HOT 2
- Protocol 17 Voltronic Mppsolar FSP needed HOT 12
- MPPSolar 5KVA 48v HST4048 HOT 3
- Realme HOT 1
- 6.2KW Breckner model BK77729 HOT 1
- [Bug]: Why information from Inverter not showing up just one blink and missing HOT 4
- New working easun igrid sv iv 5.6 kW device HOT 3
- POWLAND 3KVA 2400w 24Vdc Off Grid HOT 2
- Solar2mqtt auto discovery HOT 2
- Node MCU support HOT 2
- Y&H VM PLUS-5.5KW-WIFI-M100A HOT 1
- [HELP] ESP8266 HOT 1
- Temperature sensor reading HOT 3
- New working device: EDECOA EM-304A HOT 1
- Intermittent connection HOT 10
- mpp solar Hybrid V 4Kw HOT 1
- MPP SOLAR Hybrid V2 HOT 1
- [Bug]: HA is not subscribed to LWT 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 solar2mqtt.