pyscript icon indicating copy to clipboard operation
pyscript copied to clipboard

integrate pyscript jupyter kernel into HA integration Jupyter Lab

Open SnokxStefan opened this issue 1 year ago • 1 comments

Dear, There is now a standard HA integration for jupyter lab. Is it possible to install and use the pyscript jupyter kernel from here ? i run HA on a raspberry.

Thanks for helping an non-IT savvy person...

SnokxStefan avatar Oct 18 '24 15:10 SnokxStefan

Yes, you can run the PyScript kernel with the Home Assistant Community Add-On JupyterLab.

The steps are currently only documented in some discussions/issues.

See https://github.com/craigbarratt/hass-pyscript-jupyter/issues/32

Note: the Jupyter PyScript kernel (the piece that makes the bridge between the PyScript integration running inside of Home Assistant and a Jupyter notebook is maintained in a separate repo https://github.com/craigbarratt/hass-pyscript-jupyter because it is (somewhat) of a separate component.

Also you mentioned running on a RPi, the JupyterLab add-on uses a bit of memory. Depending on the amount of RAM in your RPi, you might only want to run JupyterLab when you are actively using it.

rct avatar Oct 24 '24 17:10 rct