Sergey,
It looks like you are starting another way-cool project. I can't help you with the programming or the hardware....but a couple of things about gasses might be useful.
You mentioned having a small room with LPG tanks in it. LPG has become a catch-all name for several gasses and some are a mix of flammable gas.
It is not usually a good idea to store tanks inside a closed room...here's why:
Natural gas is lighter than air...and it will rise into any rooms (spaces) above it...and if you are unlucky...something very bad might happen.
Propane is heavier than air...and will descend (settle) to the lowest part of a dwelling....and again...you gotta be lucky and hope you don't have a gas driven water heater in the basement as an ignition source.
If you must store them in a closed area....a gas detector is a wise move....very wise.....
You mention cracks in the masonry of your wood burning stove. Is this an entirely masonry fireplace? Or is there a metal insert that actually contains the fire?
You also challenge my memory on wood burning stoves generation CO.....That seems improbable ( no guarantees here) because of the enormous volume of air necessary to make them work...but you can never be over cautious.
I did some quick reading on fireplaces and CO............seems there is a way to screw that up too......It has never been reported in my area because it is rarely a primary heat source here.
My own home requires me to keep the furnace off when i have the fireplace going because they compete for the available air....then i have to open a window ....and there goes the heat......
I posted this just in case someone needs the info on flammable gas characteristics.