Does anyone have the Rustpotter working?

I wanted to use wake world (angelika). But I can’t do it at all.

To train the model, I recorded 62 files ([angelika]001.wav, [angelika]002.wav…), with my word and 172 files with house noise ([none]noise001.wav, [none]noise002.wav…). Folder: train.
I also recorded 19 files with voice and 43 with house noise for the test with a similar naming scheme. Folder: test.

Trained the model:
rustpotter-cli3 train -t small --test-epochs 1 --epochs 20 -l 0.03 --train-dir train --test-dir test angelika.rpw

I’m testing and my word is not determined
rustpotter-cli3 spot -d -a 0.3 -t 0.52 -s p95 -m 6 -g --gain-ref 0.019 -b --low-cutoff 1000 --high-cutoff 1500 angelika.rpw
I pronounced the word in different manners, trying not to repeat the intonations.
For noise, I used different house sounds, as well as a few examples of silence.

What am I doing wrong?

I have a few questions:

  1. How should I record a word: pronounce it the same way or using different intonations. How many times?
  2. How is my family supposed to use this word if they were not involved in the recording?
  3. It seems to me that the noise and silence at home is the same for everyone, are there any ready-made wav files with noise?

You are more likely to get the answers you need on a rustpotter forum. This isn’t really directly related to openHAB and there are few experts on rustpotter here on this forum.

But developer of binding and tools is on this forum!

The developer of the binding isn’t the developer of rustpotter itself. If your problem was getting the binding to work even I could probably help. But this is a problem configuring rustpotter itself independent of OH and the OH binding. Making a service or tool work with OH does not require one to be an expert in all aspects of that tool. You may get some help, but you are far more likely to get the help you need from experts in rustpotter.

Author of the binding identified himself as an expert of rustpotter.

He has done a lot for openhab and wrote offline and online utilities for rustpotter.
Unfortunately, his online help is not exhaustive, so I ask him these questions here.
The author of this application is the only one who understands this.
Also, maybe someone from the community has already done it and knows.
I want to hear from the author or people who have tried the binding.

I also asked about this topic outside this forum, of course.

Let’s get to the point, have you tried it or not?
Do you have any real solutions to my questions?

No, I don’t use rustpotter nor do the majority of OH users.

No because they are not OH specific questions.

In the likely event that you do not get answers from anyone on this forum, asking somewhere that has more rustpotter experts is where you need to go. That’s all I’m saying.

2 Likes

That’s why I’m not expecting your answer, but the answer of an experts or the answer of a minority that uses openhab rustpotter binding.

Hi Max,
yes, I have used/played around with rustpotter it worked but I was not super happy with it.
so one question I have for you if you load your file up into the online demo tool
https://givimad.github.io/rustpotter-worklet-demo/
Does it work at all for you there?
What does it show with your score when Max Min AVG and P25 P50 and P95
One of the biggest challenges I had was getting it to work with different quality microphones and gain level from being across the room.
I started with one of the defaults hey home and (en-US) everything went downhill from there as soon as I tried teaching it a new word. I went through all the same hoop jumps you did and in the end if I fiddled around with all the delays gain levels and set match probability low I got a half random match pattern. I think it is doable, but you likely will need to do all your recordings using a very high-quality microphone in a quiet echo free room and then tweak the tolerances for match to get a acceptable solution.
Take openHAB completely out of the mix first and once you can make the demo site work reliably then go back to openhab intgration is my advice.

Hi! Yes, I have everything exactly the same as you.
Let’s say I didn’t even get to openHab.

Command line utilities were enough to check everything. My success was 100% the same as yours.

Yesterday the respected author answered me and said that he is working on a significant improvement of Rustpotter.
I hope everything will be much better in the new versions.

We need to wait!