Agreed, but if you know you're not going to take a drive in the middle of the night there's no point in polling the car every minute!
Which is why I suggested way upthread a user setting to define the times between which the polling can go up to several minutes, or even half an hour like VisibleTesla does. For example, I'd set the "sleep time" to midnight and the "awake time" to 6am.
Right now the only way to do this is to manually turn off polling, which is cumbersome to do on a regular basis and easy to forget.
I would love for Marc Olivier (mo!) to implement this simple function soon so we can reduce the load on Tesla's servers and avoid getting shut out! (hint hint :wink: to Marc)
Yes, I remember seeing your suggestion and liking it. As you know, I also use VT, and also make use of the ability to have VT "sleep" in the middle of the night, when I know we won't be driving. I agree that the sooner he implement something like this, the better. I was merely pointing out why basing the polling on park, driving, etc., in and of itself wouldn't work well.
If Marc were to implement your user-defined times for polling frequencies, I'd suggest adding an aspect of it that automatically prevents the car from switching to a lower polling frequency if it is driving, and also automatically switching to the highest frequency when it is found to be driving, or at least the options to do this. So, for example, if you have your normal "sleeping" times set, but are coming home late one night, TeslaLog won't suddenly lose a lot of data at the end of your drive because you hit a different polling frequency.
TeslaLog and all the hits on the Tesla servers may be flying under the radar for now, but as the number of users continue to grow the chances of that continuing becomes less and less likely. I think this feature would be an important safe-guard that could make the likelihood of TeslaLog being able to continue to function in the future more probable.
Edit: I was posting at the same time Marc C. was, so perhaps none of my post is relevant.
Edit 2: Marc C--If we know the car will be sleeping from midnight to 6:00 AM, would there be any harm in turning off the polling completely during that time? Essentially you'd be building us a way to automate what you have already given us with respect to the ability to turn off logging. We would just be turning it off on a schedule, ahead of time, and the "turning off" would be overridden if the car was actually being driven when it was supposed to turn off.
Edit 3: I just thought of a problem with my plan in Edit 2. I'm not sure charging data would be recorded properly (or at all if the entire charge took place while no polling was taking place.)
- - - Updated - - -
The only possible solution to this would be to create an Android application that would detect your car bluetooth connection and enable logging only when that happened. Also with that idea, I could also detect the car driver and allow for different logging fields on the site so you could mask only a single driver trip. I started the android app, but a part of a basic login process I haven't done much more ! If your on the dark side (apple), your out of luck
This goes along with my question in Edits 2 and 3 in my post above. If one were to use the app you are building, and only log when there is a bluetooth connection, what would happen with respect to logging charging activity?