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

Sonoff TH Origin #436

Open
jonathanschneider opened this issue Oct 19, 2024 · 6 comments
Open

Sonoff TH Origin #436

jonathanschneider opened this issue Oct 19, 2024 · 6 comments

Comments

@jonathanschneider
Copy link

Hello,
I am trying to use BrewPiLess on a Sonoff TH Origin which has an ESP32 built in. After flashing the device and restarting I can't find the AP. I've tried flashing the binary BrewPiLess.v4.4.esp32.bin with NodeMCU PyFlasher as well as uploading esp32-dev and esp32 through PlatformIO.
Any ideas? Am I missing something?
Thanks!

@zandegran
Copy link
Contributor

zandegran commented Oct 19, 2024

I had the same problem with Sonoff TH Elite and now i am able to flash via VSCode and now i am having problem detecting the temp probe via one-wire.. (fixed)

@vitotai
Copy link
Owner

vitotai commented Oct 21, 2024

You will need to figure out the configuration of the board to make it work, including

  • onboard Flash size
  • GPIO PINs used
  • other parameters that I might not know.

@jonathanschneider
Copy link
Author

The flash size is 4MB, so board = esp32dev should be right. I can figure out the PINs. Would the wrong PINs keep the device from booting though?

@jonathanschneider
Copy link
Author

I figured out my problem. Flashing one of the ESP32 envs the ESP was stuck searching for an LCD. The Sonoff TH Origin doesn't have one. I combined the existing envs for ESP32 and the old Sonoff devices and now got it to boot. I will create a PR soon.

@jonathanschneider
Copy link
Author

To create the PR I also need to adjust Config.h. Since the Sonoff TH Origin uses an ESP32 I want to make sure all its options are selected. Where is this declared?

#if ESP32

@zandegran
Copy link
Contributor

zandegran commented Oct 23, 2024

Here is the PR that should work for both Origin and Elite including Leds and oled #438

@jonathanschneider @vitotai

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

3 participants