[GENERAL] debug_mode=False path=/var/lib/cloud9/Data/ [DB_SETTINGS] db_file_name= WMA001.db tablename= WMA001 days_archive = 3 [MQTT_SETTINGS] NumberOfHosts = 2 NumberOfPublishers = 3 topic_debug=DPW/STR/BUILDING/WIND/DEBUG password = netweb123 qos=1 [Host1] port = 1883 connect = True name = 10.0.1.103 client_name = WMA002 [Host2] port = 1884 connect = True name = 192.168.187.121 client_name = WMA002_DISPLAY [Publisher1] ;#host to which will publish host_n=1 ;#wether will publish or not pubflag=True #MQTT topic topic = DPW/STR/CRAN2/WIND/ ;#name of thread (if created)/name of the publisher threadName=Pub_sensor ;#read from archive arc_flag=True ;#execute in daemon thread daemonTh=False ;#source from date Source=sensor ;#only true for the sensor source (say if data will be written when not published) store_flag = True ;#publish from newest(pseudo online data) or oldest (stored data from last) order=newest ;#number of line publications per execution n=1 [Publisher2] host_n=1 pubflag=False topic = DPW/STR/CRAN2/WIND/ threadName=Pub_archive arc_flag=True daemonTh=True Source=archive store_flag = False order=oldest n=1000 [Publisher3] host_n=2 pubflag=True topic = DPW/STR/CRAN2/WIND/ threadName=sensor_to_display arc_flag=False daemonTh=False Source=sensor to display store_flag = False order='' n=0 [RS485_SETTINGS] baudrate = 9600 parity = N stopbits = 1 mode = rtu close_port_after_each_call=True debug_serial=False timeout = 0.1 precalculate_read_size = True handle_local_echo = False uart=UART4 port_name=/dev/ttyO4 slave_address=1