Comments (11)
If you install the correct drivers and connect GPIO0 to GND when powering the ShineWiFi-X on it will let you flash the firmware over the onboard USB serial. No need to desolder and resolder anything.
from openinvertergateway.
Get the correct (USB UART) driver here: https://www.maxlinear.com/support/design-tools/software-drivers.
Shorten the GPIO0 to GND on powering up and its ready to be flashed. From top of my head the serial speed should be set to "115200".
I'm running a forked version of this code a couple of months already. I've added HomeAssistant discovery and WiFiManager (for easier setup of WiFi) to my code but it needs cleaning up before I want to initiate a pull request.
from openinvertergateway.
from openinvertergateway.
Hi Steven, interesting! I was about to start soldering until I read your response. Question, what is 'the correct' driver? Windows 10 recognizes the chip and installs a default serial port driver. That is not working out of the box for me.
(I am shortening the GPIO to GND during powerup, is that what you did too? Maybe some additional magic in the platform.ini perhaps.... Please share the magic ingredient how to make this work!)
from openinvertergateway.
Thanks Steven, that worked like a charm! Uploading worked with everything default. No soldering, just shortening the two pin holes during boot and voila. Now I have to wait till daylight to see the code running on my inverter ;-) Yes the WiFi setup could be more generic, Configuration during compile time has some drawbacks, but this is already great fun to play with. Looking forward to your additions/modifications.
from openinvertergateway.
Hi,
I have the ShineWifi-X stick with the soldered resitor. After connecting with my PC all three leds are glowing. But about one minute later they turn of. Is the stick at this phase still in flashing mode? The compiling process takes always longer and when the upload process wants to start the leds are turned of and I get the error message "esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header".
from openinvertergateway.
@achim-70 No, it's not in flash mode. You must connect GPIO0 to GND before plugged in (see the description here). then disconnect gpio0 from gnd. then only the red and blue led will light up (I think).
from openinvertergateway.
Hi @Cees2006,
thanks for the hint about the red and blue light. That got me further. I simply bridged GPIO0 and GND with a paper clip and connected the stick to the PC. Then the stick was in programming mode. I don't understand why a resistor is soldered on shown on the picture in the documentation. But it doesn't matter to me now because I've achieved my goal and was able to program the stick.
Btw I disconnected the bridge after the programming finished.
from openinvertergateway.
Hi @Cees2006,
thanks for the hint about the red and blue light. That got me further. I simply bridged GPIO0 and GND with a paper clip and connected the stick to the PC. Then the stick was in programming mode. I don't understand why a resistor is soldered on shown on the picture in the documentation. But it doesn't matter to me now because I've achieved my goal and was able to program the stick.
Btw I disconnected the bridge after the programming finished.
Hi achim-70, thanks for the info. Which driver / tool did you use to do the flashing? Im having troubles finding the right steps to flash my shinewifi-x.
from openinvertergateway.
@MichelFreund
Driver: https://www.maxlinear.com/content/document.ashx?id=1596
Tool: Arduino IDE (https://www.arduino.cc/en/software)
from openinvertergateway.
Flashing process is now documented here
from openinvertergateway.
Related Issues (20)
- Will it work with the 3000 TL LVM-48p HOT 2
- Add MQTT command to get firmware version HOT 1
- no data from inverter HOT 4
- PV energy at night / home assistant HOT 3
- SPH 8000TL3 BH-UP without PV strings | Error: Unkown Shine Stick HOT 1
- Add Possibility to update the firmware when connected to an AP HOT 1
- Error: Unknown Shine Stick HOT 9
- Unable to set MQTT broker HOT 1
- Huge first value HOT 3
- WiFi reconnection failure HOT 1
- Which EEPROM.h use for this? HOT 2
- Only precompiled release 1.0.0 works with Shine X HOT 1
- Strange values for TodayGenerateEnergy HOT 7
- Original Firmware
- Battery Status not available with Growatt mod 9000tl3-xh HOT 2
- Protocoll Error in Mosquitto HOT 3
- Suport shine Wifi-F (the big old white) that you need for all GROWATT SPF Series HOT 4
- How can i change the Modbus Protocol? HOT 1
- modbus - RTU over TCP - iobroker HOT 1
- Can't get any data from 10KTL3-X inverter. HOT 2
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 openinvertergateway.