Semi Newbie here again...
Adopted some neat stuff, including this line:
suntime,%var0%,elevation,,3,40,%05.2f,Ele: ,°,l
This should give me elevation at each of my cities. However, all I'm getting is 0.00.
If I remember my basic navigation...that means the sun sn't going to rise anywhere tomorrow!!
:shock: ::Best Chiken Little Impression:: The sky is falling! The sky is falling! :shock: :shock:
Seriously, is there a fix?
Dp1don
______
1. What is the value of var0? It should be the id for a coordinate defined in the registry by config.exe.
2. I believe that if it is night time then it will always show 0. It only has a value > 0 during the daytime of the specified coordinate.
I did a little extrapolating...based on some discussions here, and discovered that you could edit the registry and enter as many coordinates as you like...as long as you keep them in line with your cities.
Since I get weather for 6 locations, I figured I'd enter 6 sets of coordinates; downloaded them from BrightHeaven, and installed them using the same format (reg item 1, value xxx.xxx,-xxx.xxx).
Sure enough, I get six different Sunrise and Sunset times... albeit all calculated locally on PST. (Althogu I have an idea on that, too...)
As for the elevations...so those are recorded based on the time of the latest update? all of them being 0.00 make sense (all US locations, so all on the dark side right now). I'll follow up and verify tomorrow and look for some difference...or maybe add a few more international cities for variety.
Tokyo, anyone? :!:
dp1don
I believe that the sunrise calculations are based on the PPC's current date/time. I set back my PPC's time by 12 hours (11:04 AM) and it now shows an elevation of 22.51 degrees (shows 0.00 degress for 11:04 PM).
8) 8) 8) 8)
Added on a new city - Yokohama, Japan...
Then watched as the refresh showed me an elevation of 28.07 degrees...
I cycled through my other 6 cities...nd when I returned -
Elev: 28.05 degrees!
It dynamically updates, based on some mathematical algorithm...
WOO HOO!!!!
dp1don
:lol: :lol:
In the regestry what did you add? When I went to add a new Lat and Log it came up as new value 1. Or did you name 1 then 2 etc?
Unless I'm mistaken, when it's nighttime here, my elevation shows negative, as it should...
OK, here's what I did to display the multiple sunrise sunset times:
1) Modified the Sunrise/Sunset/Elevation lines in the weather section of the skin (see first post on this thread).
2) Using PHMRegEdit, I located the HKCU/Software/SRSSoft/TodayPlus/coords section.
3) Added a new String Value:
- Under Value Name, I changed it from "New Value #1" to "2" (or to whatever city number I was creating.
NOTE: The Coord entry number is equal to the number of the city in your list. For instance, under weather cities I added "Seattle" in the second position. So, Seattle is now city #2, and when I add the coordinates entry, I created Value Name 2. If I had 7 cities, I'd add in 7 coordinates.
- Under Value Data, I added in the coordinantes for the city. For Seattle, I used "47.624,-122.318"
4) Save the registry, edit the editor, and do a skin reset (open Today/Options and then close it again).
One caveat, already noted elsewhere in the forums - the sunrise and sunset times will display in the local time zone for the PDA - so if you're displaying a city elsewhere (like Tokyo or New Delhi), you'll need to calculate the time zone adjustment in your head.
dp1don
All this talk about editing the registry. Sorry, but I'm new to the handheld thing - I can figure out how to enter the registry editor. Where do I find the folder that houses that info?
I'm having difficulties with the sunrise sunset, sunrise sunset.... (err, whatever) and the elevation values in config.exe. I wanted to try the editor, but can't pinpoint exactly what it is that y'all are talking about.
So far in the config file I've entered my lat and long in the 47.4322 -121.8033 format as previously described with no results. Any advivce?
Thanks.
QuoteAll this talk about editing the registry. Sorry, but I'm new to the handheld thing - I can figure out how to enter the registry editor. Where do I find the folder that houses that info?
I'm having difficulties with the sunrise sunset, sunrise sunset.... (err, whatever) and the elevation values in config.exe. I wanted to try the editor, but can't pinpoint exactly what it is that y'all are talking about.
So far in the config file I've entered my lat and long in the 47.4322 -121.8033 format as previously described with no results. Any advivce?
Thanks.
OK, let's take these one at a time.
1) The folder housing the info... hmmm...I 'm going to assume you're referring to the registry keys:
- \HKEY_CURRENT_USER\Software\SRSSOFT\TodayPlus\city.
and
- \HKEY_CURRENT_USER\Software\SRSSOFT\TodayPlus\coord
Under these keys, there are values.. These are all
STRING VALUES, so when you add a new value to a key, remember to select
NEW STRING VALUE.
City ValuesUnder the city, you enter a value name, which is a numeric value. If it is the first city, you enter "1"; itf it is the second city you're entering, you type in "2"...and so on.
For example for my first city, the Value Name is "1", and the Value data is "60,98205,Everett".
My second city reads:
Value Name - "2"
Value Data - "60,98122,Seattle"
And so on and so forth.
You then enter the value data. The value data for the city is in three parts:
- How long between data updates, in minutes;
- The city's zip code or international weather code (i.e., 98205, 83434, etc.); and
- What you are calling this city.
Save your entry. and voila - you've entered a new city.
Tis section of the registry can be edited just as easily using the CONFIG.EXE file included in the Today Plus v0.11.0 zip file.
Coord ValuesAgain, in the coord key, you enter a value name, which is a numeric value. If it is the first set of coords, you enter "1"; if it is the second set of coords, you type in "2"...and so on.
NOTE: coord values 1, 2, 3, etc match up with the same number of entries in the city file.
You then enter the value data. The value data for the coords is in two parts - latitude (North/South location on the map) and longitude (East West location on the map)
Yopu enter the coordinates for Value #1 in the CONFIG.EXE file. But you can use the registry entry to add additional entries.
Just start a new String Value, give it a vlaue name (in my case, I'm up to 7), and a String Value. Under the schema used by Today Plus, you're looking for lat/long coordinate accurate to three (3) decimal places...which just so happens to be the values featured in the Heavens Above website http://www.heavens-above.com/. You can search and pinpoint down to a city block in this program...
For example, my home value (city #1) is 47.978,-122,134....
But my second value (Seattle) is 47.634, -122.318....
And my value for my city #6 (Key West) is 24.555, -81.783.
Calculating Sunrise and SunsetThis has already been dealt with elsewhere, but as long as you remember to replace the city number with %var[xxx]% so the variable changes as you roll through cities, you should get different city sunrise and sunset times.
Hope this data helps.
dp1don
The coords need to be to three decimal places only. Your longitude number has FOUR decimal places.
dp1don.
OK, let's take these one at a time.
1) The folder housing the info... hmmm...I 'm going to assume you're referring to the registry keys:
- \HKEY_CURRENT_USER\Software\SRSSOFT\TodayPlus\city.
and
- \HKEY_CURRENT_USER\Software\SRSSOFT\TodayPlus\coord
Under these keys, there are values.. These are all STRING VALUES, so when you add a new value to a key, remember to select NEW STRING VALUE.
These string values... that's where I'm having diffuculty. I cannot locate the -HKEY_... string. Is it actucally part of say the slider.txt file? or is it elsewhere on my pda?
OK, let's take these one at a time.
1) The folder housing the info... hmmm...I 'm going to assume you're referring to the registry keys:
- \HKEY_CURRENT_USER\Software\SRSSOFT\TodayPlus\city.
and
- \HKEY_CURRENT_USER\Software\SRSSOFT\TodayPlus\coord
Under these keys, there are values.. These are all STRING VALUES, so when you add a new value to a key, remember to select NEW STRING VALUE.
These string values... that's where I'm having diffuculty. I cannot locate the -HKEY_... string. Is it actucally part of say the slider.txt file? or is it elsewhere on my pda?