sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Variables
Yun_SHT31_WiFi_REST_Logger Namespace Reference

Variables

dictionary CONF
 
tuple ax = plt.gca()
 
tuple path = subprocess.check_output(CONF['mount'], shell=True)
 
tuple spamreader = csv.reader(csvfile)
 
list data = [row for row in spamreader]
 
list p = []
 time.sleep(CONF['interval_update']) plt.pause(CONF['interval_update']) More...
 
tuple t = time.strptime(line[0], CONF["fmt_time"])
 
tuple ts = (time.asctime(t), time.mktime(t))
 
list output = CONF['fmt_print']
 

Variable Documentation

tuple Yun_SHT31_WiFi_REST_Logger.ax = plt.gca()
dictionary Yun_SHT31_WiFi_REST_Logger.CONF
Initial value:
1 = {
2  'sensor': "datalog.txt",
3  'mount': ["lsblk | grep 'sdb1'"],
4 
5  'log_file': "Yun_ESP8266_SHT31_WiFi_REST.log",
6  'fmt_print': "%s, %14.3f, %9.3f °C, %9.3f %%rf, %9.3f V",
7  'fmt_write': "%s, %14.3f, %9.3f, %9.3f, %9.3f",
8 
9  'fmt_time': "%Y-%m-%d %H:%M:%S",
10 }
list Yun_SHT31_WiFi_REST_Logger.data = [row for row in spamreader]
list Yun_SHT31_WiFi_REST_Logger.output = CONF['fmt_print']
tuple Yun_SHT31_WiFi_REST_Logger.p = []

time.sleep(CONF['interval_update']) plt.pause(CONF['interval_update'])

tuple Yun_SHT31_WiFi_REST_Logger.path = subprocess.check_output(CONF['mount'], shell=True)
tuple Yun_SHT31_WiFi_REST_Logger.spamreader = csv.reader(csvfile)
list Yun_SHT31_WiFi_REST_Logger.t = time.strptime(line[0], CONF["fmt_time"])
tuple Yun_SHT31_WiFi_REST_Logger.ts = (time.asctime(t), time.mktime(t))