Using Javascript API in Openhab

Hello,
I want to use the API of ControlmySpa: Victor Vlasák / ControlMySpaJs · GitLab
Is it possible to use it in openhab?

Thanks,
Stefan

I am not that good at doing stuff in Javascript.
There is also a python implementation at GitHub - arska/controlmyspa: Python library for Balboa ControlMySpa.com
I personally would use that one an do calls to it via executeCommandLine interface.

1 Like

Thanks for the quick response @Wolfgang_S
That’s sounds promising…
Is there a good tutorial or example for that case?

Thanks again

executeCommandLine is documented here: Actions | openHAB
The python lib has a file containing example code in https://github.com/arska/controlmyspa/blob/main/example.py