Rhasspy wakes twice on multiple wake words with snowboy

Hi

I am using rhasspy on a raspberry pi 4 with 2 custom snowboy wake words (they both look similar).
Usually, it works fine. However, sometimes I could hear two consecutive wake sounds. It seems that both wake words will make rhasspy awake.

I was able to noticed that in the logs as well:

[DEBUG:2021-09-10 22:58:48,813] rhasspyserver_hermes: -> TtsSay(text='"Il est 23 heures et 58 minutes"', site_id='default', lang=None, id='bea9292c-0e76-44ef-afda-20a46fc74fe5', session_id='', volume=1.0)
[DEBUG:2021-09-10 22:58:48,812] rhasspyserver_hermes: TTS timeout will be 30 second(s)
[DEBUG:2021-09-10 22:58:48,793] rhasspyserver_hermes: Publishing 35 bytes(s) to hermes/hotword/toggleOff
[DEBUG:2021-09-10 22:58:48,793] rhasspyserver_hermes: -> HotwordToggleOff(site_id='default', reason=<HotwordToggleReason.UNKNOWN: ''>)
[DEBUG:2021-09-10 22:58:48,767] rhasspyserver_hermes: Sent 427 char(s) to websocket
[DEBUG:2021-09-10 22:58:48,765] rhasspyserver_hermes: <- NluIntent(input='quelle heure est-il', intent=Intent(intent_name='GetTime', confidence_score=1.0), site_id='default', id=None, slots=[], session_id='default-bonjourbobo-c1374242-7d1a-4b6f-a084-6971a08f5f8b', custom_data='bonjourbobo', asr_tokens=[[AsrToken(value='quelle', confidence=1.0, range_start=0, range_end=6, time=None), AsrToken(value='heure', confidence=1.0, range_start=7, range_end=12, time=None), AsrToken(value='est-il', confidence=1.0, range_start=13, range_end=19, time=None)]], asr_confidence=1.0, raw_input='quelle heure est-il', wakeword_id='bonjourbobo', lang=None)
[DEBUG:2021-09-10 22:58:42,763] rhasspyserver_hermes: <- HotwordDetected(model_id='bonjourbobo', model_version='', model_type='personal', current_sensitivity=0.38, site_id='default', session_id=None, send_audio_captured=None, lang=None, custom_entities=None)
[DEBUG:2021-09-10 22:58:42,755] rhasspyserver_hermes: <- HotwordDetected(model_id='bonjourbobonewv1', model_version='', model_type='personal', current_sensitivity=0.44, site_id='default', session_id=None, send_audio_captured=None, lang=None, custom_entities=None)

my configuration is as follows:

"wake": {
    "snowboy": {
        "audio_gain": "4",
        "model": "bonjourbobo.pmdl,bonjourbobonewv1.pmdl",
        "model_settings": {
            "bonjourbobo.pmdl": {
                "apply_frontend": false,
                "audio_gain": "4",
                "sensitivity": "0.38"
            },
            "bonjourbobonewv1.pmdl": {
                "apply_frontend": false,
                "audio_gain": "4",
                "sensitivity": "0.44"
            }
        },
        "sensitivity": "0.38,0.44"
    },
    "system": "snowboy"
}

I am using hermes mqtt, but disabling will not help. Do you know what might cause this? Could we implement something such as ‘sleep’ as soon as the hotword has been detected?

I am btw using rhasspy 2.5.11 on a raspberry pi 4 (64bit) with respeaker 4.