iobroker.swiss-weather-api
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"common": { | ||
"name": "swiss-weather-api", | ||
"version": "0.1.2", | ||
"version": "0.1.4", | ||
"news": { | ||
"0.1.4": { | ||
"en": "Added Travis CI Testing" | ||
}, | ||
"0.1.3": { | ||
@@ -67,3 +70,3 @@ "en": "Roles Updated and added attribute 'icon-name'" | ||
"mode": "schedule", | ||
"schedule": "/15 * * * *", | ||
"schedule": "/30 * * * *", | ||
"type": "weather", | ||
@@ -70,0 +73,0 @@ "connection-type": "cloud polling", |
{ | ||
"name": "iobroker.swiss-weather-api", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Connects to Free SRG-SSR Weather API (https://developer.srgssr.ch/apis/srgssr-weather)", | ||
@@ -53,8 +53,3 @@ "author": { | ||
"scripts": { | ||
"test:js": "mocha --opts test/mocha.custom.opts", | ||
"test:package": "mocha test/package --exit", | ||
"test:unit": "mocha test/unit --exit", | ||
"test:integration": "mocha test/integration --exit", | ||
"test": "npm run test:js && npm run test:package", | ||
"lint": "eslint" | ||
"test": "node node_modules/mocha/bin/mocha --exit" | ||
}, | ||
@@ -61,0 +56,0 @@ "bugs": { |
@@ -24,13 +24,20 @@ ![Logo](admin/swiss-weather-api.png) | ||
1. Go to "My Apps" and create a new App. This will create a specific ConsumerKey and ConsumerSecret | ||
1. Find out Longitude / Latitude of the chosen location for wich forecast is needed | ||
1. Install this Adapter on ioBroker | ||
1. Find out Longitude / Latitude (decimal degrees) of the chosen location for which forecast is needed | ||
1. Install this Adapter on ioBroker => This can take several minutes (~7min on a Raspberry Pi 3) | ||
1. On Adapter Configuration fill in | ||
1. ConsumerKey of App | ||
1. ConsumerSecret of App | ||
1. Longitude / Latitude of the chosen location for wich forecast is needed | ||
1. Longitude / Latitude of the chosen location for which forecast is needed. => Please use decimal degrees like 32.30642 / 122.61458 | ||
This is a scheduled Adapter. It is scheduled every 15 minutes and reads the forecast API of SRG-SSR. Feel free to change the scheduler intervall in instance-view (Schedule). | ||
This is a scheduled Adapter. It is scheduled every 30 minutes and reads the forecast API of SRG-SSR. You could change this intervall in instance-view (Schedule). A lower intervall is not recomented, since the minimal forecast is 1 hour. | ||
**So please keep in mind that, after installation, it will take 30 minutes until the forecast data is delivered the frist time and the data-objects in data view are created.** | ||
## Changelog | ||
### 0.1.4 | ||
* (baerengraben) Added Travis CI testing | ||
### 0.1.3 | ||
* (baerengraben) Role-Definitions updated and added attribute 'icon-name'. | ||
### 0.1.2 | ||
@@ -52,3 +59,3 @@ * (baerengraben) Some fixes. | ||
Copyright (c) 2019 baerengraben <baerengraben@intelli.ch> | ||
Copyright (c) 2020 baerengraben <baerengraben@intelli.ch> | ||
@@ -55,0 +62,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
Sorry, the diff of this file is not supported yet
76
1316465
669
2164