Comments (5)
Thanks for your response. It helped a lot.
Now I can flash it and it's working.
Here are my findings.
- As the link to the russian site for rtltool.py was dead, so I used rtltool.py from https://hackaday.io/project/182205-py-ft10/log/206206-rtltool or https://github.com/cyber-murmel/rtltool. They are both the same and may be you could update the reference.
- for the rtltool.py, no need for the "RTL8762x MP Tool Kits(ZIP)". Just run trltool.py with pyton2.7
3
I have issue with OTA. It says that the Auth is not correct.
I had to flash in twice (not sure if the is correct) at 0xb000 and at 0x100000
/Users/hcouplet/.pyenv/versions/2.7.18/bin/python2 /Users/hcouplet/prg/projects/other/homeassistant/solis-stick/rtltool.py \
-p /dev/tty.usbserial-0001 wf 0xb000 \
/Users/hcouplet/prg/projects/other/homeassistant/solis-stick/libretiny-esphome/.esphome/build/solis2-stick/.pioenvs/solis2-stick/image_ota1.0x00B000.bin
/Users/hcouplet/.pyenv/versions/2.7.18/bin/python2 /Users/hcouplet/prg/projects/other/homeassistant/solis-stick/rtltool.py \
-p /dev/tty.usbserial-0001 wf 0x100000 \
/Users/hcouplet/prg/projects/other/homeassistant/solis-stick/libretiny-esphome/.esphome/build/solis2-stick/.pioenvs/solis2-stick/image_ota2.0x100000.bin
I ended up disabling OTA Password and OTA is working fine (I needed this before putting back the S3 card into the case to be able to update remotely the firmware).
I updated ota_component.cpp to bypass the wrong ota password commenting line at 239 :
After that flashing is working fine but the response is not valid (bypass error message).
it's some kind of digest auth with nonce and cnonce, may be the version in that tree has something wrong.
- I did all the initial flash on my mac but after installed LibreTiny ESPHOME on my HA. ESPHome was already there and I can use both of them :
For this I used the add repository button on https://github.com/libretiny-eu/esphome-hass-addon
So now I am using the libretiny version only for my solis S3.
OTA (without password) is working fine.
from ginlong-solis.
Please try to solely flash the app alone using the Python2 version of rtltool:
python2 ./rtltool2.py -p /dev/ttyUSB0 wf 0xb000 ./.esphome/build/solis-inv/.pioenvs/solis-inv/image_0x00B000.ota1.bin
from ginlong-solis.
- You are Solis S3 stick open source registered user # 3 :)
- Updated rtltool2 link. The one I use was created by @pvvx, the ones you mention differ (but probably work just as well)
- I never had any OTA password issues, that's strange.
- Don't know why ltchiptool fails for you, maybe @kuba2k2 has an approach on how to fix/debug this.
from ginlong-solis.
Hi, thanks for the ping.
- It seems that some people have issues with ltchiptool flashing (I don't, but others do...). Since there are many versions of rtltool scattered around the Internet (on github, forums, etc), both for Python 2 and 3... can you send the version which you've found to work the most reliably? It's possible that I broke the one used in ltchiptool somehow, or maybe it was broken since I got it in the first place.
- @hcouplet you're actually the second person reporting OTA issues lately (see libretiny-eu/libretiny#142). @hn do you have the latest version of LibreTiny (AND esphome) installed? Maybe there's something that changed in latest ESPHome versions that needs a fix on Realtek.
from ginlong-solis.
I use this rtltool version for python2, created by @pvvx, It always worked so far.
If I remember correctly, I re-installed both LibreTiny and ESPhome when you released LT 1.0.2 (May 11). Unlike @hcouplet, I don't have any (OTA-)problems with these versions, so everything is fine (except the strange ModBus sync problem, but that's a different story).
from ginlong-solis.
Related Issues (20)
- Problems with wemos/esphome & Solis RHI-5K-48ES-5G HOT 2
- Crash after WiFi scan with "RTL8195A Hard Fault Error" with LT 1.5.0 HOT 13
- Problems with flashing wifi stick (data transfer issues?) HOT 5
- Component modbus_controller took a long time for an operation HOT 2
- no success with ESPHome and Wemos D1 mini HOT 4
- High values for Active Power HOT 2
- ltchiptool usage, download mode, wiring HOT 6
- ESPHome missing sensors versus SolisCloud integration HOT 4
- ltchiptool upload error "Not a valid FlashMode" HOT 2
- Limited output power HOT 1
- ESPHome 2024.5.0 linker error: .ram_heap.data will not fit in region BD_RAM HOT 19
- Red led , impossible to re flash HOT 3
- Values Unknown : Inverter type definiton : 2030 HOT 3
- S5-GR1P5K ModBus problems with holding registers HOT 4
- Exceedconn EC04681-2014-BF connector 3D models HOT 1
- Not getting data from RHI-3P10K-HVES-5G HOT 2
- ESPHome 2024.6.3 - 'ota' requires a 'platform' key but it was not specified. HOT 3
- No connection to ESPHome API possible HOT 1
- Meter EnergyP value, value read from smart meter HOT 1
- MQTT support for RTL87xx boards HOT 1
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 ginlong-solis.