Sensetif / sensetif-app-plugin

The Grafana Application Plugin for the Sensetif platform.
Apache License 2.0
0 stars 0 forks source link

Tight integration with e-on Navigator API #62

Open niclash opened 1 year ago

niclash commented 1 year ago

We should have a Import Project of e-on Navigator.

There is an EonImporter in the Java backend, so the only things we need to ask from the user are;

The rest is handled in the back end importer.

We need to send a JSON

{
    "clientId": "given by the energy company",
    "clientSecret": "given by the energy company",
    "project": "my_project",
    "projectTitle": "My Project"
}

on the sensetif/main/configurations topic with a key of 1:<orgId>:importEon

If an existing Project is selected, the projectTitle MUST be set to the existing title.

niclash commented 11 months ago

Complication; The same clientId/clientSecret authentication is used for multiple delivery points (i.e. buildings/sites) which are expected in separate Sensetif projects.

SO, interactive UI is required and we need to change the backend to filter on meterIds. More to follow.