Comments (3)
@pimagical Seems, like openweathermap has introduced some inconsistency with recent API changes.
I tried with location "Amsterdam, Netherlands" which worked fine with the WeatherDevice but resulted in the 404 error with the ForecastDevice. Then I tried with location "Amsterdam, NL" and, surprisingly, this works fine for both devices! Hope, this helps.
from pimatic-openweather.
According to the openweather API a location is specified by city name and the country code (ISO 3166). See http://openweathermap.org/current#name. I'll will make note in the README.
from pimatic-openweather.
Thanks this solves my problem!
from pimatic-openweather.
Related Issues (20)
- Pimatic rules on openweather HOT 1
- Forecast creates update with invalid data if result.list contains no data for forecast data range HOT 11
- Cannot call method 'toFixed' of undefined HOT 4
- 0.8.15 HOT 4
- Feature Request: Localization of attribute acronym names WIND, RAIN, SNOW HOT 10
- Disable sparklines HOT 1
- Why user defined ApiKey? HOT 7
- Wrong values being shown? HOT 1
- Feature Request: Configure shown information HOT 2
- api.openweathermap.org removed snow? HOT 2
- hiding attir does not work HOT 3
- LocationId=2759794 VS Location=Amsterdam, NL in solving errors? HOT 3
- Sometimes Value of Rain is Unkown HOT 2
- Feature request: forecast during the day HOT 5
- "Forecast" from yesterday and today HOT 2
- Bug: rain gives NULL mm HOT 5
- Feature request: Include status-id in device attributes HOT 3
- Forecast does no longer work with free accounts
- Cannot read property 'icon' of undefined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pimatic-openweather.