Weather forecast using AccuWeather API.
Adapter receives Current Conditions (updated every hour), 5 Days daily forecast (update once daily at approximately 7am), and 12 hours forecast (updated every six hours at 12am, 6am, 12pm and 6pm).
To get API Key, register on https://developer.accuweather.com/ and create application in My Apps
menu.
Once the application is created, you will have an API key generated.
For free use, it is possible to make 50 requests to API per day.
It was noted that to get the API working, the following settings are preferred (please choose your country!):
In order to get location key, go to https://www.accuweather.com/ and enter your city name, or try to enter your coordinates (latitude, longitude) as you have them, e.g., in ioBroker settings. Your location key will be the number at the end of the forecast URL.
The summary channel contains a current and by-day forecast with role/types of states supported by type-detector. New feature can be used in order to show weather forecast in Lovelace UI. For better view a custom lovelace card is created - see https://github.com/algar42/IoB.lovelace.accuweather-card
- (xdaamg) limit updates to once an hour, this fixes part of issue #273.
- (mcm1957) Adapter requires js-controller >= 5 and admin >= 6 now
- (mcm1957) Node 22 support has been added to testing
- (mcm1957) Dependencies have been updated
- (mcm1957) Adapter requires node.js 18 and js-controller >= 5 now
- (mcm1957) Dependencies have been updated
- (ticaki) fixed: dependencies
- (ticaki) fixed: error message [object Object]
- (isi07) added the Wind Direction Text und Cloud Cover
- (bluefox) Added json config
- (algar42) Depency updates
- (algar42) HoursOfSun Parameter added to the Daily forecast
- (bluefox) Updated logo
- (Garfonso) adjust roles to properly detect weather forecast in Summary folder. (Summary objects need to be deleted and adapter restarted after that)
- (bluefox) Create device for device-detector
Minor bug fixes to Object.common
section
- (algar42) Resolve log Warning for js-controller 3.2
- (HGlab01) small bugfix regarding setTimeout range
- (algar42) Minor updates for compact mode
- (algar42) Summary channel added to support type-detector and automatic weather device creation
- (algar42) Production Release
MIT License
Copyright (c) 2024 iobroker-community-adapters [email protected] Copyright (c) 2021-2023 algar42 [email protected]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.