Open jacksoncds opened 2 years ago
Can confirm this happens to me too on Docker (weather not updating)
also experiencing this issue.
same problem
Mine not updating either. 2.3.0 Docker amd64
Deployment details:
- App version [e.g. v1.7.4]: 2.2.1
- Platform [e.g. amd64, arm64, arm/v7]: amd64
- Docker image tag [e.g. latest, multiarch]: latest
Bug description: Weather data does not get updated unless when saving weather configuration.
Steps to reproduce:
- Configure weather API, location, and other settings.
- Save changes - weather data will update here.
- Wait 15 minutes, weather data will not update.
Possible fix: It looks like the cron expression for weather update may not be supported?
0 */15 * * * *
will not run, but*/15 * * * *
will run as expected.I tested
*/15 * * * *
in docker (latest image) and Windows 10, works on both for me.
Hi, I've had a quick look for the cron files, but couldn't find anything relating to the weather. Is there a separate cron running within the docker? Could you elaborate where and how to change it? Thanks
Can you check your database files and confirm it's not working? I'm running 2 instances and my weather updates just fine:
Can you check your database files and confirm it's not working? I'm running 2 instances and my weather updates just fine:
If you can guide me how, I will happily check :)
Download DB Browser for SQLite and open db.sqlite
file from your Flame directory. Next, go to Browse Data tab and select weather
table:
Looks as it's working. Updating the weather. I haven't made any changes in configuration. All I did is I think I've restarted the server (with docker) yesterday. Perhaps it was only a glitch?
Anyway, all working. Apologies for causing havoc.
Loving Flame! Best dashboard! :)
Looks as it's working. Updating the weather. I haven't made any changes in configuration. All I did is I think I've restarted the server (with docker) yesterday. Perhaps it was only a glitch?
Anyway, all working. Apologies for causing havoc.
Loving Flame! Best dashboard! :)
It didn't work for me either until one random day it did.
Perhaps API on weather's end only works after a certain time or something.
Check the required fields as displayed above (tempC, tempF, etc) are actually selected on the API webpage: https://www.weatherapi.com/my/fields.aspx. I had previously changed mine for another project, so it wasn't working on Flame, as all values came back null. 🤦♂️ Once I updated the API page (ticked the required fields) on the weatherapi site, it started working. 😄
Is there any known workaround for this? I just setup Flame and am experiencing this same issue. I've checked the other things listed in this thread already. I noticed I can force a refresh by going into the weather settings and saving though.
Mine has apparently resolved.
On Mon, Mar 28, 2022 at 4:19 PM lolekuk @.***> wrote:
Mine not updating either. 2.3.0 Docker amd64
— Reply to this email directly, view it on GitHub https://github.com/pawelmalak/flame/issues/306#issuecomment-1081160889, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABD5SGVCEKLBZSTDVTRVXODVCIO7XANCNFSM5NU5SUGA . You are receiving this because you commented.Message ID: @.***>
Mine took a period of time (I can’t remember how long) after I had changed the API tick boxes (selecting temp etc) to update. But it did eventually do it. (I think it was about an hour, but ymmv)
I also have this problem, running Docker.
Deployment details:
Bug description: Weather data does not get updated unless when saving weather configuration.
Steps to reproduce:
Possible fix: It looks like the cron expression for weather update may not be supported?
0 */15 * * * *
will not run, but*/15 * * * *
will run as expected.I tested
*/15 * * * *
in docker (latest image) and Windows 10, works on both for me.