But how can I upgrade the lupupy.py then?
If I run the upgrade as above I get:
➜ /usr pip install lupupy -U
Requirement already satisfied: lupupy in ./lib/python3.10/site-packages (0.1.9)
Requirement already satisfied: colorlog in ./lib/python3.10/site-packages (from lupupy) (6.6.0)
Requirement already satisfied: pyyaml in ./lib/python3.10/site-packages (from lupupy) (6.0)
Requirement already satisfied: requests>=2.12.4 in ./lib/python3.10/site-packages (from lupupy) (2.28.0)
Requirement already satisfied: idna<4,>=2.5 in ./lib/python3.10/site-packages (from requests>=2.12.4->lupupy) (3.3)
Requirement already satisfied: charset-normalizer~=2.0.0 in ./lib/python3.10/site-packages (from requests>=2.12.4->lupupy) (2.0.12)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./lib/python3.10/site-packages (from requests>=2.12.4->lupupy) (1.26.9)
Requirement already satisfied: certifi>=2017.4.17 in ./lib/python3.10/site-packages (from requests>=2.12.4->lupupy) (2022.6.15)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Because I re-engineered the connection to the Lupusec system using curl (on openhab), I would like to look into the files to investigate.
(I did not find out yet, how to curl by http(s) to local webservices.)
You should copy the integration code to custom components, then change the manifest.json to require 0.1.9, and also to add a version key. Then restart HA.
this returns no matches found
and using ls- la /usr/src does not return anything - that’s what’s confusing me (might be related to docker, where I don’t have experience)
Stupid me! Sorry!
Yes, I executed it, but got the response that the protection mode is active.
After disabling the protection mode for ssh / terminal, your procedure was successful.
Means, there is no error message in the logs anymore.
Thank you very much!
Now I just need to figure out how to access the Lupus entities, because there is no new device detected yet.