-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New weather module: forecast and forecast/daily support #1513
Comments
Thanks, looks great. I took the code and put in directly in my directory. It works for my /forecast/daily. Just 1 small thing. When the rain is 0 we should hide it from displaying: in weather.js line 201 : we can put if (isNaN(value) || value == 0) { |
Rain values of 0 should not be displayed anymore, also I simplified the code. One appearance of the code mentioned above was not required! |
I've been trying to get the forecast to work with the new weather module. Weather works fine (for openweathermap not darksky), but if I add config for "forecast" in using either openweathermap or darksky I get "
Any suggestions for how to research this further?? |
Are you on the dev-branch? If not, the "/forecast"-Endpoint will not work until the next release. |
@fwitte thanks, no I was not. I'll give it a try again. |
i try this new module , and i have same problem "Loading …" Else, i think it's better if you change in weather.css |
I've pulled down the latest update from the develop branch (#1538). This cleans up the
What should I look at next? |
Try browsing to your MM via IP address and check the developer toolbar or similar in your browser. It might have some JS errors or more information |
Thanks, I see this error:
|
Okay, I played around with the config settings. I looked at the API and it recommended only passing the location ID to insure an accurate result. Although not shown above apparently I also had location: . I removed it as above and it is now returning a result. Sorry for the distraction. Although, you may want to consider removing |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi everybody,
I implemented the support for forecast and forecast/daily using openweathermap in PR #1514. As I did not have a apiKey to test the forecast/daily part, I downloaded a sample file from their website and included it in my testing. I am not sure if all cases are handled well, please do check, if you find any other issues.
Thank you very much @fewieden and @vincep5 for you hints and support!
Also before merging my code, we should discuss, if my code is looking as it should:
This part appears twice in the hourly forecast part and a third time (similarly) in the daily forecast part.
Have a nice weekend!
The text was updated successfully, but these errors were encountered: