Gallons Saved Counter ... - Fuelly Forums
Thread Tools Display Modes
Old 03-13-2007, 04:34 PM   #1
Supporting Member
cfg83's Avatar
Join Date: Sep 2006
Posts: 1,779
Country: United States
Gallons Saved Counter ...

Matt -

(This would be for after the EPA thing is settled)

In LA they have had Toyota Prius add signs showing the real-time gallons saved. Why not one for GasSavers? Here's how it would work :

1 - In the middle of the night you would fire up a shell script to gather the latest Gaslog entries into the system. Each entry would be compared to the combined EPA MPG entry for that car in the Garage.

2 - The gallons saved or lost (gotta be honest here!!!) would be added to an aggregate total for the day.

3 - The total would be used in a little Java(script?) program that would have two inputs, the running total for all of the days up until now and the new total for that day. As the day goes by the program would look at the computer's system time and update it's little "gallon's saved" meter. It could be a slowly running gas pump, similar to the one you already have in the upper left corner. For example, if the new total was 240 gallons, then the meter would show the "Running Total + 10" gallons at 1 AM and "Running Total + 100" gallons at 10 AM.

Notes : The program would have to be run at least once for the whole data set to generate the initial running total for the site. The "gas clock" would be depicting gallons saved from the previous day. Some days it would run slow, others maybe a little fast, depending on how many gaslog entries were made the previous day. Standard disclaimers would apply (EPA based, an approximation only, blah blah blah). If people don't like it chewing up CPU time (I don't think it would be a hog), it could have a turn off button.

Bad parts : More work for you. Some GasSavers might feel discouraged from entering their "below EPA" cars. The new EPA figures, however, will bring most people into "GasSaving" status, so I don't think that really matters.

I think it would be a good representation of GasSavers saving gas.


Old School SW2 EPA ... New School Civic EPA :

What's your EPA MPG?
cfg83 is offline   Reply With Quote
Old 03-13-2007, 05:53 PM   #2
Supporting Member
Hockey4mnhs's Avatar
Join Date: Dec 2006
Posts: 760
Country: United States
That sounds awsome i hope we do that to show how much we all save together

Hockey4mnhs is offline   Reply With Quote
Old 03-13-2007, 05:54 PM   #3
Registered Member
zpiloto's Avatar
Join Date: Mar 2006
Posts: 1,225
Country: United States
I think this would be cool. Kinda like the McDonalds hamburger thing. Over 1,000,000 gallons saved Provided Matt has time to mess with it and it doesn't bog things down.
zpiloto is offline   Reply With Quote
Old 03-13-2007, 06:20 PM   #4
Registered Member
Join Date: Nov 2006
Posts: 358
Country: United States
They have one on It would be awesome to have one here.
repete86 is offline   Reply With Quote
Old 03-13-2007, 10:50 PM   #5
Driving on E
Matt Timion's Avatar
Join Date: Sep 2005
Posts: 3,110
Country: United States
Originally Posted by repete86 View Post
They have one on It would be awesome to have one here.
Well in that case...

I'm working on something for my paying job tomorrow... and then I need to do a quick part in a website I've been working on for months now.

After that, the garage plugin rewrite will begin. I think that this would be a great addition.
Matt Timion is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
epa estimates cseverens Fuelly Web Support and Community News 2 06-09-2010 03:48 AM
No love for motorcycles... CopaDriver Fuelly Web Support and Community News 6 08-19-2008 08:49 AM
How did you first find kickflipjr General Discussion (Off-Topic) 17 05-24-2006 07:28 PM

Powered by vBadvanced CMPS v3.2.3

All times are GMT -8. The time now is 03:39 PM.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2016, vBulletin Solutions, Inc.