66 [Interceptor] 67 # This section is for the network traffic interceptor driver. 68 69 # The driver to use: 70 driver = user.interceptor 71 72 # Specify the hardware device to capture. Options include: 73 # acurite-bridge - acurite internet bridge, smarthub, or access 74 # observer - fine offset WH2600/HP1000/HP1003, ambient WS2902 75 # lw30x - oregon scientific LW301/LW302 76 # lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge 77 # ecowitt-client - any hardware that uses the ecowitt protocol 78 # wu-client - any hardware that uses the weather underground protocol 79 #device_type = wu-client 80 device_type = observer 81 address = 192.168.1.118 663 [CSV] 664 # binding - The binding determines whether the file will be updated with every LOOP packet or archive record. 665 # Possible values are loop or archive. Default is loop 666 # filename - The full path of the file. Default is /var/tmp/data.csv 667 # mode - Indicates whether to append or overwrite each time data is written to file. Default is append. 668 # append_datestamp - Indicates whether the file should include a timestamp of the form YYYY-mm, 669 # so that /var/tmp/data.csv becomes /var/tmp/data-2017-01.csv, /var/tmp/data-2017-02.csv, 670 # etc. Default is True. 671 # datestamp_format - The format for the appended datestamp. 672 # For example, %Y-%m-%d would result in filenames such as data-2017-10-01.csv, 673 # with a new file each day. Default is %Y-%m, which results in a new file each month. 674 # header - Indicates whether to include a header with the name of each field at the beginning of the file. 675 # Default is True. 676 # timestamp_format - The format for the data timestamp. For example, %Y-%m-%d %H:%M:%S results in 677 # a dateTime field like 2017-10-01 14:23:03. All times are UTC. Default is no format, 678 # which results in a unix epoch. 679 680 binding = loop 681 filename = /var/www/html/weewx/packet_capture/BresserData.csv 682 mode = append 683 append_datestamp = true 684 header = true 685 datestamp_format = %Y-%m-%d 686 timestamp_format = %Y-%m-%d %H:%M:%S 687 688 #EndOfFile