Use case: Using previous data for the production of my solar panels as a function of the sun’s elevation at noon and the weather forecast for the day, I plan to let OH decide if the geothermal heat pump should be allowed to run or not.
It is probably stretching things a bit, I would like to use the astro binding to calculate the elevation of the sun at a specific point in time (i.e. noon) each night. Much like sending the desired DateTime as an input to astro:sun:home:noon.
I do, however, realize OH is event driven and not a general calculation instrument so the chances are slim but… A possible (?) solution would be to use something like “Now-astro:sun:home:noon#start” and use that number of minutes as an offset to astro:sun:home:position#elevation but it seems a bit far fetched if there already is a method to do it.
Having read e.g., OH2 Astro binding - Question or feature request: calculate next day's sunrise time it seems less probable. I could of course do a GOlang solution and/or a REST-API as an alternative. Any takers?