Problems with dialog processing with PulseAudioBinding

Hello community,

I’m trying to set up @Miguel_M.A.D 's great tutorial Dialog Processing with the PulseAudioBinding. First of all, thanks for this detailed guide.

I’m struggling to parse voice commands. The interpretation process always says that there was some error. Playing audio on the pulseaudio server / satelite works.

I followed the guide strictly - beside that I like config file based configuration on openHAB side.

Raspberry Pi with Pulseaudio as satelite
I set up the raspberry and pulseaudio exactly like in the guide.

openHAB

pulseaudio.things:
According to openHAB all things are online.

Bridge pulseaudio:bridge:voiceassistant1 "Voice Assistant 1" @ "office" [ host="192.168.24.138", port=4712 ] {
  Things:
  Thing sink    voiceassistant1_speaker         "Voice Assistant 1 Lautsprecher"        @ "office"  [name="alsa_output.usb-Jieli_Technology_UACDemoV1.0_5035811513207F1F-00.analog-stereo", activateSimpleProtocolSink=true, simpleProtocolSinkPort=4713]
  Thing source  voiceassistant1_mic             "Voice Assistant 1 Mikrofon"            @ "office"  [name="alsa_output.usb-Jieli_Technology_UACDemoV1.0_5035811513207F1F-00.analog-stereo.monitor", activateSimpleProtocolSource=true, simpleProtocolSourcePort=4714]
}

voice_commands.items

String VoiceCommand
Switch DialogRunning

rustpotterks.cfg

org.openhab.voice.rustpotterks:threshold=0.5
org.openhab.voice.rustpotterks:averagedthreshold=0.2
org.openhab.voice.rustpotterks:scoreMode=max
org.openhab.voice.rustpotterks:minScores=5
org.openhab.voice.rustpotterks:scoreRef=0.22
org.openhab.voice.rustpotterks:bandSize=5
org.openhab.voice.rustpotterks:gainNormalizer=true
org.openhab.voice.rustpotterks:minGain=0.5
org.openhab.voice.rustpotterks:maxGain=1
org.openhab.voice.rustpotterks:gainRef=0.004

voicerss.cfg
apiKey=b7b08xxxxxxxxxxxxxxxxe1be3b

voskstt.cfg

org.openhab.voice.voskstt:preloadModel=false
org.openhab.voice.voskstt:singleUtteranceMode=true
org.openhab.voice.voskstt:maxTranscriptionSeconds=60
org.openhab.voice.voskstt:maxSilenceSeconds=5
org.openhab.voice.voskstt:noResultsMessage="Ich habe dich nicht verstanden."
org.openhab.voice.voskstt:errorMessage="Etwas ist schief gelaufen."

Model
Downloaded vosk-model-small-de-0.15 and placed here:

ls -la ./openhab_userdata/vosk/model
total 16
drwxr-xr-x+ 1 9001 9001    62 Apr 24 15:57 .
drwxr-xr-x  1 9001 9001    10 Apr 24 15:57 ..
drwxr-xr-x+ 1 9001 9001    18 Apr 24 15:57 am
drwxr-xr-x+ 1 9001 9001    38 Apr 24 15:57 conf
-rwxr-xr-x+ 1 9001 9001 10173 Dec  3  2020 COPYING
drwxr-xr-x+ 1 9001 9001    72 Apr 24 15:57 graph
drwxr-xr-x+ 1 9001 9001   142 Apr 24 15:57 ivector
-rwxr-xr-x+ 1 9001 9001   795 Dec  3  2020 README

runtime.cfg

org.openhab.voice:defaultTTS=voicerss
org.openhab.voice:defaultVoice=voicerss:deDE_Hanna
org.openhab.voice:defaultSTT=voskstt
org.openhab.voice:defaultKS=rustpotterks
org.openhab.voice:keyword=hey openhab
org.openhab.voice:listeningItem=DialogRunning

Dialog
I set up and can the see the dialog.

openhab> openhab:voice dialogregs                                                                                                                                                                                                
 Source: pulseaudio:source:voiceassistant1:voiceassistant1_mic - Sink: pulseaudio:sink:voiceassistant1:voiceassistant1_speaker (STT: **Default**, TTS: **Default**, HLIs: **Default**, KS: **Default**, Keyword: hey openhab)

Testing
For testing I tried starting a dialog without magic / wake word like this:
openhab:voice listenandanswer --source pulseaudio:source:voiceassistant1:voiceassistant1_mic --sink pulseaudio:sink:voiceassistant1:voiceassistant1_speaker

Logs
I set org.openhab.core.voice and org.openhab.binding.pulseaudio to DEBUG.

I attached 3 runs because they are always slightly different. :thinking:

Run 1
2024-04-24 21:00:13.187 [DEBUG] [core.voice.internal.VoiceManagerImpl] - Executing a simple dialog for active source Voice Assistant 1 Mikrofon (pulseaudio:source:voiceassistant1:voiceassistant1_mic)
2024-04-24 21:00:13.188 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Adding new client for pulseaudio sink/source Voice Assistant 1 Mikrofon. Current count: 1
2024-04-24 21:00:13.188 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Aborting next disconnect
2024-04-24 21:00:13.819 [DEBUG] [.core.voice.internal.DialogProcessor] - RecognitionStartEvent event received

==> openhab_userdata/logs/events.log <==
2024-04-24 21:00:13.820 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'DialogRunning' received command ON
2024-04-24 21:00:13.820 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DialogRunning' changed from OFF to ON

==> openhab_userdata/logs/openhab.log <==
2024-04-24 21:00:14.676 [DEBUG] [.core.voice.internal.DialogProcessor] - RecognitionStopEvent event received
2024-04-24 21:00:14.677 [DEBUG] [.core.voice.internal.DialogProcessor] - SpeechRecognitionEvent event received
2024-04-24 21:00:14.677 [DEBUG] [.core.voice.internal.DialogProcessor] - Text recognized: fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden
2024-04-24 21:00:14.677 [DEBUG] [.core.voice.internal.DialogProcessor] - Interpretation result: 

==> openhab_userdata/logs/events.log <==
2024-04-24 21:00:14.677 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'DialogRunning' received command OFF

==> openhab_userdata/logs/openhab.log <==
2024-04-24 21:00:14.677 [DEBUG] [.core.voice.internal.DialogProcessor] - Empty value, nothing to say

==> openhab_userdata/logs/events.log <==
2024-04-24 21:00:14.677 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'VoiceCommand' received command fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden
2024-04-24 21:00:14.677 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DialogRunning' changed from ON to OFF

==> openhab_userdata/logs/openhab.log <==
2024-04-24 21:00:14.678 [INFO ] [.openhab.core.model.script.Voice.Rec] - VoiceCommand received fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden
2024-04-24 21:00:14.767 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Removing client for pulseaudio sink/source Voice Assistant 1 Mikrofon. Current count: 0
2024-04-24 21:00:14.767 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Aborting next disconnect
2024-04-24 21:00:14.767 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Scheduling next disconnect
2024-04-24 21:00:32.375 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Simple TCP Stream disconnecting for Voice Assistant 1 Lautsprecher
2024-04-24 21:00:40.935 [DEBUG] [pulseaudio.internal.PulseaudioClient] - reading sinks
2024-04-24 21:00:41.453 [DEBUG] [pulseaudio.internal.PulseaudioClient] - reading sources
2024-04-24 21:00:41.969 [DEBUG] [pulseaudio.internal.PulseaudioClient] - Pulseaudio server 192.168.24.138: 13 modules and 2 items updated
2024-04-24 21:00:41.969 [DEBUG] [o.internal.handler.PulseaudioHandler] - Updating states of Source #0 (Module: module-alsa-card) alsa_output.usb-Jieli_Technology_UACDemoV1.0_5035811513207F1F-00.analog-stereo.monitor, muted: false, state: RUNNING, volume: 100 id: volume
2024-04-24 21:00:41.970 [DEBUG] [o.internal.handler.PulseaudioHandler] - Updating states of Sink #0 (Module: module-alsa-card) alsa_output.usb-Jieli_Technology_UACDemoV1.0_5035811513207F1F-00.analog-stereo, muted: false, state: RUNNING, volume: 48 id: volume
2024-04-24 21:00:44.768 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Simple TCP Stream disconnecting for Voice Assistant 1 Mikrofon
Run 2
2024-04-24 21:02:21.999 [DEBUG] [core.voice.internal.VoiceManagerImpl] - Executing a simple dialog for active source Voice Assistant 1 Mikrofon (pulseaudio:source:voiceassistant1:voiceassistant1_mic)
2024-04-24 21:02:22.001 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Simple TCP Stream connecting for Voice Assistant 1 Mikrofon
2024-04-24 21:02:22.003 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Aborting next disconnect
2024-04-24 21:02:22.003 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Scheduling next disconnect
2024-04-24 21:02:22.003 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Adding new client for pulseaudio sink/source Voice Assistant 1 Mikrofon. Current count: 1
2024-04-24 21:02:22.003 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Aborting next disconnect
2024-04-24 21:02:22.615 [DEBUG] [.core.voice.internal.DialogProcessor] - RecognitionStartEvent event received

==> openhab_userdata/logs/events.log <==
2024-04-24 21:02:22.616 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'DialogRunning' received command ON
2024-04-24 21:02:22.616 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DialogRunning' changed from OFF to ON

==> openhab_userdata/logs/openhab.log <==
2024-04-24 21:02:27.393 [DEBUG] [.core.voice.internal.DialogProcessor] - RecognitionStopEvent event received
2024-04-24 21:02:27.394 [DEBUG] [.core.voice.internal.DialogProcessor] - SpeechRecognitionErrorEvent event received

==> openhab_userdata/logs/events.log <==
2024-04-24 21:02:27.394 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'DialogRunning' received command OFF

==> openhab_userdata/logs/openhab.log <==
2024-04-24 21:02:27.394 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Adding new client for pulseaudio sink/source Voice Assistant 1 Lautsprecher. Current count: 1
2024-04-24 21:02:27.394 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Aborting next disconnect

==> openhab_userdata/logs/events.log <==
2024-04-24 21:02:27.394 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DialogRunning' changed from ON to OFF

==> openhab_userdata/logs/openhab.log <==
2024-04-24 21:02:27.395 [DEBUG] [eaudio.internal.ConvertedInputStream] - Duration of input stream : 6810
2024-04-24 21:02:27.395 [DEBUG] [eaudio.internal.ConvertedInputStream] - Sound is a MP3. Trying to reencode it
2024-04-24 21:02:27.396 [DEBUG] [eaudio.internal.ConvertedInputStream] - Sound is not in the target format. Trying to reencode it
2024-04-24 21:02:27.396 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Simple TCP Stream connecting for Voice Assistant 1 Lautsprecher
2024-04-24 21:02:29.836 [DEBUG] [seaudio.internal.PulseAudioAudioSink] - Some time to let the system play sound : 4375
2024-04-24 21:02:29.836 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Removing client for pulseaudio sink/source Voice Assistant 1 Lautsprecher. Current count: 0
2024-04-24 21:02:29.836 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Aborting next disconnect
2024-04-24 21:02:29.836 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Scheduling next disconnect
2024-04-24 21:02:29.915 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Removing client for pulseaudio sink/source Voice Assistant 1 Mikrofon. Current count: 0
2024-04-24 21:02:29.915 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Aborting next disconnect
2024-04-24 21:02:29.916 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Scheduling next disconnect
2024-04-24 21:02:29.916 [WARN ] [audio.internal.PulseAudioAudioSource] - IOException while writing to from pulse source pipe: Pipe closed

2024-04-24 21:02:47.109 [DEBUG] [pulseaudio.internal.PulseaudioClient] - reading sinks
2024-04-24 21:02:47.671 [DEBUG] [pulseaudio.internal.PulseaudioClient] - reading sources
2024-04-24 21:02:48.191 [DEBUG] [pulseaudio.internal.PulseaudioClient] - Pulseaudio server 192.168.24.138: 13 modules and 2 items updated
2024-04-24 21:02:48.191 [DEBUG] [o.internal.handler.PulseaudioHandler] - Updating states of Source #0 (Module: module-alsa-card) alsa_output.usb-Jieli_Technology_UACDemoV1.0_5035811513207F1F-00.analog-stereo.monitor, muted: false, state: RUNNING, volume: 100 id: volume
2024-04-24 21:02:48.191 [DEBUG] [o.internal.handler.PulseaudioHandler] - Updating states of Sink #0 (Module: module-alsa-card) alsa_output.usb-Jieli_Technology_UACDemoV1.0_5035811513207F1F-00.analog-stereo, muted: false, state: RUNNING, volume: 48 id: volume
Run 3
==> openhab_userdata/logs/openhab.log <==                                                                       
2024-04-24 21:03:13.143 [DEBUG] [core.voice.internal.VoiceManagerImpl] - Executing a simple dialog for active source Voice Assistant 1 Mikrofon (pulseaudio:source:voiceassistant1:voiceassistant1_mic)
2024-04-24 21:03:13.143 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Simple TCP Stream connecting for Voice Assistant 1 Mikrofon                            
2024-04-24 21:03:13.145 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Aborting next disconnect
2024-04-24 21:03:13.145 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Scheduling next disconnect
2024-04-24 21:03:13.146 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Adding new client for pulseaudio sink/source Voice Assistant 1 Mikrofon. Current count: 1         
2024-04-24 21:03:13.146 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Aborting next disconnect                                                                                                                                
2024-04-24 21:03:13.766 [DEBUG] [.core.voice.internal.DialogProcessor] - RecognitionStartEvent event received

==> openhab_userdata/logs/events.log <==
2024-04-24 21:03:13.766 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'DialogRunning' received command ON
2024-04-24 21:03:13.767 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DialogRunning' changed from OFF to ON

==> openhab_userdata/logs/openhab.log <==
2024-04-24 21:03:18.559 [DEBUG] [.core.voice.internal.DialogProcessor] - RecognitionStopEvent event received
2024-04-24 21:03:18.559 [DEBUG] [.core.voice.internal.DialogProcessor] - SpeechRecognitionErrorEvent event received

==> openhab_userdata/logs/events.log <==
2024-04-24 21:03:18.559 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'DialogRunning' received command OFF

==> openhab_userdata/logs/openhab.log <==
2024-04-24 21:03:18.560 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Adding new client for pulseaudio sink/source Voice Assistant 1 Lautsprecher. Current count: 1
2024-04-24 21:03:18.560 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Aborting next disconnect

==> openhab_userdata/logs/events.log <==
2024-04-24 21:03:18.560 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DialogRunning' changed from ON to OFF

==> openhab_userdata/logs/openhab.log <==
2024-04-24 21:03:18.560 [DEBUG] [eaudio.internal.ConvertedInputStream] - Duration of input stream : 6810
2024-04-24 21:03:18.561 [DEBUG] [eaudio.internal.ConvertedInputStream] - Sound is a MP3. Trying to reencode it
2024-04-24 21:03:18.561 [DEBUG] [eaudio.internal.ConvertedInputStream] - Sound is not in the target format. Trying to reencode it
2024-04-24 21:03:18.562 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Simple TCP Stream connecting for Voice Assistant 1 Lautsprecher
2024-04-24 21:03:18.700 [DEBUG] [pulseaudio.internal.PulseaudioClient] - reading sinks
2024-04-24 21:03:19.227 [DEBUG] [pulseaudio.internal.PulseaudioClient] - reading sources
2024-04-24 21:03:19.746 [DEBUG] [pulseaudio.internal.PulseaudioClient] - Pulseaudio server 192.168.24.138: 13 modules and 2 items updated
2024-04-24 21:03:19.746 [DEBUG] [o.internal.handler.PulseaudioHandler] - Updating states of Source #0 (Module: module-alsa-card) alsa_output.usb-Jieli_Technology_UACDemoV1.0_5035811513207F1F-00.analog-stereo.monitor, muted: f
alse, state: RUNNING, volume: 100 id: volume
2024-04-24 21:03:19.746 [DEBUG] [o.internal.handler.PulseaudioHandler] - Updating states of Sink #0 (Module: module-alsa-card) alsa_output.usb-Jieli_Technology_UACDemoV1.0_5035811513207F1F-00.analog-stereo, muted: false, stat
e: RUNNING, volume: 48 id: volume
2024-04-24 21:03:22.324 [DEBUG] [seaudio.internal.PulseAudioAudioSink] - Some time to let the system play sound : 3050
2024-04-24 21:03:22.324 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Removing client for pulseaudio sink/source Voice Assistant 1 Lautsprecher. Current count: 0
2024-04-24 21:03:22.324 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Aborting next disconnect
2024-04-24 21:03:22.324 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Scheduling next disconnect
2024-04-24 21:03:22.404 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Removing client for pulseaudio sink/source Voice Assistant 1 Mikrofon. Current count: 0
2024-04-24 21:03:22.404 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Aborting next disconnect
2024-04-24 21:03:22.404 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Scheduling next disconnect
2024-04-24 21:03:50.256 [DEBUG] [pulseaudio.internal.PulseaudioClient] - reading sinks
2024-04-24 21:03:50.773 [DEBUG] [pulseaudio.internal.PulseaudioClient] - reading sources
2024-04-24 21:03:51.298 [DEBUG] [pulseaudio.internal.PulseaudioClient] - Pulseaudio server 192.168.24.138: 13 modules and 2 items updated
2024-04-24 21:03:51.298 [DEBUG] [o.internal.handler.PulseaudioHandler] - Updating states of Source #0 (Module: module-alsa-card) alsa_output.usb-Jieli_Technology_UACDemoV1.0_5035811513207F1F-00.analog-stereo.monitor, muted: false, state: RUNNING, volume: 100 id: volume
2024-04-24 21:03:51.298 [DEBUG] [o.internal.handler.PulseaudioHandler] - Updating states of Sink #0 (Module: module-alsa-card) alsa_output.usb-Jieli_Technology_UACDemoV1.0_5035811513207F1F-00.analog-stereo, muted: false, state: RUNNING, volume: 48 id: volume
2024-04-24 21:03:52.325 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Simple TCP Stream disconnecting for Voice Assistant 1 Lautsprecher
2024-04-24 21:03:52.404 [DEBUG] [ernal.PulseaudioSimpleProtocolStream] - Simple TCP Stream disconnecting for Voice Assistant 1 Mikrofon

Possible causes or ideas so far:

  1. I always get this. Is this normal and acceptable?
2024-04-24 21:03:18.561 [DEBUG] [eaudio.internal.ConvertedInputStream] - Sound is a MP3. Trying to reencode it
2024-04-24 21:03:18.561 [DEBUG] [eaudio.internal.ConvertedInputStream] - Sound is not in the target format. Trying to reencode it
  1. On the raspberry I get this error at the first moment openHAB connects to pulseaudio.

journalctl -xfu pulseaudio.service

Apr 24 20:44:55 voiceassistant1 pulseaudio[1430]: E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
Apr 24 20:44:55 voiceassistant1 pulseaudio[1430]: E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="platform-20902000.hdmi" card_name="alsa_card.platform-20902000.hdmi" namereg
_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.

The message is related to alsa_card.platform-20902000.hdmi. This is a different device which I don’t care about in the setup. Can it cause trouble anyway?

  1. openHAB seems to get some input stream. But there is no result of the interpretation.
    Duration of input stream : 6810

  2. Sometimes I get IOException while writing to from pulse source pipe: Pipe closed without any further information.


Any idea what I am missing? Help is highly appreciated. :slightly_smiling_face:

Hello,
Have you tried to set the voskstt log level to debug?
That way you can see if the transcription is running.

No other ideas at the moment.

The other logs you are sharing on point 1, 3 and 4 also happen to me so I don’t think those are the cause of the problem.

Hello Miguel, thank you for this hint. Didn’t thought of that.

Running the listenandanswer with org.openhab.voice.voskstt on default or trace shows this:

Run 1

2024-04-28 14:27:08.599 [DEBUG] [oice.voskstt.internal.VoskSTTService] - loading model

==> openhab_userdata/logs/events.log <==
2024-04-28 14:27:09.219 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘DialogRunning’ received command ON

==> openhab_userdata/logs/openhab.log <==
2024-04-28 14:27:09.219 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}

==> openhab_userdata/logs/events.log <==
2024-04-28 14:27:09.219 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘DialogRunning’ changed from OFF to ON

==> openhab_userdata/logs/openhab.log <==
2024-04-28 14:27:09.219 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:27:09.220 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:27:09.220 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:27:09.271 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:27:09.271 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:27:09.278 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:27:09.278 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:27:09.279 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:27:09.285 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:27:09.286 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:27:09.286 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:27:09.293 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:27:09.294 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:27:09.300 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:27:09.301 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:27:09.301 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:27:09.308 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:27:09.308 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:27:09.308 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:27:09.410 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein”
}
2024-04-28 14:27:09.411 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein”
}
2024-04-28 14:27:09.465 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein”
}
2024-04-28 14:27:09.466 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein”
}
2024-04-28 14:27:09.466 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein”
}
2024-04-28 14:27:09.563 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist”
}
2024-04-28 14:27:09.609 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei”
}
2024-04-28 14:27:09.609 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei”
}
2024-04-28 14:27:09.610 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei”
}
2024-04-28 14:27:09.673 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der”
}
2024-04-28 14:27:09.674 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der”
}
2024-04-28 14:27:09.702 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text”
}
2024-04-28 14:27:09.702 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text”
}
2024-04-28 14:27:09.703 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text”
}
2024-04-28 14:27:09.732 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text”
}
2024-04-28 14:27:09.733 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text”
}
2024-04-28 14:27:09.734 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text”
}
2024-04-28 14:27:09.769 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung”
}
2024-04-28 14:27:09.770 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung”
}
2024-04-28 14:27:09.792 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung”
}
2024-04-28 14:27:09.792 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung”
}
2024-04-28 14:27:09.794 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung”
}
2024-04-28 14:27:09.825 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung”
}
2024-04-28 14:27:09.826 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung”
}
2024-04-28 14:27:09.826 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung”
}
2024-04-28 14:27:09.840 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten”
}
2024-04-28 14:27:09.841 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten”
}
2024-04-28 14:27:09.865 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten”
}
2024-04-28 14:27:09.865 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten”
}
2024-04-28 14:27:09.866 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten”
}
2024-04-28 14:27:09.874 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten”
}
2024-04-28 14:27:09.875 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten”
}
2024-04-28 14:27:09.875 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten”
}
2024-04-28 14:27:09.889 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten”
}
2024-04-28 14:27:09.890 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten”
}
2024-04-28 14:27:09.914 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich”
}
2024-04-28 14:27:09.914 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich”
}
2024-04-28 14:27:09.915 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich”
}
2024-04-28 14:27:09.951 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich”
}
2024-04-28 14:27:09.951 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich”
}
2024-04-28 14:27:09.952 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich”
}
2024-04-28 14:27:10.011 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich”
}
2024-04-28 14:27:10.011 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich”
}
2024-04-28 14:27:10.044 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht”
}
2024-04-28 14:27:10.044 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht”
}
2024-04-28 14:27:10.045 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht”
}
2024-04-28 14:27:10.072 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht”
}
2024-04-28 14:27:10.073 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht”
}
2024-04-28 14:27:10.073 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht”
}
2024-04-28 14:27:10.088 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden”
}
2024-04-28 14:27:10.089 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden”
}
2024-04-28 14:27:10.089 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden”
}
2024-04-28 14:27:10.105 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden”
}
2024-04-28 14:27:10.106 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden”
}
2024-04-28 14:27:10.113 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden”
}
2024-04-28 14:27:10.113 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden”
}
2024-04-28 14:27:10.114 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden”
}
2024-04-28 14:27:10.121 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden”
}
2024-04-28 14:27:10.122 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden”
}
2024-04-28 14:27:10.122 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden”
}
2024-04-28 14:27:10.129 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden”
}
2024-04-28 14:27:10.129 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden”
}
2024-04-28 14:27:10.138 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Result: {
“text” : “ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden”
}
2024-04-28 14:27:10.138 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Final: ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden
==> openhab_userdata/logs/events.log <==
2024-04-28 14:27:10.139 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘DialogRunning’ received command OFF
2024-04-28 14:27:10.139 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘VoiceCommand’ received command ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden
2024-04-28 14:27:10.139 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘DialogRunning’ changed from ON to OFF
2024-04-28 14:27:10.140 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘VoiceCommand’ changed from fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden to ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden

==> openhab_userdata/logs/openhab.log <==
2024-04-28 14:27:10.282 [INFO ] [.openhab.core.model.script.Voice.Rec] - VoiceCommand received ein fehler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden

Run 2

2024-04-28 14:28:52.530 [DEBUG] [oice.voskstt.internal.VoskSTTService] - loading model

==> openhab_userdata/logs/events.log <==
2024-04-28 14:28:53.237 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘DialogRunning’ received command ON

==> openhab_userdata/logs/openhab.log <==
2024-04-28 14:28:53.237 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}

==> openhab_userdata/logs/events.log <==
2024-04-28 14:28:53.237 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘DialogRunning’ changed from OFF to ON

==> openhab_userdata/logs/openhab.log <==
2024-04-28 14:28:53.237 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:53.238 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:53.238 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:53.290 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:53.290 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:53.406 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:53.406 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:53.414 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:53.415 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:53.415 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:53.692 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:53.692 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:53.700 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:53.701 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:53.702 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:53.981 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:53.981 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:53.989 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:54.260 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:54.260 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:54.260 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:54.261 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:54.269 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:54.540 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:54.541 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:54.541 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:54.541 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:54.541 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:54.550 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:54.550 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:54.821 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:54.821 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:54.821 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:54.830 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:54.831 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:55.101 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:55.101 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:55.109 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:55.110 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:55.110 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:55.381 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:55.390 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:55.390 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:55.390 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:55.391 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:55.675 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:55.676 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:55.683 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:55.954 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:55.954 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:55.955 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:55.955 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:55.964 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:55.964 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:56.235 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:56.244 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:56.245 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:56.245 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:56.515 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:56.515 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:56.516 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:56.524 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:56.525 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:56.525 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:56.795 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:56.804 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:56.804 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:56.805 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:57.076 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:57.084 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:57.085 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:57.092 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:57.362 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:57.363 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:57.366 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:57.366 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:57.375 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:57.643 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:57.644 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:57.645 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:57.655 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:57.655 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:57.929 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:57.929 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:57.930 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:57.930 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Partial: {
“partial” : “”
}
2024-04-28 14:28:57.939 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Result: {
“text” : “”
}
2024-04-28 14:28:57.940 [DEBUG] [oice.voskstt.internal.VoskSTTService] - Final:

==> openhab_userdata/logs/events.log <==
2024-04-28 14:28:57.940 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘DialogRunning’ received command OFF
2024-04-28 14:28:57.941 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘DialogRunning’ changed from ON to OFF

==> openhab_userdata/logs/openhab.log <==
2024-04-28 14:29:02.358 [WARN ] [audio.internal.PulseAudioAudioSource] - IOException while writing to from pulse source pipe: Pipe closed

What’s interesting is, that it always changes between these two result every run. The two results occur in absolutely equal alternation every run.

  1. Is it normal, that the error message (in run 1) is built in this successive structure in the partial field?
    This looks strange to me.

  2. Moreover sometimes the error messages says vieler instead of fehler.
    Why is the error itself parsed like a stt input?

2024-04-28 15:56:27.699 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'VoiceCommand' received command vieler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden

==> openhab_userdata/logs/openhab.log <==
2024-04-28 15:56:27.699 [INFO ] [.openhab.core.model.script.Voice.Rec] - VoiceCommand received vieler ist bei der text erkennung aufgetreten ich habe dich nicht verstanden

It is strange, it has never happened to me. I suggest you to try with a different model. I’m going to give it a try just in case something is broken.

I stopped using vosk in favor of whisper using the add-on from this PR [WhisperSTT] Initial contribution by GiviMAD · Pull Request #15166 · openhab/openhab-addons · GitHub. If your OpenHAB host has a compatible CPU and you can give it a try it will be nice to have some feedback on it, I find it a better option than vosk.

I tried vosk-model-de-tuda-0.6-900k without success. The result is either the same of “Run 2” (partial variable always empty) or the whole openHAB instances crashes without any log output. In this case, the logs end with the loading of the model and then OH simply starts from the bottom.

I would like to try your suggested alternative WhisperSTT. How do I install the binding?

The PR only contains .java files and no .jar. The openHAB documentation only describes installing external bindings by .jar files (via the addon dir or the console).

Do I have to compile it on my own?

Another question: Do have any tip how I can test which data openHAB receives from the pulseaudio client? Like, does OH even receives any recordings?

Hello Lumen, sorry for the delay.

That sounds like an out of memory problem, but it’s difficult to know for sure without any log.

I added these console commands to troubleshoot the audio sources and the transcription [audio|voice] Add console commands to troubleshoot audio sources and speech-to-text services by GiviMAD · Pull Request #4202 · openhab/openhab-core · GitHub, so detecting a missconfiguration should get a little easier in the next version.

Yes, the best option is that you checkout the PR and build the add-on, the pipeline generates a jar each run but it expires after a while. You need Java JDK 17 and maven as described at Developer Guide | openHAB, then:

git clone -b whisperstt https://github.com/GiviMAD/openhab-addons.git
mvn install -pl :org.openhab.voice.whisperstt

If you want to avoid it I can share my jar.