jpasqua / VisibleTesla

Java App to monitor and Control the Tesla Model S
125 stars 41 forks source link

Stop a rest cycle if HVAC goes on #103

Open jpasqua opened 9 years ago

jpasqua commented 9 years ago

If a rest cycle includes a period of HVAC use, it will skew the data for the purposes of computing vampire loss. The example is the car resting over night. You turn on the HVAC remotely for 15 minutes before getting in to drive to work. That HVAC use will make it appear that your vampire loss is greater than it actually was.

VisibleTesla should notice when the HVAC is turned on during a rest cycle and end the cycle. A cycle should not begin if the HVAC is on.

jpasqua commented 9 years ago

Since we don't get regular updates on the HVAC system and don't want to add lots of queries, it would be best if we could find a proxy for this and potentially any other non-vampire (intentional) uses of power during what would otherwise be considered a rest cycle.