I have installed the Jupyterlab add-on on Hassio (running on a NUC) and I am able to connect to the mysql db I use for the hass recorder, using the provided sample code from the documentation:
from detective.core import db_from_hass_config
db = db_from_hass_config()
But, I have setup this database to record only a few days. Additionally, almost all of my HASS data is going into an InfluxDB instance where I keep longterm data. I want to connect Jupyterlab to that InfluxDB, but can’t figure out how to do that. I tried the REST API url for it, but no joy.
nope not yet. That is: I understand you can enter the correct info in a notebook to connect to it, but I have not done that yet. When I posted the question, I thought I had to configure JupyterLab to connect to the influx db, but since the notebooks are basically running python, one would have to programm the notebook to connect. At least thats how I understand it.