corretto servizio e altre cose
This commit is contained in:
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user