This commit is contained in:
		@@ -8,6 +8,7 @@ from birbnetes_iot_platform_raspberry import BirbnetesIoTPlatformStatusDriver
 | 
			
		||||
from actuator import Loudspeaker
 | 
			
		||||
import paho.mqtt.client
 | 
			
		||||
import json
 | 
			
		||||
import sys
 | 
			
		||||
 | 
			
		||||
"""
 | 
			
		||||
Main Entrypoint
 | 
			
		||||
@@ -72,6 +73,8 @@ def main() -> None:
 | 
			
		||||
    Main function
 | 
			
		||||
    :return:
 | 
			
		||||
    """
 | 
			
		||||
    logging.basicConfig(stream=sys.stdout, format="%(asctime)s - %(name)s [%(levelname)s]: %(message)s",
 | 
			
		||||
                        level=logging.DEBUG if '--debug' in sys.argv else logging.INFO)
 | 
			
		||||
    BirbnetesIoTPlatformStatusDriver.init()
 | 
			
		||||
    listofabcsignaprocessors = (SoundSignalProcessor())
 | 
			
		||||
    loopingtimer = LoopingTimer(function=timer_tick, args=[listofabcsignaprocessors], interval=config.TICK_INTERVAL)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user