Hi, I am trying to get the dynamic electricity rate available in OpenHAB as a basis for energy consumption steering.
In the I used their JSON directly to get the data, but this stopped working since a few months asking for a additional inputs. Can’t figure them out and the helpdesk is not able to provide them… https://api.engie.be/engie/ms/pricing/v1/public/prices/epex
I shifted to try to use the online Excel which is updated daily, but can figure out how to handle/read an excel file in a rule.
You are likely going to need to find a Ruby, node.js, or Python library that can parse XLSX which means you’ll need to use the jRuby, JS Scripting, add-ons or HABApp third partry service to implement this in a rule.
I don’t suppose you can use CSV as an export type? That would be easier as it’ll be plain text (no special parser required) and can likely be handled in a standard rule using string manipulation only.