yunkong2.yr/io-package.json
2018-09-22 10:26:24 +08:00

545 lines
19 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"common": {
"name": "yr",
"version": "2.0.2",
"news": {
"2.0.2": {
"en": "Warning! Breaking changes!\nRefactoring of states and roles",
"de": "Warnung! Breaking Änderungen!\nRefactoring von Zuständen und Rollen",
"ru": "Предупреждение! Нарушение изменений!\nРефакторинг состояний и ролей",
"pt": "Atenção! Quebrando mudanças!\nRefatoração de estados e papéis",
"nl": "Waarschuwing! Veranderingen doorbreken!\nRefactoring van staten en rollen",
"fr": "Attention! Briser les changements!\nRefactorisation des états et des rôles",
"it": "Avvertimento! Ultime modifiche!\nRefactoring di stati e ruoli",
"es": "¡Advertencia! ¡Rompiendo cambios!\nRefactorización de estados y roles",
"pl": "Ostrzeżenie! Łamanie zmian!\nRefaktoryzacja stanów i ról"
},
"1.0.6": {
"en": "Update iconset",
"de": "Iconset geändert",
"ru": "Update iconset"
},
"1.0.5": {
"en": "move weather widgets to this adapter",
"de": "Verschiebe Wetter-Widgets ins Adapter",
"ru": "Добавлены виджеты"
},
"1.0.4": {
"en": "fix link to readme",
"de": "fix link to readme",
"ru": "fix link to readme"
}
},
"title": "yr.no",
"titleLang": {
"en": "yr.no weather",
"de": "yr.no Wetter",
"ru": "yr.no погода",
"pt": "yr.no tempo",
"nl": "yr.nr weer",
"fr": "yr.no météo",
"it": "anno vecchio",
"es": "yr.no tiempo",
"pl": "yr.no pogody"
},
"desc": {
"en": "Fetches 48h weather forecast from yr.no",
"de": "Holt 48h Wettervorhersage von yr.no",
"ru": "Получает прогноз погоды на 48h с yr.no",
"pt": "Fetches 48h previsão do tempo a partir de yr.no",
"nl": "Haal 48h weersvoorspelling op van yr.no",
"fr": "Fetchs 48h météo de yr.no",
"it": "Calcola le previsioni del tempo a 48 ore dall'anno n",
"es": "Obtiene 48h pronóstico del tiempo de yr.no",
"pl": "Pobiera 48-godzinną prognozę pogody z yr.no"
},
"authors": [
"hobbyquaker <hq@ccu.io>"
],
"license": "MIT",
"platform": "Javascript/Node.js",
"mode": "schedule",
"schedule": "6 * * * *",
"enabled": true,
"loglevel": "info",
"materialize": true,
"keywords": ["weather", "forecast", "temperature", "rain", "yr", "meteorology"],
"main": "main.js",
"icon": "yr.png",
"extIcon": "https://git.spacen.net/yunkong2/yunkong2.yr/raw/master/admin/yr.png",
"readme": "https://github.com/yunkong2/yunkong2.yr/blob/master/README.md",
"allowInit": true,
"type": "weather"
},
"native": {
"location": "",
"language": "",
"sendTranslations": true,
"nonMetric": false
},
"objects": [
],
"instanceObjects": [
{
"_id": "forecast",
"type": "device",
"common": {
"name": "actual weather or forecast",
"role": "weather"
},
"native": {}
},
{
"_id": "forecast.day0",
"type": "channel",
"common": {
"name": "actual weather or forecast for today",
"role": "weather.forecast"
},
"native": {}
},
{
"_id": "forecast.day0.date",
"type": "state",
"common": {
"name": "Actual date",
"type": "string",
"role": "date",
"read": true,
"write": false,
"desc": "Actual date as string"
},
"native": {}
},
{
"_id": "forecast.day0.icon",
"type": "state",
"common": {
"name": "Actual icon",
"type": "string",
"role": "weather.icon",
"read": true,
"write": false,
"desc": "Path to icon"
},
"native": {}
},
{
"_id": "forecast.day0.state",
"type": "state",
"common": {
"name": "Actual state",
"type": "string",
"role": "weather.state",
"read": true,
"write": false,
"desc": "Description of weather"
},
"native": {}
},
{
"_id": "forecast.day0.temperatureActual",
"type": "state",
"common": {
"name": "Actual temperature",
"type": "number",
"role": "value.temperature",
"read": true,
"unit": "°C",
"write": false
},
"native": {}
},
{
"_id": "forecast.day0.temperatureMin",
"type": "state",
"common": {
"name": "Forecast of temperature for today",
"type": "number",
"role": "value.temperature.min.forecast.0",
"read": true,
"write": false,
"unit": "°C",
"desc": "Forecast of temperature for today. Minimum value."
},
"native": {}
},
{
"_id": "forecast.day0.temperatureMax",
"type": "state",
"common": {
"name": "Forecast of temperature for today",
"type": "number",
"role": "value.temperature.max.forecast.0",
"read": true,
"write": false,
"unit": "°C",
"desc": "Forecast of temperature for today. Maximum value."
},
"native": {}
},
{
"_id": "forecast.day0.precipitation",
"type": "state",
"common": {
"name": "Forecast of precipitation level for today (rain/snow)",
"type": "number",
"role": "weather.precipitation",
"read": true,
"write": false,
"unit": "mm",
"desc": "Forecast for rain or snow level in mm"
},
"native": {}
},
{
"_id": "forecast.day0.windDirection",
"type": "state",
"common": {
"name": "Forecast for wind direction for today",
"type": "string",
"role": "weather.direction.wind.forecast.0",
"read": true,
"write": false,
"desc": "Forecast for wind direction for today"
},
"native": {}
},
{
"_id": "forecast.day0.windSpeed",
"type": "state",
"common": {
"name": "Forecast for wind speed for today",
"type": "number",
"role": "value.speed.wind.forecast.0",
"read": true,
"write": false,
"unit": "km/h",
"desc": "Forecast for wind speed in km/h"
},
"native": {}
},
{
"_id": "forecast.day0.pressure",
"type": "state",
"common": {
"name": "Forecast for pressure for today",
"type": "number",
"role": "value.pressure.forecast.0",
"read": true,
"write": false,
"unit": "hPa",
"desc": "Forecast for pressure in hPa"
},
"native": {}
},
{
"_id": "forecast.day1",
"type": "channel",
"common": {
"name": "Forecast for tomorrow",
"role": "weather.forecast"
},
"native": {}
},
{
"_id": "forecast.day1.date",
"type": "state",
"common": {
"name": "Tomorrow date",
"type": "string",
"role": "date.forecast.1",
"read": true,
"write": false,
"desc": "Tomorrow date as string"
},
"native": {}
},
{
"_id": "forecast.day1.icon",
"type": "state",
"common": {
"name": "Icon for tomorrow",
"type": "string",
"role": "weather.icon.forecast.1",
"read": true,
"write": false,
"desc": "Path to icon for tomorrow"
},
"native": {}
},
{
"_id": "forecast.day1.state",
"type": "state",
"common": {
"name": "Text for tomorrow",
"type": "string",
"role": "weather.state.forecast.1",
"read": true,
"write": false,
"desc": "Description of weather for tomorrow"
},
"native": {}
},
{
"_id": "forecast.day1.temperatureMin",
"type": "state",
"common": {
"name": "Forecast of temperature for tomorrow",
"type": "number",
"role": "value.temperature.min.forecast.1",
"read": true,
"write": false,
"unit": "°C",
"desc": "Forecast of temperature for tomorrow. Minimum value."
},
"native": {}
},
{
"_id": "forecast.day1.temperatureMax",
"type": "state",
"common": {
"name": "Forecast of temperature for tomorrow",
"type": "number",
"role": "value.temperature.max.forecast.1",
"read": true,
"write": false,
"unit": "°C",
"desc": "Forecast of temperature for tomorrow. Maximum value."
},
"native": {}
},
{
"_id": "forecast.day1.precipitation",
"type": "state",
"common": {
"name": "Forecast of precipitation level for tomorrow (rain/snow)",
"type": "number",
"role": "value.precipitation.forecast.1",
"read": true,
"write": false,
"unit": "mm",
"desc": "Forecast for rain or snow level in mm"
},
"native": {}
},
{
"_id": "forecast.day1.windDirection",
"type": "state",
"common": {
"name": "Forecast for wind direction for tomorrow",
"type": "string",
"role": "weather.direction.wind.forecast.1",
"read": true,
"write": false,
"desc": "Forecast wind direction as text"
},
"native": {}
},
{
"_id": "forecast.day1.windSpeed",
"type": "state",
"common": {
"name": "Forecast for wind speed for tomorrow",
"type": "number",
"role": "value.speed.wind.forecast.1",
"read": true,
"write": false,
"unit": "km/h",
"desc": "Forecast for wind speed in km/h"
},
"native": {}
},
{
"_id": "forecast.day1.pressure",
"type": "state",
"common": {
"name": "Forecast for pressure for tomorrow",
"type": "number",
"role": "value.pressure.forecast.1",
"read": true,
"write": false,
"unit": "hPa",
"desc": "Forecast for pressure in hPa for tomorrow"
},
"native": {}
},
{
"_id": "forecast.day2",
"type": "channel",
"common": {
"name": "actual weather or forecast for the day after tomorrow",
"role": "weather.forecast"
},
"native": {}
},
{
"_id": "forecast.day2.date",
"type": "state",
"common": {
"name": "The day after tomorrow date",
"type": "string",
"role": "date.forecast.2",
"read": true,
"write": false,
"desc": "The day after tomorrow date as string"
},
"native": {}
},
{
"_id": "forecast.day2.icon",
"type": "state",
"common": {
"name": "Icon for the day after tomorrow",
"type": "string",
"role": "weather.icon.forecast.2",
"read": true,
"write": false,
"desc": "Path to icon for the day after tomorrow"
},
"native": {}
},
{
"_id": "forecast.day2.state",
"type": "state",
"common": {
"name": "Day after tomorrow state",
"type": "string",
"role": "weather.state.forecast.2",
"read": true,
"write": false,
"desc": "Description of weather for the day after tomorrow"
},
"native": {}
},
{
"_id": "forecast.day2.temperatureMin",
"type": "state",
"common": {
"name": "Forecast of temperature for the day after tomorrow",
"type": "number",
"role": "value.temperature.min.forecast.2",
"read": true,
"write": false,
"unit": "°C",
"desc": "Forecast of temperature for the day after tomorrow. Minimum value."
},
"native": {}
},
{
"_id": "forecast.day2.temperatureMax",
"type": "state",
"common": {
"name": "Forecast of temperature for the day after tomorrow",
"type": "number",
"role": "value.temperature.max.forecast.2",
"read": true,
"write": false,
"unit": "°C",
"desc": "Forecast of temperature for the day after tomorrow. Maximum value."
},
"native": {}
},
{
"_id": "forecast.day2.precipitation",
"type": "state",
"common": {
"name": "Forecast of precipitation level for the day after tomorrow (rain/snow)",
"type": "number",
"role": "value.precipitation.forecast.2",
"read": true,
"write": false,
"unit": "mm",
"desc": "Forecast for rain or snow level in mm"
},
"native": {}
},
{
"_id": "forecast.day2.windDirection",
"type": "state",
"common": {
"name": "Forecast for wind direction for the day after tomorrow",
"type": "string",
"role": "weather.direction.wind.forecast.2",
"read": true,
"write": false,
"desc": "Forecast for wind direction as text"
},
"native": {}
},
{
"_id": "forecast.day2.windSpeed",
"type": "state",
"common": {
"name": "Forecast for wind speed for the day after tomorrow",
"type": "number",
"role": "value.speed.wind.forecast.2",
"read": true,
"write": false,
"unit": "km/h",
"desc": "Forecast for wind speed in km/h"
},
"native": {}
},
{
"_id": "forecast.day2.pressure",
"type": "state",
"common": {
"name": "Forecast for pressure for the day after tomorrow",
"type": "number",
"role": "value.pressure.forecast.2",
"read": true,
"write": false,
"unit": "hPa",
"desc": "Forecast for pressure in hPa for the day after tomorrow"
},
"native": {}
},
{
"_id": "forecast.info",
"type": "channel",
"common": {
"name": "forecast links and objects"
},
"native": {}
},
{
"_id": "forecast.info.object",
"type": "state",
"common": {
"type": "object",
"name": "forecast table",
"role": "weather.table",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "forecast.info.html",
"type": "state",
"common": {
"type": "string",
"name": "forecast html",
"role": "weather.html",
"read": true,
"write": false
},
"native": {}
},
{
"_id": "forecast.info.diagram",
"type": "state",
"common": {
"type": "string",
"name": "forecast diagram url",
"role": "weather.chart.url.forecast",
"read": true,
"write": false
},
"native": {}
}
]
}