thorrak / brewpi-esp8266

An implementation of the BrewPi device code on the ESP8266, ESP32, and ESP32-S2
GNU General Public License v3.0
85 stars 30 forks source link

Build wifi binary problem #36

Closed korycins closed 4 years ago

korycins commented 4 years ago

Hi @thorrak! Thanks a lot for your projects! I am trying to customize it to my requirements but I have a couple of problems/questions. Building with platformio works, serial binary works, but wifi binary not. I assume that there are some build flag to set it up for wifi build. Any ideas? Second question: I am using an esp8266 from sonoff dual r2, it is a little bit hard to use defined pinouts. Is there any option to change it somewhere in the source code? Especially Onewire for temperture sensor, hotter anc cooler. Thanks a lot! 🙏🏼

ninthl1fe commented 2 years ago

Having a similar issue, how did you go with the sonoff dual?

korycins commented 2 years ago

Hey, I don't remember exactly. The problem with binary, was the incorrect versions of dependency packages. For the pinouts, I found some schema and used them to change the definition of the pinouts.

lbussy commented 2 years ago

All of the development ESP8266 boards are different. The physical dimensions and the available pinouts differ from manufacturer to manufacturer. Especially when it comes to boards with different built-in features like displays, buttons, SD cards, and relays, you run into conflicts with code written for others.

It's unrealistic to try to release a binary version for each board. Given the cost of these boards versus the effort required to maintain different codebases, it seems fair to suggest people without coding experience use one of the boards suggested. If you wish to dive in, however, you will want to:

There may be more, it takes some poking around and playing to find it all. The original BrewPi code was somewhat strangely mapped out, and honestly, at the time there was no such thing as people going out and finding cheap Chinese all in one boxes. There was Arduino, and that was it.

Speaking for @thorrak, I'd suggest if you do find a clean way to get it done, fork the repo and create a pull request for the changes.