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 created, you will have API key generated.
For free use it is possible to make 50 requests to API per day.
It was noted that to get 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 wil be the number at the end of URL of forecast.
Summary channel contains 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
- (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) 2022 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.