This is step by step process/flow chart on how PiHome Smart Heating control make decision and save on gas bill and keep desirable temperature at any given time.

Raspberry Pi  Smart Heating Flowchart

Raspberry Pi Smart Heating Flowchart