From: Stuart Henderson Subject: NEW: devel/py-hass-pyscript-jupyter To: ports Date: Thu, 12 Mar 2026 15:58:10 +0000 This is a bit niche but if you're running HomeAssistant and want to interact with it via Python from an OpenBSD machine, this gives a way to do it by using Jupyter notebook/console. ok to import? ---- Information for inst:py3-hass-pyscript-jupyter-1.0.0 Comment: shim connecting Jupyter to a HomeAssistant Pyscript kernel Description: The Pyscript add-on for HomeAssistant ('HASS pyscript') provides a "kernel" that interfaces with the Jupyter front-ends (eg, notebook, console, lab, and also VSCode). It allows you to develop and test pyscript triggers, functions and automation logic interactively, and interact with much of HASS by looking at state variables and calling services as you experiment and develop your own logic and automations. While HomeAssistant does not easily run on OpenBSD, you can run it on another system and connect from the Jupyter front-ends running on OpenBSD by using this package, hass-pyscript-jupyter, which provides a shim that sits between HASS pyscript and Jupyter. This shim is started by Jupyter and uses the HASS web interface to make a service call to pyscript, starting the kernel and helping establish the various socket connections between HASS/pyscript and Jupyter. The end result is that you can interact with Python/pyscript on HASS from an OpenBSD system. Maintainer: The OpenBSD ports mailing-list WWW: https://github.com/craigbarratt/hass-pyscript-jupyter ---