Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Centrafuse


Reply
 
Share Thread Tools Display Modes
Old 05-26-2008, 08:52 AM   #1
Low Bitrate
 
Join Date: Oct 2006
Posts: 81
Malaki86 is an unknown quantity at this point
Weather stopped working

I can't figure this one out - my weather stopped updating yesterday and is still out. Any chance the data goes through the fluxmedia site?

Edit: I tried changing the zip codes to different areas - still no go

Last edited by Malaki86; 05-26-2008 at 08:56 AM.
Malaki86 is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 05-26-2008, 12:00 PM   #2
Constant Bitrate
 
ivanmx6's Avatar
 
Join Date: Dec 2006
Location: Dorset, UK
Posts: 186
ivanmx6 is an unknown quantity at this point
Working OK here (UK)
ivanmx6 is offline   Reply With Quote
Old 05-26-2008, 12:06 PM   #3
FLAC
 
Join Date: Jun 2006
Location: Calgary, Alberta
Posts: 1,133
Blog Entries: 1
nobb will become famous soon enoughnobb will become famous soon enough
Yea, my weather isnt working either. Everything just suddenly blanked out one day.

Calgary, Alberta, Canada here.
nobb is offline   Reply With Quote
Old 05-26-2008, 01:35 PM   #4
VENDOR - Centrafuse
 
veetid's Avatar
 
Join Date: Apr 2004
Posts: 5,041
veetid is on a distinguished road
what version? this was an issue with versions prior to 2.0 RC2

david
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
veetid is offline   Reply With Quote
Old 05-26-2008, 03:31 PM   #5
Low Bitrate
 
Join Date: Oct 2006
Posts: 81
Malaki86 is an unknown quantity at this point
It's on RC3 - was working last night just fine.
Malaki86 is offline   Reply With Quote
Old 05-26-2008, 08:23 PM   #6
Low Bitrate
 
Join Date: Oct 2006
Posts: 81
Malaki86 is an unknown quantity at this point
Still nothing on the weather. The system has been restarted a couple times with no luck.



Malaki86 is offline   Reply With Quote
Old 05-27-2008, 06:34 PM   #7
Maximum Bitrate
 
Join Date: May 2006
Location: Seattleish, WA
Posts: 823
midiwall is on a distinguished road
Quote: Originally Posted by Malaki86 View Post
Still nothing on the weather. The system has been restarted a couple times with no luck.

Are you still getting a network connection? I see the green light in your screen shot, but be sure you can actually surf to weather.com from a browser.
__________________
:: Mark
midiwall is offline   Reply With Quote
Old 05-27-2008, 10:21 PM   #8
Low Bitrate
 
Join Date: Oct 2006
Posts: 81
Malaki86 is an unknown quantity at this point
I was on my home pc when i took those shots. I had full internet at the time - I posted them from that pc and had been on the 'net all day.

I'm in my truck now and it's working. It may be that system - it's a Vista machine... I'll check it again when I get home this weekend.
Malaki86 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 05-28-2008, 09:16 AM   #9
Mo' Programming Mo' Problems
 
Sonicxtacy02's Avatar
 
Join Date: Sep 2004
Location: Woodbridge, VA
Posts: 6,410
Blog Entries: 7
Sonicxtacy02 has a spectacular aura aboutSonicxtacy02 has a spectacular aura about
i dont know how centrefuse pulls its weather data but if its from weather.com its quite possible its bein affected the same way RR was affected. They changed they're XML feed.
__________________
03 Acura RSX Coupe
Developer of: RRFusion, MovieTimes.NET, (new)RRMail, RRShoutcast, & RRVehicle Maintenance
Currently working on: RRVehicle Maintenance
Sonicxtacy02 is offline   Reply With Quote
Old 05-28-2008, 11:39 AM   #10
FLAC
 
Nola111's Avatar
 
Join Date: Jan 2007
Location: New Orleans, LA
Posts: 1,197
Nola111 is an unknown quantity at this point
Quote: Originally Posted by Sonicxtacy02 View Post
i dont know how centrefuse pulls its weather data but if its from weather.com its quite possible its bein affected the same way RR was affected. They changed they're XML feed.

Good call, Sonic. Yes CF uses Weather.com However, I checked late yesterday and mine is working fine.
Nola111 is offline   Reply With Quote
Old 05-28-2008, 05:05 PM   #11
VENDOR - Centrafuse
 
veetid's Avatar
 
Join Date: Apr 2004
Posts: 5,041
veetid is on a distinguished road
Quote: Originally Posted by Sonicxtacy02 View Post
i dont know how centrefuse pulls its weather data but if its from weather.com its quite possible its bein affected the same way RR was affected. They changed they're XML feed.

this is the case, but we fixed the feed in RC3, it should be working for everyone unless they have old files on the machine somehow...

david
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
veetid is offline   Reply With Quote
Old 06-04-2008, 01:50 AM   #12
Newbie
 
Join Date: Jun 2008
Posts: 3
zarzavaturi is an unknown quantity at this point
Quote: Originally Posted by veetid View Post
this is the case, but we fixed the feed in RC3, it should be working for everyone unless they have old files on the machine somehow...

david

Can you fixed the feed in plugin for version 1.2 ?

I made a solution for CFWeather plugin to show weather at current position.

At following address http://www.batchgeocode.com/lookup/ I found latitude and longitude for every city.

I am from Romania.
At following address http://weather.yahoo.com/regional/ROXX.html , I found all cities from Romania that have informations on weather.com

I created the file weather.ini:
Quote:
[Arad]
cod=ROXX0024
lat=46.18026
lon=21.323225

[Bacau]
cod=ROXX0023
lat=46.48000
lon=26.22000

[Botosani]
cod=ROXX0018
lat=47.741155
lon=26.667415

[Braila]
cod=ROXX0001
lat=45.27112
lon=27.956545

[Brasov]
cod=ROXX0002
lat=45.64235
lon=25.58841

[Bucharest]
cod=ROXX0003
lat=44.4342
lon=26.102955

[Buzau]
cod=ROXX0004
lat=45.15534
lon=26.817075

[Calafat]
cod=ROXX0042
lat=43.5800
lon=22.5600

[Calarasi]
cod=ROXX0032
lat=44.196515
lon=27.33539

[Campina]
cod=ROXX0005
lat=45.106151
lon=25.745557

[Caransebes]
cod=ROXX0026
lat=45.409137
lon=22.220693

[Ceahlau Toaca]
cod=ROXX0021
lat=46.97751
lon=25.94994

[Cluj-Napoca]
cod=ROXX0022
lat=46.770135
lon=23.596885

[Constanta]
cod=ROXX0034
lat=44.17694
lon=28.65321

[Craiova]
cod=ROXX0007
lat=44.31887
lon=23.80172

[Drobeta Tr. Severin]
cod=ROXX0031
lat=44.6288
lon=22.6517

[Focsani]
cod=ROXX0008
lat=45.69581
lon=27.18407

[Galati]
cod=ROXX0009
lat=45.433265
lon=28.051575

[Gheorgheni]
cod=ROXX0035
lat=46.722382
lon=25.61038

[Giurgiu]
cod=ROXX0010
lat=43.915495
lon=25.97194

[Iasi]
cod=ROXX0020
lat=43.915495
lon=25.97194

[Oradea]
cod=ROXX0019
lat=47.05206
lon=21.938735

[Petrosani]
cod=ROXX0036
lat=45.41259
lon=23.369355

[Pitesti]
cod=ROXX0011
lat=44.850985
lon=24.879774

[Ploiesti]
cod=ROXX0012
lat=44.940618
lon=26.023406

[Prundu]
cod=ROXX0037
lat=44.833302
lon=24.9167

[Rimnicu Vilcea]
cod=ROXX0028
lat=45.105171
lon=24.373249

[Rosiori de Vede]
cod=ROXX0013
lat=44.096085
lon=24.99297

[Satu Mare]
cod=ROXX0038
lat=47.793295
lon=22.876675

[Sibiu]
cod=ROXX0014
lat=45.791681
lon=24.147604

[Sighetu Marmatiei]
cod=ROXX0017
lat=47.926845
lon=23.902035

[Slatina]
cod=ROXX0015
lat=44.4333
lon=24.3667

[Slobozia]
cod=ROXX0016
lat=44.5667
lon=27.3667

[Sulina]
cod=ROXX0030
lat=45.1500
lon=29.6667

[Talmaciu]
cod=ROXX0039
lat=46.599998
lon=21.883301

[Timisoara]
cod=ROXX0040
lat=45.753425
lon=21.223275

[Tirgoviste]
cod=ROXX0041
lat=44.918538
lon=25.480473

[Vf. Omu]
cod=ROXX0025
lat=45.4500
lon=25.4500

I use a function to calculate distance between 2 positions (x1,y1) and (x2,y2):
Quote:
function distance(x1,y1,x2,y2:double):double;
var dx,dy:double;
begin
dx:=abs(x1-x2);
dy:=abs(y1-y2);
result:=sqrt(dx*dx+dy*dy);
end;

If my current position is (lat0,lon0), I calculate distances from current position to all cities from weather.ini file and I chose the city with smallest distance.

For example, if the smallest distance is from my position (lat0,lon0) and Slobozia (lat=44.5667,lon=24.3667) then I overwrite the file "c:\program files\flux media\centrafuse\plugins\weather\config.xml" with following content:
Quote:
<APPCONFIG>
<SKIN>Onyx WS Night</SKIN>
<APPLANG>English</APPLANG>
<WEATHERCODE>%COD%</WEATHERCODE>
<WEATHERCITY>%CITY%</WEATHERCITY>
<AUTODIAL>False</AUTODIAL>
</APPCONFIG>

where %COD% is replaced with "ROXX0016" and %CITY% is replaced with "Slobozia, Romania".

Last edited by zarzavaturi; 06-04-2008 at 07:09 AM.
zarzavaturi is offline   Reply With Quote
Old 06-04-2008, 11:11 AM   #13
Maximum Bitrate
 
Join Date: May 2006
Location: Seattleish, WA
Posts: 823
midiwall is on a distinguished road
VERY cool!!! Well done!

But, where is that function located? Who's executing it? Did you also write a vb app that's running on a timer to hot-patch the weather config xml?
__________________
:: Mark
midiwall is offline   Reply With Quote
Old 06-04-2008, 12:48 PM   #14
Newbie
 
Join Date: Jun 2008
Posts: 3
zarzavaturi is an unknown quantity at this point
Quote: Originally Posted by midiwall View Post
VERY cool!!! Well done!

But, where is that function located? Who's executing it? Did you also write a vb app that's running on a timer to hot-patch the weather config xml?

I used Borland Delphi.
I made a scheduler.exe that uses following file scheduler.ini:
Quote:
[Scheduler]
Commands=2

[Command1]
Interval=120
Execute=c:\services\internet.exe

[Command2]
Interval=300
Execute=c:\services\weather.exe

The weather.exe overwrite c:\program files\flux media\centrafuse\plugins\weather\config.xml at interval of 300 seconds.
zarzavaturi is offline   Reply With Quote
Old 06-04-2008, 03:40 PM   #15
Maximum Bitrate
 
Join Date: May 2006
Location: Seattleish, WA
Posts: 823
midiwall is on a distinguished road
Ahh, Pascal, how I love thee! (I missed the := operator in your source).

Are you reading your GPS through a split COM port? (Xport?)

Cool man.. Very cool.
__________________
:: Mark
midiwall is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Weather Plugin f1anatic Centrafuse 7 05-10-2008 10:35 PM
2003 Jetta Monsoon radio stopped working jmaglio1 Car Audio 7 01-31-2008 09:44 AM
SPV M700 / HTC P3600 not working with Phonecontrol Tracert PhoneControl 0 07-13-2007 11:16 PM
Help!! My Dennis K setup has stopped working Glyn LCD/Display 1 08-30-2002 04:20 PM



All times are GMT -5. The time now is 11:50 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics