¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Maps And Weather with D-Rats


 

When I sent the Current Weather string out the other night, I was using Windows 10 running under Parallels Desktop on my iMac.??I was also able to generate it from the ratflector running on a Raspberry Pi as KG5CEN-1.??The ratflector is running:

d-rats 0.3.9?
Python 2.7.16
GTK 2.24.32
PyGTK 2.24.0
LibXML using 0.5 KB

Under the Help, About on the Windows setup, it shows:

d-rats 0.3.9
Python 2.7.9?
GTK 2.24.10?
PyGTK 2.24.0?
LibXML using 0.4 KB

On an RCA Windows 10 tablet computer with the same Windows settings as above I can also generate the Weather string under KG5CEN-2.

I am not sure what is going on, but one thing is certain, I have not attempted to upgrade to any of the experimental new builds since Maurizio came out with the original 0.3.9 build.??Has something been changed in the currently downloadable build since these folks are saying they had to reinstall D-Rats?

Glen - KG5CEN
On Sep 30, 2021, 1:13 PM -0500, Jack Spitznagel (KD4IZ) <kd4iz@...>, wrote:

Hello Maurizio,

?

I have been using 0.3.9 since it was released. I previously had the weather feature set up and working. I had not tried it since the release of 0.3.9. It no longer works, so I am guessing that either:

1) the way that openweather.org sends the data has changed so that the data parse function does not result in a usable text, or

2 )that something else (a Java/JSON translator .dll???) needs to be installed and loaded by the system.

I hope my inquiry makes sense.

My test below suggests that my second guess might be correct, because Glen, KG5CEN and Ricardo, CT1EBQ can successfully send a weather string. They may be using Linux or Raspberry Pi OS. Daryl and I are using Windows 10.

?

Any additional hints or thoughts about this?

?

Jack Spitznagel ¨C KD4IZ

Science River LLC

Biomedical Consulting Services

?

My city string is (Hampstead,md,us) and I have a valid API Key. I have used several permutations of the location string in D-Rats v0.3.9 and they all result in no output. My text QST¡¯s are sent correctly.

?

When I use a browser to send the API url, location, and my key from the URL box like this:

http://api.openweathermap.org/data/2.5/weather?q=Hampstead,md,us&appid=<insert your own API key here>

I get the following Raw Data:

{"coord":{"lon":-76.85,"lat":39.6048},"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03d"}],"base":"stations","main":{"temp":292.27,"feels_like":291.78,"temp_min":289.85,"temp_max":295.09,"pressure":1005,"humidity":59},"visibility":10000,"wind":{"speed":3.58,"deg":311,"gust":8.94},"clouds":{"all":40},"dt":1633022817,"sys":{"type":2,"id":2032439,"country":"US","sunrise":1632999762,"sunset":1633042304},"timezone":-14400,"id":4357279,"name":"Hampstead","cod":200}

With temperature given in Kelvin, other units are metric.

The Firefox JSON translator correctly tells me that it says:

<image001.jpg>

?

?

?

?

From: [email protected] <[email protected]> On Behalf Of Maurizio Andreotti
Sent: Tuesday, September 28, 2021 04:39
To: [email protected]
Subject: Re: [d-rats] Maps And Weather with D-Rats

?

ciao Daryl

Honestly it's been a while since last time I used it.??

?

luckily there is this link which can help:

?

?

?

and also this one:

?

?

?

?

?

Il giorno mar 28 set 2021 alle ore 01:33 Daryl Stout <wx1der@...> ha scritto:

Maurizio,

?The maps data is working fine now...but I can't get the OpenWeather data to work. Under File -> Preferences -> Chat, for the OpenWeather uri, it has

? In the box for OpenWeather appid, do I need to add the ?apikey= statement, or just the code/id (with numbers and letters)??

? Then, for the location, what values can I use there?? I looked at the OpenWeatherMap website, and it mentioned I could use a zip code (native to the United States), or possibly a latitude/longitude (I don't recall the message now). Previously, I thought I had the ID for my city (LITTLE ROCK,AR,US) -- but now, it won't show up in the QST or the chat window when I click on it. I originally had it going out at 15 minutes past the hour, once the new weather observation was in...as I figured once an hour was plenty.

? On another note, I was using the GPS-A deal to send out my location, as it's for my QTH, a static location. Is that the right parameter under the QST's to send that out?? The only way I see it on is if I search for my callsign. If I just type in my city "Little Rock, AR", my data doesn't show up.

Daryl, WX4QZ

Join [email protected] to automatically receive all group messages.