corretto servizio e altre cose

This commit is contained in:
2021-02-24 16:40:35 +01:00
parent 0d4bcb7413
commit d11f3ec243
5 changed files with 22 additions and 25150 deletions

View File

@@ -396,10 +396,13 @@ if __name__ == '__main__':
if not settings['sendMqtt']:
saveSamples(samples)
LOGGER.warning("Chiudo il Canale")
firstLoop = True
stat = "IDLE"
pass
elif stat == "IDLE":
LOGGER.info("Pronto a Iniziare Cattura")
if firstLoop:
LOGGER.info("Pronto a Iniziare Cattura")
firstLoop = False
else:
pass
time.sleep(settings["loopPeriod"])