#!/usr/bin/python3 import time import json import configparser from pid import Pid from controller import Controller from mass import Mass if __name__ == '__main__': fp = open("brewpi.cfg.json") configJson = json.load(fp) plant = Mass(configJson["Simulation"]) temp = plant.getTemperature() fp = open("Rezept-001.json") recipeJson = json.load(fp) ablauf = Controller(configJson["Controller"], plant) ablauf.start(recipeJson) ablauf.stop() print ("End of program.")