Piper (Text-to-Speech) generating "Add-On not loaded"

Good day all,
openhab.txt (18.9 KB)

I have installed the Add-on Piper (Text-to-Speech) on the openHAB 4.3.5 running on a windows 10 laptop using java version “17.0.14”. Since that laptop does not have access to the Internet, I downloaded and copied the openHAB 4.3.5 Stable Add-ons into the folder addons as shown below.

Répertoire de c:\openHAB4_3_5\addons
2025-06-09  13:12    <DIR>          .
2025-06-09  13:12    <DIR>          ..
2025-06-09  11:29    451 904 073 openhab-addons-4.3.5.kar
2025-04-26  18:24             70 README

In Openhab, I installed the add-on. Then, I downloaded and copied the piper-jni jar file and a voice model files into the folder userdata\piper as shown below.

Répertoire de c:\openHAB4_3_5\userdata\piper
2025-06-09  14:29    <DIR>          .
2025-06-09  14:29    <DIR>          ..
2025-06-09  11:37        63 104 526 fr_FR-gilles-low.onnx
2025-06-09  12:01             4 577 fr_FR-gilles-low.onnx.json
2025-06-09  14:16    <DIR>          lib-1.2.0-a0f09cd
2025-06-09  11:33        60 930 507 piper-jni-1.2.0-a0f09cd.jar

In OpenHAB, changed default Voice-engine to Piper and I also put the Piper Add-on log settings to “DEBUG”.

To test all that, I used the following simple DSL rule.

rule "Test Piper"
    when
        Time cron "0 16, 15 ? * * 2025"
    then
        say("Bonjour!")
end

The result is " Error saying ‘Bonjour!’: Add-on is not loaded" in the attached log.

Now, I am totally confused. It would be nice if someone could give me a hint on what I am missing.

Thank you in advance.

Bruno

Hello,

I think that you have this issue.
The next openHAB version will include the fix.
I think it has not been included in any addon fix release (4.3.X)

You may however try this (no guarantee) :

If your openHAB installation does not have access to the Internet, you need to download the piper-jni jar file and place it at ‘<OPENHAB_USERDATA>/piper/’.

OK, I downloaded and installed the version 5.0.0-SNAPSHOT on my test laptop and it works.

You were right. :+1: It is fixed on the next openHAB version.

Thank you very much

Bruno :slightly_smiling_face: