iobroker.daswetter
v3.1.16
Published
ioBroker DasWetter.com Adapter
Downloads
1,939
Readme
ioBroker.DasWetter.
This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.
If you like it, please consider a donation:
This adapter reads weather forecast data from DasWetter.com.
You need an account on DasWetter.com. Register at https://www.daswetter.com/api/#/login The account is for free under certain conditions.
In your account you will find three URL for four different data models:
- Forecast for the next 7 days and general information of the day: high and low, wind (symbol and description), Day symbol and weather conditions
- detailed information for 5 days and every 3 hours: The general daily information is the following: peak, lows, wind, gusts, Precipitation, relative humidity, sea level air pressure, snow line, Sunrise and sunset, dates related to the moon, local time
- Preview with detailed data every hour (only for the first 2 days, then every 3 hours)
- Prediction for 5 days and every 3 hours (in JSON format)
All four models are implemented and one should be used at least. In settings URL like http://api.daswetter.com/index.php?api_lang=de&localidad=xxxx must be used. Just copy the complete URL from your account.
Hints
icons used in vis
- Access icons like
http://ip:8082/adapter/daswetter/icons/tiempo-weather/galeria1/1.png
. - in galerie6 original icons are in svg format. Vis app might have problems to visualize it. So converted png are available. Just use option "use png"
- in galerie5 original icons are in svg and png format. Beside also color and white versions are available
"current" in NextHours_Day1:
- DasWetter.com does not deliver real current weather values
- but sometimes it's helpfull to have the forecast of current hour available
- so we added "current" which is just a copy of related forecast hour values
- please make sure you call the adapter at least one time per hour to make sure "current" is updated well
- see also github feature request issue24
path 4
- at the moment DasWetter.com sends data which are different to their own specification. Now we have implemented a "auto-repair" which changes to structure to documented shape.
known issues
- please create issues at github if you find bugs or whish new features
Changelog
3.1.16 (2024-08-18)
- (René) update dependencies
- (René) bug fixes based on adapter checker recommendation
3.1.15 (2024-05-28)
- (René) see issue #354: change of dependencies
3.1.13 (2024-01-12)
- (René) update dependencies
3.1.12 (2023-12-24)
- (René) see issue #217: additional log added to understand root cause, please copy&past log output into github issue
3.1.11 (2023-11-18)
- (René) update dependencies
3.1.10 (2023-07-30)
- (René) update dependencies
3.1.8 (2023-04-07)
- (René) update dependencies
3.1.7 (2023-01-31)
- (René) update dependencies
3.1.6 (2022-12-23)
- (René) see issue #153: package Axios downgraded
3.1.5 (2022-12-04)
- (René) update dependencies
3.1.4 (2022-08-19)
- (René) update dependencies
- (dipts) Added missing / corrected inappropriate icons for galeria 1
3.1.3 (2022-05-05)
- (René) see issue #139: bug fix moon icon
3.1.2 (2022-03-20)
- (René) see issue #130: bug fix json data
3.1.1 (2022-03-19)
- (René) bug fix UV index
3.1.0 (2022-03-19)
- (René) replace bent by axios
- (René) dependencies updated
- (René) see issue #128: add UV index
3.0.9 (2021-11-09)
- (René) dependencies updated
- (René) see issue #114: "connectionType" and "dataSource" fixed
3.0.8 (2021-09-22)
- (DutchmanNL) Warn messages for channels solved
- (DutchmanNL) Optimize log message at adapter termination
- (DutchmanNL) Ensure adapter will always handle data at start
3.0.7 (2021-05-03)
- (René) issue #91: remove warnings with js-controller 3.3.
3.0.5 (2021-03-21)
- (René) dependencies updated
3.0.4 (2020-10-16)
- (René) see issue #76: parse rain values as float instead integer
3.0.3 (2020-09-19)
- (René) see issue #66: parse numbers added
3.0.1 (2020-05-01)
- (René) breaking change: old data structure is not supported anymore
- (René) "request" replaced by "bent"
- (René) "xml2js" replaced by "xml2json"
- (René) manual from DasWetter updated in folder \docs
- (René) see issue #39: create copy of data in hourly data path for next 1, 2, 3 or 6 hours (as an option)
- (René) copy for current can be disabled now
2.8.2 (2020-03-20)
- (René) some more logs to find parser errors
2.8.1 (2019-09-08)
- (René) bug fix: some datapoints were created as number instead of string
2.8.0 (2019-03-19)
- (René) moon and wind icon set added in admin !!path to wind icons changed!!
- (René) path to customized icon set added
- (René) exit code changed
2.7.3 (2019-02-24)
- (René) bug fix: some values are number instead of string
2.7.2 (2019-02-14)
- (bluefox) Serialization of the objects deletion
2.6.1 (2019-02-10)
- (René) update dependencies
2.6.0 (2019-01-20)
- (René) support of compact mode
- (René) new icons for galeria5 (color or white; svg or png) selectable in admin
- (René) auto-repair for path4
2.5.0 (2018-11-30)
- (René) since app has problems with svg we can use png instead. svg's are converted to png. In admin a new option is available to use original svg's or converted png's
- (René) max. 500 datapoints are deleted per call to reduce work load, so it might take a few calls until all old data points are removed
2.4.0 (2018-11-26)
- (René) sunshine duration added
- (René) current in NextHours_Day1 and NextHours2_Day1 added
2.3.1 (2018-11-04)
- (René) clean up code
2.3.0 (2018-08-23)
- (René) support of 4. path (json)
2.2.0 (2018-08-20)
- (René) delete unused data structure
2.1.3 (2018-08-17)
- (René) typo fixed
- (René) missing Icon-URL's added
2.1.2 (2018-08-14)
- (bluefox) Configuration dialog was fixed
2.1.1 (2018-08-04)
- (René) parse timeout added
- (René) missing roles and states added
- (René) using of units from data structure
2.1.0 (2018-07-30)
- (bluefox) Added URLs to icons
- (bluefox) Added the roles and the names to states
- (bluefox) Icons moved to admin directory
2.0.0
- (René) new datastructure !not compatible to version 1.x! now parsing all data from xml and store them in datapoints for compatibility: in configuration old data structure can be enabled needs also 2.x of vis-weather-widget
License
MIT License
Copyright (c) 2017-2024 René G. [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.