Closed korycins closed 4 years ago
Having a similar issue, how did you go with the sonoff dual?
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.
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:
BREWPI_SHIELD_REV_*
and figure out how to create a new shield type or change the features for an existing oneConfig.h
in the Pin Configuration
section for some ideas about what pins are currently mapped wherePins.h
for how the different shield types utilize different pinsThere 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.
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! 🙏🏼