After upgrade to OH 4.1 I just configure the Generic Presence Detection based on this concept. Following the documentation I installed JavaScript Scripting, afterwards the folder $OH_CONF/automation/js remained empty, obviously due to the add-on parameter “Cache Library Injection” set to ON. In my understanding the openHAB Javascript Library needed for the Debounce solution is therefore cached, but available in my OH4 installation.
My question: Does the openHAB Rules Tools will work properly with the cached version of the openHAB Javascript Library or do I have to install both locally in $OH_CONF/automation/js with help of npm (Node.js package manager)?