© Danfoss |2017.01
VI.HX.I2.02 | 1
ECL Portal API
Web interface for ECL Portal databases
Operating Guide
1.0 Contents
1.0 Contents ..............................................................................................................................................................................................................................................1
2.0 Introduction ........................................................................................................................................................................................................................................2
3.0 Version table .......................................................................................................................................................................................................................................2
4.0 Glossary ..............................................................................................................................................................................................................................................2
5.0 General ..............................................................................................................................................................................................................................................3
6.0 Security ..............................................................................................................................................................................................................................................3
6.1 Creating third party code .....................................................................................................................................................................................................4
6.2 Assigning access to a third party .......................................................................................................................................................................................5
7.0 Interfaces ..............................................................................................................................................................................................................................................6
7.1 API format ................................................................................................................................................................................................................................... 7
7.2 Future versions ..........................................................................................................................................................................................................................7
7.3 Time formats .............................................................................................................................................................................................................................. 7
8.0 Master data service ........................................................................................................................................................................................................................ 9
8.1 getEclMasterData request parameters.............................................................................................................................................................................9
8.1.1 Examples of getEclMasterData request parameters .................................................................................................................................... 10
8.2 getEclMasterData response ...............................................................................................................................................................................................10
8.2.1 Example of getEclMasterData response ............................................................................................................................................................ 10
8.2.2 Master data ...................................................................................................................................................................................................................11
8.3 getEclMasterData response ...............................................................................................................................................................................................11
8.4 Status codes for response ................................................................................................................................................................................................... 17
9.0 Readings ...........................................................................................................................................................................................................................................17
9.1 getReadings Request ............................................................................................................................................................................................................18
9.2 getReadings Response .........................................................................................................................................................................................................19
10.0 Using the interface .......................................................................................................................................................................................................................21
10.1 Extracting master data .......................................................................................................................................................................................................23
10.1.1 M-bus, Main meter house .................................................................................................................................................................................25
10.1.2 M-bus, Solar heating, small tank ....................................................................................................................................................................26
10.1.3 M-bus, Solar heating, large tank .....................................................................................................................................................................28
10.1.4 ECL log, A367.1 example e ................................................................................................................................................................................30
10.1.5 Extracting readings .............................................................................................................................................................................................33
10.1.6 Read the latest values for one or more sensors on a meter connected to the ECL controller .................................................33
10.1.7 Reading the most recently measured outdoor temperature ...............................................................................................................34
10.1.8 Reading of Energy, Volume, Flow temperature and Return temperature for the house’s main meter ................................35
10.1.9 Read the latest value for one or more sensors across meters connected to the ECL controller .............................................35
10.1.10 Read a period of historical data for one or more sensors on one meter connected to the ECL controller .........................35
10.2 Format dierences in data extracted ............................................................................................................................................................................39