dicio-android icon indicating copy to clipboard operation
dicio-android copied to clipboard

Weather skill does not understand some cities

Open BrightDV opened this issue 3 years ago • 4 comments

Steps to reproduce

  1. Open Dicio
  2. Ask for the weather in Saint-Étienne, Clermont-Ferrand or any other (french) city with a - (for example, there are a lot around Paris).

For example, Dicio shows for SaintÉtienne: city not found while Saint-Étienne is available on OpenWeatherMap. I searched a little and found that the punctuation of the city is removed here. So is there any possibility to avoid removing the dashes?

BrightDV avatar Dec 23 '22 11:12 BrightDV

Originally posted by @AlexanderKocha in #282

Steps to reproduce

  1. Open Dicio and navigate to weather skill
  2. Change location to a city with a specific country code like "Newbridge, AU"
  3. Ask for the weather, the city won't be found

Cities that share a name with a different city in another country cannot be distinguished correctly.

A city, for example, like Newbridge in Australia, would have the OpenWeatherMap code of "Newbridge, AU", however the result in Dicio would be "Newbridge AU" which doesn't match any city name.

This is probably caused by the removal of punctuation in the city string, which is related to #115

Stypox avatar Feb 26 '25 16:02 Stypox

Originally posted by @RobotDaniel in #176

When using IP location or when entering city names manually, cities between different countries are chosen

Potentials fixes

  • use based on postcode/zip code
  • use based on IP location, not just IP city name

Stypox avatar Feb 27 '25 23:02 Stypox

Originally posted by @woheller69 in #298

One of the proposed questions is:

"Wie ist das Wetter in Rom?"

If asking exactly this question I get:

"Ich konnte die Stadt Rom? nicht finden."

The "?" probably needs to be stripped off the requested city name.

Stypox avatar Feb 28 '25 12:02 Stypox

Tested: if you ask (manually): "Wie ist das Wetter in Rom", without "?" it works

woheller69 avatar Feb 28 '25 12:02 woheller69