UNPKG

iobroker.tibberlink

Version:

links tibber API data to be used in ioBroker

612 lines (595 loc) 13.3 kB
{ "i18n": true, "type": "tabs", "tabsStyle": { "width": "calc(100% - 100px)" }, "items": { "_StandardTab": { "type": "panel", "label": "LBL_StandardTab", "items": { "TibberAPIToken": { "type": "text", "label": "LBL_TibberAPIToken", "maxLength": 80, "xs": 12, "sm": 12, "md": 8, "lg": 6, "xl": 4, "newLine": true }, "_referralLink": { "type": "staticLink", "label": "LBL_referralLink", "href": "https://invite.tibber.com/mu8c82n5", "button": true, "icon": "info", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12, "newLine": true }, "HomesList": { "type": "table", "label": "LBL_HomesList", "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12, "items": [ { "type": "selectSendTo", "label": "LBL_item_homeID", "tooltip": "TTIP_item_homeID", "command": "HomesForConfig", "attr": "homeID", "filter": false, "sort": false, "width": "40%", "default": "No Home selected" }, { "type": "checkbox", "label": "LBL_item_priceDataPollActive", "tooltip": "TTIP_item_priceDataPollActive", "attr": "priceDataPollActive", "filter": false, "sort": false, "width": "10%", "default": true }, { "type": "checkbox", "label": "LBL_item_feedActive", "tooltip": "TTIP_item_feedActive", "attr": "feedActive", "filter": false, "sort": false, "width": "10%", "default": false }, { "type": "checkbox", "label": "LBL_item_statsActive", "tooltip": "TTIP_item_statsActive", "attr": "statsActive", "filter": false, "sort": false, "width": "10%", "default": false }, { "type": "number", "label": "LBL_item_numberConsHourly", "tooltip": "TTIP_item_numberConsHourly", "attr": "numberConsHourly", "disabled": "!data.statsActive", "min": 0, "max": 744, "step": 1, "width": "6%", "default": 24 }, { "type": "number", "label": "LBL_item_numberConsDaily", "tooltip": "TTIP_item_numberConsDaily", "attr": "numberConsDaily", "disabled": "!data.statsActive", "min": 0, "max": 31, "step": 1, "width": "6%", "default": 7 }, { "type": "number", "label": "LBL_item_numberConsWeekly", "tooltip": "TTIP_item_numberConsWeekly", "attr": "numberConsWeekly", "disabled": "!data.statsActive", "min": 0, "max": 52, "step": 1, "width": "6%", "default": 4 }, { "type": "number", "label": "LBL_item_numberConsMonthly", "tooltip": "TTIP_item_numberConsMonthly", "attr": "numberConsMonthly", "disabled": "!data.statsActive", "min": 0, "max": 12, "step": 1, "width": "6%", "default": 4 }, { "type": "number", "label": "LBL_item_numberConsAnnual", "tooltip": "TTIP_item_numberConsAnnual", "attr": "numberConsAnnual", "disabled": "!data.statsActive", "min": 0, "max": 1, "step": 1, "width": "6%", "default": 1 } ] }, "_feedDataDetailHeader": { "type": "header", "text": "LBL_feedDataDetailHeader", "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12, "size": 3 }, "FeedConfigLastMeterConsumption": { "type": "checkbox", "label": "LastMeterConsumption", "noTranslation": true, "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4, "newLine": true }, "FeedConfigAccumulatedConsumption": { "type": "checkbox", "label": "AccumulatedConsumption", "noTranslation": true, "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4 }, "FeedConfigAccumulatedConsumptionLastHour": { "type": "checkbox", "label": "AccumulatedConsumptionLastHour", "noTranslation": true, "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4 }, "FeedConfigLastMeterProduction": { "type": "checkbox", "noTranslation": true, "label": "LastMeterProduction", "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4, "newLine": true }, "FeedConfigAccumulatedProduction": { "type": "checkbox", "noTranslation": true, "label": "AccumulatedProduction", "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4 }, "FeedConfigAccumulatedProductionLastHour": { "type": "checkbox", "noTranslation": true, "label": "AccumulatedProductionLastHour", "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4 }, "FeedConfigAccumulatedCost": { "type": "checkbox", "noTranslation": true, "label": "AccumulatedCost", "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4, "newLine": true }, "FeedConfigAccumulatedReward": { "type": "checkbox", "noTranslation": true, "label": "AccumulatedReward", "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4 }, "FeedConfigCurrency": { "type": "checkbox", "noTranslation": true, "label": "Currency", "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4 }, "FeedConfigMinPower": { "type": "checkbox", "noTranslation": true, "label": "MinPower", "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4, "newLine": true }, "FeedConfigAveragePower": { "type": "checkbox", "noTranslation": true, "label": "AveragePower", "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4 }, "FeedConfigMaxPower": { "type": "checkbox", "noTranslation": true, "label": "MaxPower", "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4 }, "FeedConfigPowerProduction": { "type": "checkbox", "noTranslation": true, "label": "PowerProduction", "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4, "newLine": true }, "FeedConfigMinPowerProduction": { "type": "checkbox", "noTranslation": true, "label": "MinPowerProduction", "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4 }, "FeedConfigMaxPowerProduction": { "type": "checkbox", "noTranslation": true, "label": "MaxPowerProduction", "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4 }, "FeedConfigPowerFactor": { "type": "checkbox", "noTranslation": true, "label": "PowerFactor", "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4, "newLine": true }, "FeedConfigSignalStrength": { "type": "checkbox", "noTranslation": true, "label": "SignalStrength", "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4 }, "_phases": { "type": "staticText", "hidden": "!data.TibberAPIToken", "label": "LBL_phases", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12, "newLine": true }, "FeedConfigVoltagePhase1": { "type": "checkbox", "label": "VoltagePhase1", "noTranslation": true, "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4, "newLine": true }, "FeedConfigVoltagePhase2": { "type": "checkbox", "label": "VoltagePhase2", "noTranslation": true, "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4 }, "FeedConfigVoltagePhase3": { "type": "checkbox", "label": "VoltagePhase3", "noTranslation": true, "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4 }, "FeedConfigCurrentL1": { "type": "checkbox", "label": "CurrentL1", "noTranslation": true, "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4, "newLine": true }, "FeedConfigCurrentL2": { "type": "checkbox", "label": "CurrentL2", "noTranslation": true, "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4 }, "FeedConfigCurrentL3": { "type": "checkbox", "label": "CurrentL3", "noTranslation": true, "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 6, "lg": 4, "xl": 4 }, "_headerDocumentation": { "type": "header", "text": "", "noTranslation": true, "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12, "size": 3 }, "_helpLink": { "type": "staticLink", "button": true, "variant": "contained", "icon": "info", "label": "LBL_helpLink", "href": "https://github.com/hombach/ioBroker.tibberlink/blob/master/README.md", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12, "newLine": true } } }, "_CalculatorTab": { "type": "panel", "label": "LBL_CalculatorTab", "hidden": "!data.TibberAPIToken", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12, "#include": "CalculatorTab.jsonConfig.json" }, "_GraphsTab": { "type": "panel", "label": "LBL_GraphsTab", "hidden": "!data.TibberAPIToken", "items": { "FlexGraphJSON": { "type": "jsonEditor", "label": "Configure template to create a data string to be used in graphs - e.g. ioBroker FlexCharts", "validateJson": false, "json5": true, "delimiter": ";", "newLine": true, "default": "%%xAxisData%%\n\n%%yAxisData%%\n\n%%CalcChannelsData%%", "xs": 12, "sm": 12, "md": 12, "lg": 6, "xl": 6 }, "_templateFlexGraph01": { "type": "staticLink", "button": true, "variant": "outlined", "icon": "info", "label": "LBL_templateFlexGraph01", "href": "https://github.com/hombach/ioBroker.tibberlink/blob/master/docu/TemplateFlexChart01.md", "xs": 12, "sm": 12, "md": 6, "lg": 6, "xl": 6, "newLine": true }, "_templateFlexGraph02": { "type": "staticLink", "button": true, "variant": "outlined", "icon": "info", "label": "LBL_templateFlexGraph01", "href": "https://github.com/hombach/ioBroker.tibberlink/blob/master/docu/TemplateFlexChart02.md", "xs": 12, "sm": 12, "md": 6, "lg": 6, "xl": 6 }, "FlexGraphPastCutOff": { "type": "number", "label": "LBL_FlexGraphPastCutOff", "tooltip": "TTIP_FlexGraphPastCutOff", "default": 24, "min": 0, "max": 48, "step": 1, "xs": 12, "sm": 12, "md": 12, "lg": 6, "xl": 6, "newLine": true }, "FlexGraphFutureCutOff": { "type": "number", "label": "LBL_FlexGraphFutureCutOff", "tooltip": "TTIP_FlexGraphFutureCutOff", "default": 36, "min": 0, "max": 36, "step": 1, "xs": 12, "sm": 12, "md": 12, "lg": 6, "xl": 6 }, "_echartsLink": { "type": "staticLink", "button": true, "variant": "outlined", "icon": "info", "label": "LBL_EChartsLink", "href": "https://echarts.apache.org/examples/en/index.html", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12, "newLine": true }, "_flexchartsLink": { "type": "staticLink", "button": true, "variant": "outlined", "icon": "help", "label": "LBL_FlexChartsLink", "href": "https://github.com/MyHomeMyData/ioBroker.flexcharts", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12, "newLine": true }, "_helpLink": { "type": "staticLink", "button": true, "variant": "contained", "icon": "info", "label": "LBL_helpLink", "href": "https://github.com/hombach/ioBroker.tibberlink/blob/master/README.md", "xs": 12, "sm": 12, "md": 12, "lg": 12, "xl": 12, "newLine": true } } }, "_LocalPulseTab": { "type": "panel", "label": "LBL_LocalPulseTab", "#include": "LocalPulseTab.jsonConfig.json" } } }