26.04.2022, 09:27
Hello,
I have a separate controller application hosted on GCP, and would like to send requests to the LogicMachine from my application and therefore need an endpoint.
I have created a custom application within the LogicMachine using index.lp, and was able to send requests to it. The LogicMachine will then send requests to the KNX server using grp.write().
Now my question is, is there a way to use Lua script and Javascript within index.lp (or maybe widget.lp?) in order to send requests to the KNX server in parallel using something like JavaScript's promise.all()?
Any other ideas are also appreciated.
Thanks, and kind regards.
I have a separate controller application hosted on GCP, and would like to send requests to the LogicMachine from my application and therefore need an endpoint.
I have created a custom application within the LogicMachine using index.lp, and was able to send requests to it. The LogicMachine will then send requests to the KNX server using grp.write().
Now my question is, is there a way to use Lua script and Javascript within index.lp (or maybe widget.lp?) in order to send requests to the KNX server in parallel using something like JavaScript's promise.all()?
Any other ideas are also appreciated.
Thanks, and kind regards.