Changeset - 18ae0de640b9
[Not reviewed]
default
0 1 0
matthewreed - 9 years ago 2016-08-08 20:01:11

Added timezone compensation for EST timezone
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
hydrobot.py
Show inline comments
 
@@ -12,6 +12,7 @@ from influxdb import InfluxDBClient
 
from influxdb import SeriesHelper
 
from apscheduler.schedulers.background import BackgroundScheduler
 
import PID
 
from pytz import timezone
 

	
 
#TODO
 
#fix temperature offsets
 
@@ -147,6 +148,7 @@ class Scheduler:
 
    def __init__(self, canbus):
 
        self.canbus = canbus
 
        self.apscheduler = BackgroundScheduler()
 
        self.apscheduler.configure(timezone=timezone('US/Eastern'))
 
        
 
    def start(self):
 
        self.apscheduler.start()
0 comments (0 inline, 0 general)