The MP3car.com Store  

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.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > StreetDeck > DigitalMods (Scripts / API)

Reply
 
Thread Tools Display Modes
Old 12-31-2007, 12:28 AM   #1
StreetDeck Skinning Master
 
06TC_OWNER's Avatar
 
Join Date: Mar 2006
Location: Fort Collins
Vehicle: 2006/Scion/TC
Posts: 360
My Photos: (0)
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
__________________
View my current SD Projects:

Last edited by 06TC_OWNER : 12-31-2007 at 12:41 AM.
06TC_OWNER is offline   Reply With Quote
Sponsored Links
Old 12-31-2007, 12:14 PM   #2
FLAC is for flacid
parksgm's CarPC Specs
 
parksgm's Avatar
 
Join Date: Dec 2005
Location: Dallas, Texas
Vehicle: Mustang GT
Posts: 1,113
My Photos: (4)
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.
parksgm is offline   Reply With Quote
Old 01-01-2008, 02:36 AM   #3
Low Bitrate
giannidsg's CarPC Specs
 
Join Date: Apr 2007
Location: NE ITALY (near Venice)
Vehicle: audi tt mk2 2007
Posts: 69
My Photos: (4)
thank you very much, please give me an information, do you have tested in infill g4?
giannidsg is offline   Reply With Quote
Old 01-01-2008, 10:03 PM   #4
StreetDeck Skinning Master
 
06TC_OWNER's Avatar
 
Join Date: Mar 2006
Location: Fort Collins
Vehicle: 2006/Scion/TC
Posts: 360
My Photos: (0)
No, but this should be hardware independent... ANY pc running Streetdeck 1.1.1.0 and .NET 2.0 framework will work.
__________________
View my current SD Projects:
06TC_OWNER is offline   Reply With Quote
Old 01-29-2008, 09:32 AM   #5
FLAC is for flacid
parksgm's CarPC Specs
 
parksgm's Avatar
 
Join Date: Dec 2005
Location: Dallas, Texas
Vehicle: Mustang GT
Posts: 1,113
My Photos: (4)
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.
parksgm is offline   Reply With Quote
Old 01-29-2008, 09:37 AM   #6
FLAC is for flacid
parksgm's CarPC Specs
 
parksgm's Avatar
 
Join Date: Dec 2005
Location: Dallas, Texas
Vehicle: Mustang GT
Posts: 1,113
My Photos: (4)
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.
parksgm is offline   Reply With Quote
Old 01-29-2008, 09:41 AM   #7
StreetDeck Skinning Master
 
06TC_OWNER's Avatar
 
Join Date: Mar 2006
Location: Fort Collins
Vehicle: 2006/Scion/TC
Posts: 360
My Photos: (0)
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.
__________________
View my current SD Projects:
06TC_OWNER is offline   Reply With Quote
Old 01-29-2008, 09:48 AM   #8
StreetDeck Skinning Master
 
06TC_OWNER's Avatar
 
Join Date: Mar 2006
Location: Fort Collins
Vehicle: 2006/Scion/TC
Posts: 360
My Photos: (0)
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?
__________________
View my current SD Projects:
06TC_OWNER is offline   Reply With Quote
Old 01-29-2008, 10:46 AM   #9
FLAC is for flacid
parksgm's CarPC Specs
 
parksgm's Avatar
 
Join Date: Dec 2005
Location: Dallas, Texas
Vehicle: Mustang GT
Posts: 1,113
My Photos: (4)
Quote: Originally Posted by 06TC_OWNER View Post
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.
parksgm is offline   Reply With Quote
Old 01-31-2008, 05:44 AM   #10
Constant Bitrate
rxh81's CarPC Specs
 
rxh81's Avatar
 
Join Date: Dec 2006
Location: Europe/Austria/Graz
Vehicle: Alfa Romeo GT
Posts: 160
My Photos: (0)
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
rxh81 is offline   Reply With Quote
Sponsored Links
Old 01-31-2008, 05:55 AM   #11
FLAC is for flacid
parksgm's CarPC Specs
 
parksgm's Avatar
 
Join Date: Dec 2005
Location: Dallas, Texas
Vehicle: Mustang GT
Posts: 1,113
My Photos: (4)
Quote: Originally Posted by rxh81 View Post
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.
parksgm is offline   Reply With Quote
Old 01-31-2008, 01:14 PM   #12
Constant Bitrate
marchello2000's CarPC Specs
 
Join Date: Sep 2005
Location: Redmond, WA
Vehicle: BMW 325i
Posts: 175
My Photos: (0)
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
marchello2000 is offline   Reply With Quote
Old 01-31-2008, 02:21 PM   #13
Maximum Bitrate
S4Per's CarPC Specs
 
S4Per's Avatar
 
Join Date: Jan 2004
Location: Seattle, WA
Vehicle: 2002 Audi S4 - Not quite stock
Posts: 707
My Photos: (0)
that would be awesome.
S4Per is offline   Reply With Quote
Old 01-31-2008, 04:14 PM   #14
FLAC is for flacid
parksgm's CarPC Specs
 
parksgm's Avatar
 
Join Date: Dec 2005
Location: Dallas, Texas
Vehicle: Mustang GT
Posts: 1,113
My Photos: (4)
Quote: Originally Posted by marchello2000 View Post
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.
parksgm is offline   Reply With Quote
Old 02-01-2008, 12:23 AM   #15
Constant Bitrate
marchello2000's CarPC Specs
 
Join Date: Sep 2005
Location: Redmond, WA
Vehicle: BMW 325i
Posts: 175
My Photos: (0)
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
marchello2000 is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

vB 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
iGuidance Button modification (Centrafuse style) justintime GPS 307 06-11-2008 08:01 PM
Chuck's Skins lots of pics Update 7-16-07 Chuck RR Skins 288 11-09-2007 09:49 PM
GPS Gamma support skippy76 Road Runner 4 10-19-2005 07:19 AM
Lilliput doesn't go into VGA mode anymore thefreeauction LCD/Display 10 09-23-2005 08:48 PM
Does XM mode operate as 'RADIO' mode rjoek Road Runner 8 07-07-2005 10:18 AM


All times are GMT -5. The time now is 04:08 PM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics