from section temperature which is used by seewasser.py to check all sensors,
and "mainsensor" is no a sensor name/file
config.read(os.environ['SEEPARKINI'])
apikey = config.get('openweathermap', 'apikey')
cityid = config.get('openweathermap', 'cityid')
config.read(os.environ['SEEPARKINI'])
apikey = config.get('openweathermap', 'apikey')
cityid = config.get('openweathermap', 'cityid')
-mainsensor = config.get('temperature', 'mainsensor')
+mainsensor = config.get('webapp', 'mainsensor')
app = Flask(__name__)
app.json_encoder = JSONEncoder
app = Flask(__name__)
app.json_encoder = JSONEncoder