This tutorial describes how to set up integration to send measurements from Web Port to Energinet. Kiona has developed ready-made report pages to simplify this process.
From Web Port version 2.25.10, a new script engine is used. This means you must use the correct report depending on which Web Port version you are running.
Prerequisites
- Admin-access (or similar level with possibility to add pages) to a Web Port installation
- API-token from Energinet
- Login to Energinet.
Select the correct report
Web Port version 2.25.10 or newer
-
Download and use the new Energinet report
Web Port older than version 2.25.10
-
Download and use the existing (legacy) Energinet report.
NOTE!
Using the wrong report may cause the export to fail due to incompatibility with the script engine.
Step-by-step guide
- Download the correct Web Port report according to your version (see above).
- Upload it to Web Port.
- Report will open in edit mode. Go to inputs and enter the token you have received or created in Energinet, into Value on Input ENERGINET_TOKEN.
- Create new inputs for the tags you wish to export.
- Name = Tag name
- Optional, Custom 2 can be used if you want a different ID than the tag name.
- Enable Tag Link
- Click view and run the report to validate that it works. (report is setup to not run on view).
- Result is shown together with a status message.
- In Energinet:
- Create a new meter.
- Meter ID, should match the ID you sent from Web Port.
- Open the meter and reload the meter data to check that data is being recived correctly.
- The report is configured to send data every hour by default. Update this according to specific needs.
- Done!
Troubleshooting tip
- The Debug log in System Settings can provide additional information if you encounter any issues.