I want to dive into the source code for my BrewPi Spark 2. First of all, I want to better understand some of the features and algorithms, then I want to customize it for my use case.
Are there any design/architecture overviews available?
Are there any docs to help me get a dev environment up & running?
Any docs that give a quick overview of the source tree?
It looks like the main code I’m interested in is in firmware/app/controller … but I don’t see a main() so I’m not sure where the entry point is (I haven’t spent a lot of time-- I should be able to figure this out). I’ve done lots of C/C++ programming, though its been a while. I haven’t done anything with the Spark/Photon so any tips to ramp up my learning curve will be appreciated.
Basically, I’m just going to use my BrewPi to monitor & control the temperature in my wine cellar, with an alarm when it gets too low or too high. This is pretty basic, but I’m thinking of using two thermometers at different locations in the cellar and having it turn fans on/off when the temp differential grows. Then it would be cool to use the touch screen as a light switch to turn the lights on & off.
If you have any tips to get a newbie up & running with the code, it would be appreciated. If anything I write ends up being useful I’d be more than happy to contribute it back as well.