-
-
Couldn't load subscription status.
- Fork 1
Description
Users should be able to write custom scripts to control their devices, both in python and javascript.
We deal with the python use case here. Currently a newer wotpy version (with HTTP protocol binding) is being worked out, nevertheless we should prepare a scripting UI so that it can integrated immediately once wotpy is ready. Assuming that a HTTP python client will be available, create a new tab "Scripting" where this client will be accessible
Rough steps:
- spin up a jupyter server with default python environments as a docker container in our kubernetes cluster, read-only (ask for credentials)
- Find a suitable jupyter client, especially like the VS code version and not the default jupyter version. The VS code version does not have all the full fledged UI, but just input output blocks, which is what we need.
- connect the jupyter client to server
- hide this feature in production, but deploy into staging cluster if already available (please ask for info)
This is just a basic PoC to start integrating jupyter. Userfriendliness and deploying containers per user, we can deal in other issues.
Authentication also needs to setup for that.