HTTP read energy prices from homepage

Avatar
  • updated

Since the energy prices have gone up I would like to import energy prices to bOS so I could make some desicions according to energy prices. I have read the manual about http driver but I am not a http and api expert and I am not able to understand the manual. Has anybody done such a thing and could explane or share demo how to read values from homepage or api. I understand that reading is different in different pages but maybe with some example I would understand the idea how to GET value to bOS.

Avatar
Jürgen Jürgenson

Hey Tanel,

I've made a API template for Entso-e. For Estonian market, I could share it but you need to make your own Entso-e account https://transparency.entsoe.eu
, as they limit the max connected accounts and you will receive your account token that you must use for polling. 

Template may have some problems, i haven't had the time to think a better way to calculate dates, but its doable - problem with the end of the month dates - as it needs to calculate them and if the month has less than 31 days it will mess last days readings up, but should return to normal if the month start fresh again. Their API manual is actually the best ive seen.

I believe eesti energia has done the same thing by using same API. But they have also made their own api and manual for it. I havent tested it though.
 

Avatar
Tanel Matsi

For example is it possible to read values from this page:

https://electrify.stiigo.com/?page=conf#price