Skip to content

Configuration Post Install

nipunreddevil edited this page Dec 22, 2012 · 1 revision
  • Changing the location where CSV's are stored. Open data_collect_csv.py with nano or vi. nano data_collect_csv.py

Make change the following line :data_base_path="/home/nipun/Desktop/data/" and set it to "/root/data" for Plug Computer or something appropriate if using your own machine. Similarly make changes in data_collect_csv_realtime_plot.py

  • Changing the timezone. In both of these files, while using plug computer, timezone must be explicitly mentioned. Add the following import to the beginning of both data_collect_csv.py and data_collect_csv_realtime_plot.py, if it does not exist. import pytz Find all occurences of now = datetime.datetime.now() and replace them with now = datetime.datetime.now(pytz.timezone('Asia/Kolkata')) or corresponding to your time zone.

Clone this wiki locally