-
Notifications
You must be signed in to change notification settings - Fork 2
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 pytzFind all occurences ofnow = datetime.datetime.now()and replace them withnow = datetime.datetime.now(pytz.timezone('Asia/Kolkata'))or corresponding to your time zone.