Consume API about energy consumption

Hello,

I want to consume a provided API by the Greek energy operator (DEDDIE).

The documentation is here: HEDNO Swagger UI

Ideally I want to query this API and feed three sensors:

  1. active energy
  2. produced energy
  3. injected energy

All three values are provided by this API. Is there a way I can do it?

Thank you!

Probably with this:

1 Like

Hello @andr3s1t0 ,

I want to do the same thing. Did you manage to do it?
I face difficulties to make the “toDate” dynamic for current day.

Thank you!

Hello, I managed to overcome it by using payload_template.

can you please share the code fromDate & toDate?

“fromDate”:
“toDate”: