iobroker.energiefluss-erweitert
Version:
This ioBroker adapter is the next Version of the energiefluss with the attribute 'erweitert' and allows to display an energyflow animation inside an iframe or HTML DIV.
586 lines • 17.1 kB
JSON
{
"basic": {
"enable_grid": true,
"enable_animation": false,
"enable_area_catch": true,
"enable_config_icon": true,
"enable_last_id": false,
"enable_icon_proxy": false,
"enable_low_performance": false,
"enable_ds_autocomplete": false,
"enable_show_coordinates": true,
"tourVisited": false,
"height": 540,
"width": 530,
"animation_timer": 1000,
"background_color": "",
"styles": "",
"font": {
"family": "\"Arial\", sans-serif",
"size": 20,
"align": "middle"
},
"rect": {
"height": 100,
"width": 100,
"corners": 10
},
"circle": {
"radius": 50
},
"elm": {
"stroke_width": 5,
"pos_x": 50,
"pos_y": 50
},
"icon": {
"width": 24,
"height": 24
}
},
"calculation": {
"battery": {
"dod": -1,
"capacity": -1,
"percent": -1,
"charge": -1,
"charge_prop": false,
"discharge": -1,
"discharge_prop": false
},
"consumption": {
"production": [],
"gridFeed": -1,
"gridFeed_prop": false,
"gridConsume": -1,
"gridConsume_prop": false,
"batteryCharge": -1,
"batteryCharge_prop": false,
"batteryDischarge": -1,
"batteryDischarge_prop": false
}
},
"animation": {
"stroke_dasharray": "10 17 10 17 10 72",
"stroke_width": 6,
"animation_duration": 2000,
"animation_duration_low": 1200,
"stroke_linecap": "round",
"animation_timing_function": "linear",
"lowPerformance": {
"frames": 30,
"duration": 1200
}
},
"animation_configuration": {
"dots": 3,
"gap": 72,
"distance": 17,
"length": 10
},
"line": {
"stroke_width": 8,
"stroke": "#000000",
"stroke_linecap": "square"
},
"elements": {
"2": {
"type": "text",
"align": "middle",
"subType": "datasource",
"id": 2,
"pos_x": 217,
"pos_y": 42,
"color": "none",
"fill": "rgb(255, 206, 74)",
"font_family": "\"Arial\", sans-serif",
"font_size": 18,
"degree": 0,
"text": "ID 2",
"unit": "kW",
"source": -1,
"shadow": "",
"threshold": 0,
"convert": false,
"decimal_places": 2,
"source_option": -1,
"source_display": "value",
"action": "none",
"calculate_kw": "none",
"frame": "_overlay"
},
"5": {
"type": "rect",
"id": 5,
"rx": 10,
"height": 100,
"width": 100,
"pos_x": 167,
"pos_y": 2,
"fill": "none",
"color": "rgb(255, 206, 74)",
"stroke": 2,
"shadow": "rgba(0,0,0,0.7)",
"frame": "_overlay",
"url": "",
"source": -1
},
"6": {
"type": "icon",
"id": 6,
"icon": "mdi:solar-panel",
"width": 24,
"height": 24,
"color": "rgba(0, 0, 0, 0.7)",
"pos_x": 205,
"pos_y": 6,
"shadow": ""
},
"7": {
"type": "rect",
"id": 7,
"rx": 10,
"height": 100,
"width": 100,
"pos_x": 407,
"pos_y": 212,
"fill": "none",
"color": "rgb(0, 181, 221)",
"stroke": 2,
"shadow": "rgba(0,0,0,0.7)",
"frame": "_overlay",
"url": "",
"source": -1
},
"8": {
"type": "icon",
"id": 8,
"icon": "mdi:battery-high",
"width": 24,
"height": 24,
"color": "rgba(0, 0, 0, 0.7)",
"pos_x": 84,
"pos_y": 218,
"shadow": ""
},
"9": {
"type": "text",
"align": "middle",
"subType": "datasource",
"id": 9,
"pos_x": 457,
"pos_y": 254,
"color": "none",
"fill": "rgb(0, 181, 221)",
"font_family": "\"Arial\", sans-serif",
"font_size": 18,
"degree": 0,
"text": "ID 9",
"unit": "kW",
"source": -1,
"shadow": "",
"threshold": 0,
"convert": false,
"decimal_places": 2,
"source_option": -1,
"source_display": "value",
"action": "none",
"calculate_kw": "none",
"frame": "_overlay"
},
"10": {
"type": "text",
"align": "middle",
"id": 10,
"pos_x": 217,
"pos_y": 75,
"color": "none",
"fill": "rgba(0, 0, 0, 0.7)",
"font_family": "\"Arial\", sans-serif",
"font_size": 14,
"degree": 0,
"text": "Produktion",
"shadow": ""
},
"11": {
"type": "text",
"align": "middle",
"id": 11,
"pos_x": 457,
"pos_y": 288,
"color": "none",
"fill": "rgba(0, 0, 0, 0.7)",
"font_family": "\"Arial\", sans-serif",
"font_size": 14,
"degree": 0,
"text": "Verbrauch",
"shadow": ""
},
"12": {
"type": "icon",
"id": 12,
"icon": "mdi:house-city",
"width": 24,
"height": 24,
"color": "rgba(0, 0, 0, 0.7)",
"pos_x": 445,
"pos_y": 218,
"shadow": ""
},
"13": {
"type": "rect",
"id": 13,
"rx": 10,
"height": 100,
"width": 100,
"pos_x": 46,
"pos_y": 212,
"fill": "none",
"color": "rgb(161, 211, 67)",
"stroke": 2,
"shadow": "rgba(0,0,0,0.7)",
"frame": "_overlay",
"url": "",
"source": -1
},
"14": {
"type": "rect",
"id": 14,
"rx": 10,
"height": 100,
"width": 100,
"pos_x": 167,
"pos_y": 422,
"fill": "none",
"color": "rgba(97, 104, 122, 0.7)",
"stroke": 2,
"shadow": "rgba(0,0,0,0.7)",
"frame": "_overlay",
"url": "",
"source": -1
},
"15": {
"type": "text",
"align": "middle",
"id": 15,
"pos_x": 96,
"pos_y": 288,
"color": "none",
"fill": "rgba(0, 0, 0, 0.7)",
"font_family": "\"Arial\", sans-serif",
"font_size": 15,
"degree": 0,
"text": "Batterie",
"shadow": ""
},
"16": {
"type": "text",
"align": "middle",
"subType": "datasource",
"id": 16,
"pos_x": 96,
"pos_y": 254,
"color": "none",
"fill": "rgb(161, 211, 67)",
"font_family": "\"Arial\", sans-serif",
"font_size": 20,
"degree": 0,
"text": "ID 16",
"unit": "kW",
"source": -1,
"shadow": "",
"threshold": 0,
"convert": true,
"decimal_places": 2,
"source_option": -1,
"source_display": "value",
"action": "none",
"calculate_kw": "none",
"frame": "_overlay"
},
"18": {
"type": "text",
"align": "middle",
"subType": "datasource",
"id": 18,
"pos_x": 96,
"pos_y": 272,
"color": "none",
"fill": "rgb(161, 211, 67)",
"font_family": "\"Arial\", sans-serif",
"font_size": 18,
"degree": 0,
"text": "ID 18",
"unit": "%",
"source": -1,
"shadow": "",
"threshold": 0,
"convert": false,
"decimal_places": 0,
"source_option": -1,
"source_display": "value",
"action": "none",
"calculate_kw": "none",
"frame": "_overlay"
},
"19": {
"type": "text",
"align": "middle",
"subType": "datasource",
"id": 19,
"pos_x": 217,
"pos_y": 464,
"color": "none",
"fill": "rgb(97, 104, 122)",
"font_family": "\"Arial\", sans-serif",
"font_size": 18,
"degree": 0,
"text": "ID 19",
"unit": "kW",
"source": -1,
"shadow": "",
"threshold": 0,
"convert": true,
"decimal_places": 2,
"source_option": -1,
"source_display": "value",
"action": "none",
"calculate_kw": "none",
"frame": "_overlay"
},
"20": {
"type": "icon",
"id": 20,
"icon": "mdi:electricity-from-grid",
"width": 24,
"height": 24,
"color": "rgba(0, 0, 0, 0.7)",
"pos_x": 205,
"pos_y": 428,
"shadow": ""
},
"21": {
"type": "text",
"align": "middle",
"id": 21,
"pos_x": 217,
"pos_y": 498,
"color": "none",
"fill": "rgba(0, 0, 0, 0.7)",
"font_family": "\"Arial\", sans-serif",
"font_size": 14,
"degree": 0,
"text": "Netz",
"shadow": ""
},
"22": {
"type": "rect",
"id": 22,
"rx": 10,
"height": 100,
"width": 100,
"pos_x": 407,
"pos_y": 422,
"fill": "none",
"color": "rgb(197, 144, 46)",
"stroke": "2",
"shadow": "rgba(0,0,0,0.7)",
"frame": "_overlay",
"url": "",
"source": -1
},
"23": {
"type": "icon",
"id": 23,
"icon": "material-symbols:electric-car",
"width": 24,
"height": 24,
"color": "rgba(0, 0, 0, 0.7)",
"pos_x": 445,
"pos_y": 428,
"shadow": ""
},
"24": {
"type": "text",
"align": "middle",
"id": 24,
"pos_x": 457,
"pos_y": 498,
"color": "none",
"fill": "rgba(0, 0, 0, 0.7)",
"font_family": "\"Arial\", sans-serif",
"font_size": 14,
"degree": 0,
"text": "Auto",
"shadow": ""
},
"26": {
"type": "text",
"align": "middle",
"subType": "datasource",
"id": 26,
"pos_x": 457,
"pos_y": 464,
"color": "none",
"fill": "rgb(197, 144, 46)",
"font_family": "\"Arial\", sans-serif",
"font_size": 18,
"degree": 0,
"text": "ID 26",
"unit": "kW",
"source": -1,
"shadow": "",
"threshold": 0,
"convert": false,
"decimal_places": 2,
"source_option": -1,
"source_display": "value",
"action": "none",
"calculate_kw": "none",
"frame": "_overlay"
},
"27": {
"type": "text",
"align": "middle",
"subType": "datasource",
"id": 27,
"pos_x": 457,
"pos_y": 480,
"color": "none",
"fill": "rgb(197, 144, 46)",
"font_family": "\"Arial\", sans-serif",
"font_size": 18,
"degree": 0,
"text": "ID 27",
"unit": "%",
"source": -1,
"shadow": "",
"threshold": 0,
"convert": false,
"decimal_places": 0,
"source_option": -1,
"source_display": "value",
"action": "none",
"calculate_kw": "none",
"frame": "_overlay"
}
},
"defs": {
"path_5_7": {
"type": "def",
"id": "path_5_7",
"d": "M237 103 V 124.6 A 15 15 0 0 0 252 139.6 H 422 A 15 15 0 0 1 437 154.6 V 211",
"startSlot": "bottom_right",
"endSlot": "top_left"
},
"path_5_13": {
"type": "def",
"id": "path_5_13",
"d": "M197 103 V 124.6 A 15 15 0 0 1 182 139.6 H 111 A 15 15 0 0 0 96 154.6 V 211",
"startSlot": "bottom_left",
"endSlot": "top"
},
"path_14_7": {
"type": "def",
"id": "path_14_7",
"d": "M237 421 V 399.4 A 15 15 0 0 1 252 384.4 H 422 A 15 15 0 0 0 437 369.4 V 313",
"startSlot": "top_right",
"endSlot": "bottom_left"
},
"path_5_14": {
"type": "def",
"id": "path_5_14",
"d": "M217 103 V 421",
"startSlot": "bottom",
"endSlot": "top"
},
"path_7_22": {
"type": "def",
"id": "path_7_22",
"d": "M457 313 V 421",
"startSlot": "bottom",
"endSlot": "top"
}
},
"lines": {
"line_path_5_7": {
"type": "line",
"id": "line_path_5_7",
"href": "#path_5_7",
"color": "rgb(0, 0, 0)"
},
"line_path_5_13": {
"type": "line",
"id": "line_path_5_13",
"href": "#path_5_13",
"color": "rgb(0, 0, 0)"
},
"line_path_14_7": {
"type": "line",
"id": "line_path_14_7",
"href": "#path_14_7",
"color": "rgb(0, 0, 0)"
},
"line_path_5_14": {
"type": "line",
"id": "line_path_5_14",
"href": "#path_5_14",
"color": "rgb(0, 0, 0)"
},
"line_path_7_22": {
"type": "line",
"id": "line_path_7_22",
"href": "#path_7_22",
"color": "rgb(0, 0, 0)"
}
},
"animations": {
"anim_path_5_7": {
"type": "animation",
"id": "anim_path_5_7",
"href": "#path_5_7",
"color": "rgb(255, 206, 74)",
"threshold": 0,
"source": -1,
"animation_properties": "positive"
},
"anim_path_5_13": {
"type": "animation",
"id": "anim_path_5_13",
"href": "#path_5_13",
"color": "rgb(255, 206, 74)",
"threshold": 0,
"source": -1,
"animation_properties": "negative"
},
"anim_path_14_7": {
"type": "animation",
"id": "anim_path_14_7",
"href": "#path_14_7",
"color": "rgb(255, 206, 74)",
"threshold": 10,
"source": -1,
"animation_properties": "negative"
},
"anim_path_5_14": {
"type": "animation",
"id": "anim_path_5_14",
"href": "#path_5_14",
"color": "rgb(255, 206, 74)",
"threshold": 0,
"source": -1,
"animation_properties": "positive"
},
"anim_path_7_22": {
"type": "animation",
"id": "anim_path_7_22",
"href": "#path_7_22",
"color": "rgb(255, 206, 74)",
"threshold": 0,
"source": -1,
"animation_properties": "positive"
}
},
"icons": {},
"datasources": {}
}