Comments: HA: Use values of any WebGUI as entities

 

Questions / Comments to HA: Use values of any WebGUI as entities

(newest first)


✍anonym
2023-10-01 17:58
Thanks for this great Samples, especially the ÖMAG value, that I was searching for a long time. However the Ömag value is delyed on the named website. I used the following command:
echo $(curl https://www.e-control.at/de/marktteilnehmer/oeko-energie/marktpreis/ | grep -Po "demzufolge (.*?) Euro/MWh" | grep -Po "[0-9,]{3,7}" | sed 's/,/./g') / 1000 | bc -l
to grab it from a different site. The remaining problem is, that THIS price is updated 1-2 days BEFORE the effective change. Without matching the current quarter with the one on the website, the value is still wrong for a few days.

If you have a suggestion how to circumvent that, this would be a great addition.
✍Bernhard
comment date 03.10.2023 10:37
Thank you very much for your Input.
I started testing some logic on this site. The test runs on this page: https://www.libe.net/oemag

created by Bernhard

By continuing to browse the site, you agree to our use of cookies. More Details