I'm using a Velux KLF 200 to control six solar powered blinds in the kitchen.
I've got FHEM to control the Velux KFL 200, and Loxone talks to FHEM using MQTT. FHEM and MQTT are installed on a Raspberry Pi running Loxberry. There are Loxberry plugins for both for easy install.
The Loxone blind control sends commands via UDP to MQTT, MQTT passes them onto FHEM which then controls the Velux interface. The status can be sent the other way as well, so you could still using the Velux remote controls for the blinds and report the blind hight back to Loxone, but I couldn't see a straight forward way of managing that within Loxone's blind controls, so I've just removed the Velux remote controls from the equation.
Instructions can be found here:
There is a bit of lag between Loxone and the blinds moving, which varies between blinds. I think this is with the KLF 200. But I've mostly worked round it so that sets of blinds can be controlled together and stop at the same position.
If you're wanting to control the Velux KSX 100K WW solar powered window opener, the FHEM module says that it can do so, but I've not tried. To control it within Loxone, there's no window opener control built in, but I would have thought that a Status module with two switches would work. If I thought that I could get away with buying and fitting it without my wife noticing, I would have done so by now!
For what it's worth, the Loxone recommended way to control the KLF 200 is using relays.
I've not seen a PicoC script that would work.
Regards,
Ewan