I have 7 wire system and would like to know how to properly wire

Hello for fair warning I’m new to doing DIY projects, but I have background in IT(sysadmin). I do have experience in building customer PC’s and I do know how to solder.

I’m very interested in building and installing a HestiaPi for my A/C unit(US) in order to control it and not be stuck with the mess that is in the consumer market for “smart” thermostats. My primary concern would be how to properly wire my current A/C as my thermostat has 7 wires instead of 5 going to it.

System currently has an C, R(c)w/ wire jumper to R(h), Y, G, S2, W/E and O/B wire. I do know based on my A/C units documentation that the S2 is a sensor wire and not inherently needed to run the system. I’m pretty sure it’s not supported to begin with, but I figured it wouldn’t hurt to include. I do know the O/B wire is very likely needed. I have confirmed my unit is providing 28V AC on the C wire. So I’m pretty sure I can build a unit that uses my A/C’s provided power for the HestiaPi.

Any advice on if my system is supported and/or how to properly wire it would be greatly appreciated.