Code Monkey home page Code Monkey logo

Comments (4)

svilenmarkov avatar svilenmarkov commented on August 19, 2024

Hey! Have you tried Ogden, United States? That one seems to work for me.

As for the logs, I'm not very familiar with CasaOS but if you're running Glance using the Docker container and have access to the terminal it should be as simple as:

docker logs <container id or name>`

To find the container id or name you can run:

docker ps -a

which will show all containers, running and stopped.

from glance.

mikesellt avatar mikesellt commented on August 19, 2024

Thanks! I'll try your suggestion to check the logs when I get back home. As for Ogden, United States, there are 16 cities in the US that are named Ogden, so I'm not sure which one it would pick.

from glance.

mikesellt avatar mikesellt commented on August 19, 2024

I was able to look at the logs this morning, and it simply says "failed parsing config file: failed fetching data for Ogden, Utah, United States: no places found for Ogden, Utah, United States"

I did take out the state name, Utah, and it did work, but again I'm not sure which Ogden it is pulling data for. The forecast for today is lower than the forecast for my area. Thanks for looking at this! Good work on Glance as a whole. I've been looking for a solution that is a bit more cookie-cutter than just a blank config file, and so far this has been better than others I've tried.

from glance.

svilenmarkov avatar svilenmarkov commented on August 19, 2024

Thanks for providing more information!

I think I came up with a reasonable solution to this, I'll have to do some magic behind the scenes to allow you to specify the "administrative area", so you'd be able to enter the location as Ogden, Utah, United States, which will then select the correct state. I'll try and get this done for the next release as other people have had this issue as well.

As for which city it's currently selecting, it'll always be the first one on the list here:

https://open-meteo.com/en/docs/geocoding-api#name=Ogden,+United+States

Which does appear to be Utah, though maybe wait until the change is released so that we can be sure.

Keep in mind that the data from Open Meteo may vary from other weather sources as weather data is based largely on estimates. At some point in the future I might add the ability to choose different sources for the data.

from glance.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.