-
Notifications
You must be signed in to change notification settings - Fork 2
/
nordpool-api.html
93 lines (79 loc) · 3.58 KB
/
nordpool-api.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<script type="text/javascript">
RED.nodes.registerType('nordpool-api',{
category: 'Request',
color: '#a6bbcf',
defaults: {
area: {value:"Oslo"},
currency: {Value:"NOK"},
timeSpan: {Value:"hourly"}
},
inputs:1,
outputs:1,
icon: "font-awesome/fa-line-chart",
color: "#c7bbc9",
label: function() {
return this.name||"Nordpool";
}
});
</script>
<script type="text/html" data-template-name="nordpool-api">
<div class="form-row">
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row">
<label for="node-input-area"><i class="fa fa-globe"></i> Area</label>
<select value="" id="node-input-area" placeholder="Area">
<option value="SYS">SYS</option>
<option value="SE1">SE1</option>
<option value="SE2">SE2</option>
<option value="SE3">SE3</option>
<option value="SE4">SE4</option>
<option value="FI">FI</option>
<option value="DK1">DK1</option>
<option value="DK2">DK2</option>
<option value="Oslo">Oslo</option>
<option value="Kr.sand">Kr.sand</option>
<option value="Bergen">Bergen</option>
<option value="Molde">Molde</option>
<option value="Tr.heim">Tr.heim</option>
<option value="Tromsø">Tromsø</option>
<option value="EE">EE</option>
<option value="LV">LV</option>
<option value="LT">LT</option>
<option value="AT">AT</option>
<option value="BE">BE</option>
<option value="DE-LU">DE-LU</option>
<option value="FR">FR</option>
<option value="NL">NL</option>
</select>
</div>
<div class="form-row">
<label for="node-input-currency"><i class="fa fa-money"></i> Currency</label>
<select value="" id="node-input-currency" placeholder="Currency">
<option value="EUR">EUR/MWh</option>
<option value="NOK">NOK/MWh</option>
<option value="DKK">DKK/MWh</option>
<option value="SEK">SEK/MWh</option>
</select>
</div>
<div class="form-row">
<label for="node-input-timeSpan"><i class="fa fa-clock-o"></i> Time span</label>
<select value="" id="node-input-timeSpan" placeholder="Time Span">
<option value="hourly">Hourly</option>
<option value="daily">Daily</option>
<option value="weekly">Weekly</option>
<option value="monthly">Monthly</option>
</select>
</div>
</script>
<script type="text/html" data-help-name="nordpool-api">
<p>A Node-Red Node for collecting `day ahead` prices from NorpoolGroup.</p>
<p>When using this node be sure to not violate the terms and conditions for use provided by Nordpoolgroup.</p>
<p><a href="https://www.nordpoolgroup.com/About-us/Terms-and-conditions-for-use/">Terms and conditions can be found here</a></p>
<p>By default on input the node collect the prices from area `Oslo`
in currency `NOK/MWh` The area, currency and time span can be changed by selecting from the drop down
in the properties menu</p>
<p>Please refer to <a href="https://www.nordpoolgroup.com/maps/#/nordic">area map</a> to find your suitable area</p>
<p>The node outputs an array of objects containing Area, Timestamp, StartTime, EndTime, Price and Valuta</p>
</script>