OpenVoiceOS / ovos-listener

ovos-core metapackage for speech daemon
Apache License 2.0
1 stars 1 forks source link

When mycroft.conf changed the listener doesn't listen anymore #15

Closed goldyfruit closed 11 months ago

goldyfruit commented 1 year ago

If a change occurs in mycroft.conf even not related to the listener service, then the changed is detected by the listener service and the service is reloaded but after the reload the listener is not able to detect the wake word.

2023-04-18 18:04:38.442 - voice - ovos_config.config:_on_file_change:272 - INFO - /home/ovos/.config/mycroft/mycroft.conf changed on disk, reloading!
2023-04-18 18:04:39.988 - voice - ovos_listener:create_hotword_engines:337 - INFO - creating hotword engines
2023-04-18 18:04:39.992 - voice - ovos_plugin_manager.wakewords:load_module:110 - INFO - Loading "hey_mycroft" wake word via ovos-ww-plugin-precise-lite
2023-04-18 18:04:40.016 - voice - ovos_plugin_manager.wakewords:load_module:117 - INFO - Loaded the Wake Word plugin ovos-ww-plugin-precise-lite
2023-04-18 18:04:40.022 - voice - ovos_plugin_manager.wakewords:load_module:110 - INFO - Loading "wake_up" wake word via ovos-ww-plugin-pocketsphinx
2023-04-18 18:04:40.085 - voice - ovos_plugin_manager.wakewords:load_module:117 - INFO - Loaded the Wake Word plugin ovos-ww-plugin-pocketsphinx
2023-04-18 18:04:40.131 - voice - ovos_listener.mic:__init__:355 - INFO - VAD method: SilenceMethod.VAD_AND_RATIO
2023-04-18 18:04:40.133 - voice - ovos_listener.mic:__init__:361 - INFO - Creating VAD engine: ovos-vad-plugin-silero
2023-04-18 18:04:42.567 - voice - ovos_listener.mic:adjust_for_ambient_noise:976 - INFO - Silence threshold adjusted to 39.06666666666667
2023-04-18 18:04:42.823 - voice - ovos_listener.mic:adjust_for_ambient_noise:976 - INFO - Silence threshold adjusted to 40.0

I have to restart the container to make the listener listen again.

goldyfruit commented 1 year ago

Fixed for Dinkum, not sure we still need that for default listener.