Import the two json files to your node-red instance.
You need to install the node node-red-contrib-sun-position in order to work with this flow: https://flows.nodered.org/node/node-red-contrib-sun-position
Read more about this flow on my Website: https://www.frederikm.de/2020/07/31/beschattungsloesung-mit-node-red-und-bosch-smart-home/