Elering example library

Avatar
  • updated
  • Under review

Have anyone tried elering v2 from the examples library?

I don´t get any prices and I don´t know what I am doing wrong.

Avatar
Kenneth Ström

Thank you Jurgen. It is working fine.

Avatar
Jürgen Jürgenson

FYI - new 4.9.22beta version has an option to ignore self signed certs. So the http driver works again on jigsaw/colibri.

Image 4378

Avatar
Kenneth Ström
Quote from Jürgen Jürgenson

This command looks correct to me. It should get the correct hours too for winter. Are you using jigsaw or windows server? 

Now it´s working on windows server. Thank you Jurgen.

Avatar
Ohmin1970

on jigsaw 

Image 4315

Avatar
Ohmin1970
Quote from ComfortClick Support

Hello,

we're updating the example as you go. It gets updated, tweaked, fixed, functions added constantly. Currently the latest (2.7) version is uploaded. Thank you for posting the example and continue to tweak it.

Best regards,

Are you doing anything to get this working on jigsaw?

Avatar
Jürgen Jürgenson
Quote from Jürgen Jürgenson

This command looks correct to me. It should get the correct hours too for winter. Are you using jigsaw or windows server? 

Another way to know which country's command has problems with command sent is to check the status code for all of them. If one of them is showing bad request then there must be a problem with one of its strings. 

You can delete the ones you dont need. If the current price is working recheck all the 24H strings again. If the calculation program is not working just cut&paste it, this should fix it.
 

Image 4310

Avatar
Ohmin1970

I have tried windows server now

Avatar
Jürgen Jürgenson
Quote from Kenneth Ström

Devices : 2022-11-09 18:50:05 : Error : Devices\Http ELERING API (27) : BadRequest (400) GET: api/nps/price?start=2022-11-09T21%3

A59%3

A59.999Z&end=2022-11-10T21%3

A59%3

A59.999Z

this is the error I get. Current price is working but an our wrong. All the 24 data are 0.

This command looks correct to me. It should get the correct hours too for winter. Are you using jigsaw or windows server? 

Avatar
Kenneth Ström

Devices : 2022-11-09 18:50:05 : Error : Devices\Http ELERING API (27) : BadRequest (400) GET: api/nps/price?start=2022-11-09T21%3

A59%3

A59.999Z&end=2022-11-10T21%3

A59%3

A59.999Z

this is the error I get. Current price is working but an our wrong. All the 24 data are 0.

Avatar
Jürgen Jürgenson
Quote from Kenneth Ström

Getting this error

Devices : 2022-11-08 21:41:38 : Error : Devices\Http ELERING API (27) : BadRequest (400) GET: api/nps/price?start=2022-11-08T%3A59%3A59.999Z&end=2022-11-09T%3A59%3A59.999Z

What could be wrong?

Time/Hour value is missing right now. Its inserting %3 for time. api/nps/price?start=2022-11-08T%3A59%3A59.999Z&end=2022-11-09T%3A59%3A59.999Z Right after the T there should be 21 for winter time or 20 for summer time.

Check this program/string.

Image 4302