ESP32S2 - AI Thinker
Moderators: grovkillen, Stuntteam, TD-er
-
- New user
- Posts: 5
- Joined: 05 Sep 2022, 16:05
ESP32S2 - AI Thinker
Hi,
I have an ESP32S2 board from AI-Thinker, I tried to use the general ESP32S2 image, but that doesn't seem to work. (reboot - loop).
Anybody have any experience with this specific board?
Regards,
Flipper999
I have an ESP32S2 board from AI-Thinker, I tried to use the general ESP32S2 image, but that doesn't seem to work. (reboot - loop).
Anybody have any experience with this specific board?
Regards,
Flipper999
Re: ESP32S2 - AI Thinker
What exact .bin file have you flashed on the unit?
Edit:
And to follow up with some tips:
- For first time installation, the .factory.bin file must be flashed at address 0x0
- Later upgrades can be installed from the Web UI using the Firmware Update button on the Tools tab (available after connecting the unit to WiFi), then the .bin file without .factory in the name must be used
- As long as the Flash partitioning (4M316k) stays the same, you can switch the build without loosing configuration, other than when switching between Collection builds, that some plugins from another Collection A..E build won't be available, but as long as you don't edit that specific task, the config-data will be preserved
Edit:
And to follow up with some tips:
- For first time installation, the .factory.bin file must be flashed at address 0x0
- Later upgrades can be installed from the Web UI using the Firmware Update button on the Tools tab (available after connecting the unit to WiFi), then the .bin file without .factory in the name must be used
- As long as the Flash partitioning (4M316k) stays the same, you can switch the build without loosing configuration, other than when switching between Collection builds, that some plugins from another Collection A..E build won't be available, but as long as you don't edit that specific task, the config-data will be preserved
/Ton (PayPal.me)
-
- New user
- Posts: 5
- Joined: 05 Sep 2022, 16:05
Re: ESP32S2 - AI Thinker
I used:
ESP_Easy_mega_20220809_collection_D_ESP32s2_4M316k.factory.bin
About the 0x0 address. I used ESP easy flasher, didn't see any setting for that. Anything specific i should do for this?
ESP_Easy_mega_20220809_collection_D_ESP32s2_4M316k.factory.bin
About the 0x0 address. I used ESP easy flasher, didn't see any setting for that. Anything specific i should do for this?
Re: ESP32S2 - AI Thinker
For ESP32 you should actually be using the Espressif flasher, and best to get the latest from the Espressif site, that prevents a lot of issues. I think we should make it a bit more clear that for ESP32 the Espressif tool should be used for best results. 
Edit: This should work for your board
On the next screen just enable the first checkbox, select a filename (with ESP32s2 and .factory.bin) and after the @ fill: 0x0 (or probably even just a 0 should suffice)

Edit: This should work for your board
On the next screen just enable the first checkbox, select a filename (with ESP32s2 and .factory.bin) and after the @ fill: 0x0 (or probably even just a 0 should suffice)
/Ton (PayPal.me)
-
- New user
- Posts: 5
- Joined: 05 Sep 2022, 16:05
Re: ESP32S2 - AI Thinker
Using the Espressif flasher worked
Thanks.
Using 0 was ok.
On to my next search mission, why can't i find the itho plugin, which should be in collection D.

Using 0 was ok.
On to my next search mission, why can't i find the itho plugin, which should be in collection D.
Re: ESP32S2 - AI Thinker
OK, great.
That may still be disabled in the current releases for (all) ESP32 builds, as it has caused issues in the past.Flipper999 wrote: ↑06 Sep 2022, 08:41 On to my next search mission, why can't i find the itho plugin, which should be in collection D.
There is a PR, still in progress, that has a lot of refactoring and partial restructuring of that plugin, the PR can be found here, you can download the binaries from the connected Github Actions build when logged in with a GH account. The last build of that PR can be downloaded from here
/Ton (PayPal.me)
-
- New user
- Posts: 5
- Joined: 05 Sep 2022, 16:05
Re: ESP32S2 - AI Thinker
Thanks for pointing me in the right direction, saves a lot of time 
Even had to upgrade to the E-collection because the itho plugin moved there in this build (as found in the conversation).
Upgrading firmware from collection D to E worked via webgui.
On to attaching the cc1101 module.

Even had to upgrade to the E-collection because the itho plugin moved there in this build (as found in the conversation).
Upgrading firmware from collection D to E worked via webgui.
On to attaching the cc1101 module.
-
- New user
- Posts: 5
- Joined: 05 Sep 2022, 16:05
Re: ESP32S2 - AI Thinker
Not sure where to ask, so trying here in my own post.
Can someone also point me in the direction on how to use the ITHO plugin on an ORCON Fan?
Most if not all documentation is for the Itho box, but there is a Enable Orcon support selection box and some comments in the GUI, but I'm not seeing messages from my ORCON remote in the debug screen.
Can someone also point me in the direction on how to use the ITHO plugin on an ORCON Fan?
Most if not all documentation is for the Itho box, but there is a Enable Orcon support selection box and some comments in the GUI, but I'm not seeing messages from my ORCON remote in the debug screen.
Re: ESP32S2 - AI Thinker
You could have started a new thread for that, in what you feel the most appropriate ESPEasy forum

For that option you need to have a recent build from PR #3889 where I added the Orcon support as suggested in PR #4099 (that doesn't have my refactoring/restructuring effort applied, so we agreed I'd apply those changes).Flipper999 wrote: ↑13 Sep 2022, 20:38 Can someone also point me in the direction on how to use the ITHO plugin on an ORCON Fan?
Most if not all documentation is for the Itho box, but there is a Enable Orcon support selection box and some comments in the GUI, but I'm not seeing messages from my ORCON remote in the debug screen.
I do not own Orcon equipment, so am unable to test, but if you could pair the CC1101 with an Orcon ventilation unit, I think the Ventilation unit's ID should be entered in the Device ID fields (probably that ID can be retrieved from a sticker on the unit?), and it may be that the Orcon unit only supports 1-way communication, so no info from the unit is shown in the logs, but again, I can't verify that.
If you could help in testing this addition to the plugin that would be fab

/Ton (PayPal.me)
Who is online
Users browsing this forum: No registered users and 22 guests