Ah yes... it is very confusing at first. The first spreadsheet comes directly from Espressif on how they work with the I/O pins. There are way more controllers available in the chip than pins to assign them to, and specific controllers inside the chip interface to specific pins, like the analog inputs and touch sensors.
The second spreadsheet is how I'm defining the inputs to the OpenStill program. Because the chip don't care if I use a variable instead of a constant in defining the gpio pin number, you can configure it on the fly!
How I envision it working is:
Shifu needs a DME fermentation heater.
Flash a ESP32 dev board with OpenStill.
Open an Ansi terminal connected to the devboard.
You do the normal configuration to connect this device to your wireless network and save it.
At this point, you can connect to it via a telnet session using an ansi terminal emulator on your phone.
Power it down.
Plug the dev board into the Power Control PCB.
Plug some DS sensors into the Power Control PCB.
Plug in the heater.
Power it up and telnet in.
Because there is no active configuration you need to build one. This is simple so I save my typing for coding.
Because there is no configuration, the telnet session will give you a list of high level functions you can implement.
A PID heater will be an option, so pick that.
That option expects several inputs:
An SSR output pin
A ZeroCross input pin
Temperature label for: Tsense, [Theatsink], [THeater]
Tsense = temp we are trying to control.
Theatsink = temp of SSR
Theater = temp of heater itself.
Then you would define the OneWire buses, by adding the OneWire module now.
You enter the GPIO pin you used to connect to the DS(s).
Then hopefully you are presented with a rom list of the DS18B20s on that pin and the temp. You then assign the specific DS to the desired temp label.
Continue adding pins to the one wire bus and assigning each new DS to a unique temp label.
You can also add other temp sensors like the smt172 or lm34 (now with 12 bit resolution like a DS) to a label as well.
Select the save option, give it a name, and you have a new button on your terminal window. Click that you get a first time configuration screen for the PID controller values, tweak values to your hearts content, save the settings.
Finally, so it took five minutes, you get the setpoint screen. Enter the desired warmth of the malt vinegar you are creating and press RUN. If you get a power failure and as long as there are no missing critical sensors, it will restart running. Then you can check on it anywhere you like and stop running the heater.
Here is some light reading...
Sorry the ESP Technical Refernence is too big!