Welcome to the MP3Car.com forums.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact contact us.
|
12-31-2007, 12:28 AM
|
#1
|
|
StreetDeck Skinning Master
Join Date: Mar 2006
Location: Fort Collins
Vehicle: 2006/Scion/TC
Posts: 360
|
Auto Night Mode / Gamma
Here is the digital mod for automatic night mode/day mode - complete with a control panel for setting the time of each.
YOU MUST HAVE .NET 2.0 FRAMEWORK ON YOUR PC (Windows update does this automatically).
When you set the time, it checks every minute and toggles night mode as appropriate. If you install this and set the time, if you try to change to day mode at night, it will allow you to do so until the timer hits (<1min), then it will change it back.
Changing the time in the digimod will immediately (<1 min) change the times it works off of, but if you want it to save those times on reboot, click on the save settings button.
http://www.streetdeckskins.com/gamma.zip
Last edited by 06TC_OWNER : 12-31-2007 at 12:41 AM.
|
|
|
12-31-2007, 12:14 PM
|
#2
|
|
FLAC is for flacid
Join Date: Dec 2005
Location: Dallas, Texas
Vehicle: Mustang GT
Posts: 1,113
|
Looks great...thanks for the work! Will try it out as soon as I get home and can download it.
This really should be built into Streetdeck.
__________________
An amateur built the Ark. The Titanic was built by professionals.
|
|
|
01-01-2008, 02:36 AM
|
#3
|
|
Low Bitrate
Join Date: Apr 2007
Location: NE ITALY (near Venice)
Vehicle: audi tt mk2 2007
Posts: 69
|
thank you very much, please give me an information, do you have tested in infill g4?
|
|
|
01-01-2008, 10:03 PM
|
#4
|
|
StreetDeck Skinning Master
Join Date: Mar 2006
Location: Fort Collins
Vehicle: 2006/Scion/TC
Posts: 360
|
No, but this should be hardware independent... ANY pc running Streetdeck 1.1.1.0 and .NET 2.0 framework will work.
|
|
|
01-29-2008, 09:32 AM
|
#5
|
|
FLAC is for flacid
Join Date: Dec 2005
Location: Dallas, Texas
Vehicle: Mustang GT
Posts: 1,113
|
Does anyone use this? I'm sure the OP would like a bit of feedback for his work...
Thanks for a great (and much needed) mod (that should be a "stock" function of SD)!
__________________
An amateur built the Ark. The Titanic was built by professionals.
|
|
|
01-29-2008, 09:37 AM
|
#6
|
|
FLAC is for flacid
Join Date: Dec 2005
Location: Dallas, Texas
Vehicle: Mustang GT
Posts: 1,113
|
Ok, I have a request: - Is there any way to use the GPS lat/long coordinates and the date to figure out and incorporate sunrise/sunset times into this digital mod? I think it would be fantastic if the mod would essentially auto-update the toggle time...
__________________
An amateur built the Ark. The Titanic was built by professionals.
|
|
|
01-29-2008, 09:41 AM
|
#7
|
|
StreetDeck Skinning Master
Join Date: Mar 2006
Location: Fort Collins
Vehicle: 2006/Scion/TC
Posts: 360
|
Interesting... That might require a constant connection to the internet, but if you know of a service that based on the zipcode knows what sunrise and sunset is (I am sure there is one of these somewhere - weather channel maybe?), then it could be done.
|
|
|
01-29-2008, 09:48 AM
|
#8
|
|
StreetDeck Skinning Master
Join Date: Mar 2006
Location: Fort Collins
Vehicle: 2006/Scion/TC
Posts: 360
|
Actually, scratch that - it wouldn't need a constant connection to the internet...maybe just a button to update it? Either way, I need a web service to read from - maybe weather.com has this info? Anyone have the service url?
|
|
|
01-29-2008, 10:46 AM
|
#9
|
|
FLAC is for flacid
Join Date: Dec 2005
Location: Dallas, Texas
Vehicle: Mustang GT
Posts: 1,113
|
Quote: Originally Posted by 06TC_OWNER 
Actually, scratch that - it wouldn't need a constant connection to the internet...maybe just a button to update it? Either way, I need a web service to read from - maybe weather.com has this info? Anyone have the service url?
I think it could just be integrated into the digital mod as static data. AFAIK, sunrise and sunset times are determined by longitude, and so remain the same for each day each year. So, the sunrise time for January 29th, 2008 would be the same as January 29th, 2009 at a given longitude. The sunrise time for January 30th would be a bit earlier, but would also be consistent from year to year.
Here is a link that allows one to compute a sunrise/sunset table for a given location for an entire year.
And here is a page that has a java script that does the same thing. I was able to select "View source" in my browser, and was able to see the actual script itself...I can't imagine the calculations are too complex, and I don't think they depend on any dynamic information.
Inputting the zipcode would work, but I believe one could just use the current long/lat info from the GPS (if it is accessible to the digimod). Then, the info could be recalculated dynamically and would update correctly no matter where the car was driven, and would not require the user to know the zipcode in unfamiliar locations.
Hope that helps...
__________________
An amateur built the Ark. The Titanic was built by professionals.
Last edited by parksgm : 01-29-2008 at 11:00 AM.
|
|
|
01-31-2008, 05:44 AM
|
#10
|
|
Constant Bitrate
Join Date: Dec 2006
Location: Europe/Austria/Graz
Vehicle: Alfa Romeo GT
Posts: 160
|
Wow, that would be really cool!
And would make the mod really special and also particularly useable.
Because I think I wouldn't change this values two times a month, and so it wouldn't work for me long.
And it looks not that difficult to do, but I think you also have to consider the timezone.
The user have to input the timezone and you calculate the sunrise/set based on Greenwitch time and then convert it to local time.
Hope this inspires you !!
And we have an other feature, which can't be bought in a shop :-)
Roland
|
|
|
01-31-2008, 05:55 AM
|
#11
|
|
FLAC is for flacid
Join Date: Dec 2005
Location: Dallas, Texas
Vehicle: Mustang GT
Posts: 1,113
|
Quote: Originally Posted by rxh81 
And it looks not that difficult to do, but I think you also have to consider the timezone.The user have to input the timezone and you calculate the sunrise/set based on Greenwitch time and then convert it to local time.
Yep...or the time zone could be determined from the lat/longitude. There's bound to be a table that could provide that info as well...after all, timezones are pretty static!
EDIT
Actually, the time zone and daylight savings time should be set in Windows system clock, so it theoretically should already be available...
__________________
An amateur built the Ark. The Titanic was built by professionals.
|
|
|
01-31-2008, 01:14 PM
|
#12
|
|
Constant Bitrate
Join Date: Sep 2005
Location: Redmond, WA
Vehicle: BMW 325i
Posts: 175
|
Awesome work!
BTW, 06_TCOWNER, I have code to automatically calculate sunrise/sunset times. I can share that with you, or, if you want, can update your DigiMod.
Mark
|
|
|
01-31-2008, 02:21 PM
|
#13
|
|
Maximum Bitrate
Join Date: Jan 2004
Location: Seattle, WA
Vehicle: 2002 Audi S4 - Not quite stock
Posts: 707
|
that would be awesome.
|
|
|
01-31-2008, 04:14 PM
|
#14
|
|
FLAC is for flacid
Join Date: Dec 2005
Location: Dallas, Texas
Vehicle: Mustang GT
Posts: 1,113
|
Quote: Originally Posted by marchello2000 
Awesome work!
BTW, 06_TCOWNER, I have code to automatically calculate sunrise/sunset times. I can share that with you, or, if you want, can update your DigiMod.
Mark
An already great mod will be fantastic! Thanks, Mark.
__________________
An amateur built the Ark. The Titanic was built by professionals.
|
|
|
02-01-2008, 12:23 AM
|
#15
|
|
Constant Bitrate
Join Date: Sep 2005
Location: Redmond, WA
Vehicle: BMW 325i
Posts: 175
|
Ok, did not realize this was actually an Addin so I can't modify it (which is good, cuz I would rather 06TC_OWNER do that  ) I sent him my source code hopefully he can incorporate it in.
Mark
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:08 PM.
|
|