Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating firmware #11

Closed
jonnyrider opened this issue Jun 12, 2023 · 6 comments
Closed

Updating firmware #11

jonnyrider opened this issue Jun 12, 2023 · 6 comments

Comments

@jonnyrider
Copy link

Sorry for the very basic question, but even though I'm familiar with ESPHome and Home Assistant, I've never actually flashed the firmware on any other device!

My understanding is that I need to connect the S3 wifi stick via a serial adapter to my Raspberry Pi and then I can run the commands in the readme. Will the following adapter work?

https://www.amazon.co.uk/dp/B08CRL6KHV?psc=1&ref=ppx_yo2ov_dt_b_product_details

Do I then attach wires between the stick and the serial adapter (TX to TX, RX to RX and GND to GND)?

image

I understand that I will need to connect the TX pin to GND at boot so the firmware can be flashed.

I then think I just type the code into a terminal on the Pi and the stick will be updated with ESPHome firmware that will provide data directly to Home Assistant?

Thanks in advance for any help, I don't want to fry the wifi stick by doing this wrong!

@hn
Copy link
Owner

hn commented Jun 12, 2023

Everything you write is correct in principle (you just have to cross RX-TX lines, but that's a detail). But beware, this is a hackish project in its early stages, I can not guarantee anything). But I think you will not fry the stick.

Please also see #10.

For the serial adapter, I think a cheaper one should do the job better.

@jonnyrider
Copy link
Author

Thanks for the quick response!

I was originally going to create my own stick following this: https://github.com/incub77/solis2mqtt which is why I ordered that serial adapter. I will give it a go with that first (it arrives later) and if it doesn't work I'll try the adapter you mentioned.

@jonnyrider
Copy link
Author

I tried this last night, but couldn't get the device to boot into the flash memory. I think I've got the wires round the wrong way, can you please help with where each wire should go when connected to the below?

image

Thanks!

@hn
Copy link
Owner

hn commented Jun 16, 2023

I think you can not use this adapter. You need a 5V pin to power the stick (VCC).

@hn
Copy link
Owner

hn commented Jun 17, 2023

Please also see #9 (comment)

@jonnyrider
Copy link
Author

jonnyrider commented Jun 18, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants