VoxCommando

Help and Support (Using VoxCommando) => One on one support => Topic started by: krysn95 on May 15, 2020, 05:40:48 PM

Title: Hungarian recognition and TTS using Google
Post by: krysn95 on May 15, 2020, 05:40:48 PM
Hi...Im totally beginner so sorry for the lame question but I can not make enable the GTTS plugin in VC.

I have got a freshly installed VC 2.3.0.4 and probably i have got some issue with the Microsoft speech platform, because when I try to launch the general indos speech recogniton it says "does not supported on your language"

My windows system is in Hungarian language....

Any idea ho can I activate the GTTS plugin?

Thank you in advance!
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on May 15, 2020, 06:29:21 PM
I don't think the issue is with the GTTS plugin.  You first need to be able to run VoxCommando.

VoxCommando will not run unless you have a working speech recognition engine.  Even if you plan to use Google you first need to have something that will allow VoxCommando to run because it was not designed to work with Google and using Google's web based recognition is a bit of a hack.

For the regular version of VoxCommando it uses your Windows desktop speech languages and only works with English, French, German and a few other languages.

If you can't or don't want to install one of those Windows system languages then you need to use VoxCommando SP.  In that case you will need to install the Windows Speech Platform and at least one language, even if you do not intend to use that language.

Note that the GTTS plugin is for Text to Speech and has nothing to do with speech recognition.  Using Google for speech recognition is based on the TCP plugin.

https://voxcommando.com/mediawiki/index.php?title=Version_2#Choice_of_speech_engines
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 17, 2020, 06:40:51 AM
Thanks a lot for your helpfull feedback!

My windows sytem language is english (win 7 home preimum 64bit), the regular win speech recognition is available and I tried to launch the all the four VC version but running only the VoxCommandoSP32.exe and eben if I marked the GTTS plugin, it is not visible in the plugin menu.

Currently im using the trial version.

Do you have any idea hat is the problem?

My goal is to running the VC with GTTS and TCP Google speech recog.

Thank you in advance..all of your supports!

Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on May 17, 2020, 07:59:55 AM
Hi krysn95,


I think I have an idea of the problem. (I assume that in VC you also get some errors on startup)


Before you enable the GTTS plugin in VC you have to follow the steps in this post from James at first:   https://voxcommando.com/forum/index.php?topic=2906.msg24588#msg24588 (https://voxcommando.com/forum/index.php?topic=2906.msg24588#msg24588)


- otherhise you will run exact in the problem you allready have.


Kalle
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 18, 2020, 04:35:25 PM
Firstly thaks a lot! It worked! Finally the GTTS plugin available...but is it possible that the Hungarian language not appear in the list?

in the link below the Hungarian also chooseable
https://cloud.google.com/text-to-speech/
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on May 18, 2020, 04:57:08 PM
Try to enter hu for the language code.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 18, 2020, 05:33:25 PM
absolute great work  ::bow

Thank you very much!!

The GTTS (Google Cloud key ill be available after the one year trial also?)
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on May 18, 2020, 07:08:26 PM
I have no idea.

If you know someone who works at Google you can ask them.  :biglaugh
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 20, 2020, 07:27:02 PM
PLease let me ask one more thing
(I know that probably this is not the most suitable topic, so If I should move somewhere just let me know)

So, Im using the VC with TCP Google speech and sometimes the commands just not received from VC side. I mean, the mic understand me, I see exactly the right words inside the Google speech window (what is launched by the TCP) but the VC is just simply not receiving the order.

Do you have any idea what could be the problem? Maybe something with the ports?


My other beginner question is how can I use the voice commands in chain and how can I trigger a command even is if the key words are just the part of the whole sentence.
Thank you for your help, and for the helpfull patience!
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on May 21, 2020, 08:58:03 AM
Please watch the entire video below:

https://youtu.be/zFwjHrueJXI

Then if you still need help, first review this page to make life easier for everyone.

https://voxcommando.com/mediawiki/index.php?title=Getting_support
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 21, 2020, 05:34:58 PM
Thanks again for your help. I swear that I rewatched the whole video, and Im also tried to search in the forum but I still do not know how can I use the voice commands in chain and how can I trigger a command even is if the command sentence or words are just the part of the whole recognized speech.

(I hope my question is understandable..it is hard to be a beginner:D)

Thank you!
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on May 22, 2020, 10:38:13 AM
I'm not sure I really understand what you are asking.

For "chaining" commands you normally just give one command, wait a second or two and then give another command.  Is there something else you are looking for here and what purpose does it serve?  Try to be specific and give examples of what you want to do and why.

Quote
how can I trigger a command even is if the command sentence or words are just the part of the whole recognized speech
For this I really don't understand what you mean.  Again if you can give some examples it will probably help a lot.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 22, 2020, 04:46:50 PM
Yes, sorry I was not clear.


The exact command is just the part of the recognized sentence question


For example, if the exact command is--> "Switch the TV on"
Then, how can I launch with this sentence--> "Oh my program is starting, please switch the TV on for me!"

(the point is that I can say anything, till my sentence is include the right phrase)





Command chain question:

(Actually this is almost the same like the previous question)

So, for example:

Command #1--> "Switch the TV on"
Command #2--> "Turn the dinnig room ligh off"

My question is, How Can I launch this to command in one order?--> "Switch the TV on and turn the dinnig room ligh off"



And please let me ask another important question...
Is it possible to use the Amazon Echo or Google Home devices, as a microphone with Google speech/TCP plugin?

Thanks jitterjames!
Title: Re: Hungarian recognition and TTS using Google
Post by: nime5ter on May 23, 2020, 08:23:42 AM
Quote from: krysn95
And please let me ask another important question...
Is it possible to use the Amazon Echo or Google Home devices, as a microphone with Google speech/TCP plugin?

No. Both those devices work with VC, but only via their own integrated cloud-supported speech recognition platforms. Those platforms then send the recognized speech as text to VC. Neither of these devices support Hungarian yet, to my knowledge. If they do, then that would be an option for you.
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on May 23, 2020, 08:50:44 AM
Although Google home does not support many languages, google assistant does so it might be possible using your phone:
https://www.globalme.net/blog/language-support-voice-assistants-compared/
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on May 23, 2020, 08:54:15 AM

The exact command is just the part of the recognized sentence question[/b]

For example, if the exact command is--> "Switch the TV on"
Then, how can I launch with this sentence--> "Oh my program is starting, please switch the TV on for me!"

(the point is that I can say anything, till my sentence is include the right phrase)

This is not possible unless you create voice commands that can optionally include the extra chit chat by editing the input phrases and payloads.

You might be able to babble before your command if you use a prefix to identify the beginning of a command.
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on May 23, 2020, 09:09:26 AM
Command #1--> "Switch the TV on"
Command #2--> "Turn the dinnig room ligh off"

My question is, How Can I launch this to command in one order?--> "Switch the TV on and turn the dinnig room ligh off"

Although you can theoretically accomplish this by using the regular expression filters to identify a connecting phrase such as "and" (see the video) it is important to note that any commands that already included that phrase will be broken.

So for example if you said "Add meet and greet to my calendar" and your connecting phrase was "and", this would be broken into two commands:
CMD 1: "Add meet"
CMD 2: "Greet"
And neither command would work correctly.

Maybe this would not be a problem for you depending on your setup but ideally you should use a more unique connecting phrase such as "and then" or "and also".

Personally I think it's a lot easier to just say one command, wait a second and then say the next command, but if you want to try it I can give you an example of how to set this up in English.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 23, 2020, 12:18:22 PM
As always, thanks!

Can I read somwhere a bit more about the optionally chit chat or "discussion/AI feeling" possibilities?

My other question is it possible to use more than one Voxwav microphone?

(My idea is to use 3 or 4 dedicated android device, around the house, with external microphone and running (always on) Voxwav pro...is it possible?)
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 23, 2020, 12:33:56 PM
and my other issue is with the Voxwav trial.
According to the error: "failed to connect to port 33339 after 6000ms"

Im enabled the TCPmic plugin, but probably something not okay with the port...
A tried another ports also but the error is the same...any idea?
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on May 23, 2020, 05:23:56 PM
As always, thanks!

Can I read somwhere a bit more about the optionally chit chat or "discussion/AI feeling" possibilities?

My other question is it possible to use more than one Voxwav microphone?

(My idea is to use 3 or 4 dedicated android device, around the house, with external microphone and running (always on) Voxwav pro...is it possible?)
VoxWav is a microphone for use with one of the VoxCommando speech recognition engines only.  So if you want to speak Hungarian don't bother with VoxWav.
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on May 23, 2020, 05:24:49 PM
Can I read somwhere a bit more about the optionally chit chat or "discussion/AI feeling" possibilities?

Yes that is what the Wiki and Forum are for.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 23, 2020, 07:11:12 PM
VoxWav is a microphone for use with one of the VoxCommando speech recognition engines only.  So if you want to speak Hungarian don't bother with VoxWav.

Oh I see:(
Than what do you think, what could be the solution for a handsfree, always listening home control system?
Should I use somehow a multi microphone system with one VC center pc
or should I build 4-5 indepedent mini windos pc with their own microphone and VC?

(I red eveyrthing in wiki and in the forum in connection with the mic topic..but I still not find the solution with the Google Speech TCP configuration...)

...or would it be possible to use somehow the Google speech TCP with another independetn device also?
In this way, the 2 indepedent mic source could send the recognized speec in the VC...is it Scifi?
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on May 24, 2020, 07:21:50 PM
I don't really know the answer. I have never tried to create a whole home speech recognition system in a language that most systems do not support.

Have your tried to use Google assistant in Hungarian? Does it work well?
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 25, 2020, 02:16:29 AM
Yes, the Google assistant not bad, but VC much more professional, responsive, flexible and better.

Actuall the entire software genius.. the whole VC with the Google Spech recognition TCP together with the GTTS is absolutely perfect.

The "only" challenge is to find the way of the always listening, multi microphone solution.

You have much more experiencre and knowledge..maybe you have idea: How can I give another microphone to the Google speech Chrome page, or how can I use 2 or more Google speech chrome page with the same VC but with another devuce?

(maybe with an UDP sender,,or with som ekind of TCP trick?)

It must be a way...and Im so excited to find...Thanks for yout ideas, and help!!
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on May 25, 2020, 04:51:20 AM

"Many roads lead to Rome", the difficulty or rather the obstacle in your case is the Hungarian language recognition. Some cheap Amazon Dots with the Voxcommando Skill would have been the easiest, but unfortunately they do not understand Hungarian.
There are microphone systems (conference microphones) that would serve your purpose - but they are not cheap either. So it depends very much on your budget. Here is a suggestion for a microphone system which you can often find on ebay:


https://www.ebay.de/itm/Revolabs-Fusion-8-Channel-Wireless-Microphone-System-mit-8-Mics-01-8FUSIONEU-NM/114231055177?_trkparms=aid%3D1110001%26algo%3DSPLICE.SIM%26ao%3D1%26asc%3D20131231084308%26meid%3D0259af58ccc1421b9489761a09bdf1bb%26pid%3D100010%26rk%3D1%26rkt%3D12%26sd%3D114231052877%26itm%3D114231055177%26pmt%3D0%26noa%3D1%26pg%3D2047675&_trksid=p2047675.c100010.m2109




This is a very high quality system, which normally costs several thousand euros. The range per microphone in the house through walls etc. is at least 25 meters and more.
I myself have used and tested such a microphone with Voxcommando.





I hope that stimulates your imagination.


Kalle
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 25, 2020, 06:58:30 AM
Thanks Kalle to sharing me this video!

How far can understand you this microphone?
The 8 mic can working together (different point of the house)?

Do you have any idea how could connect any other device (with microphone) throught the TCP plugin?
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on May 25, 2020, 07:37:11 AM
"how far can understand you this microphone?"  -  These are near field microphones for wearing or placing directly in front of you.
"the 8 mi can working together (different point of the house)?" -    Yes, you can see on the ebay link a base station with a lot antennas - this base has to be connected to your VC computer

RevoLabs is now Yamaha (if I understand it right) - so this System with the Omnidirectional Mic is what you're looking for (to place it in a room and speak from any direction) but no guarantee that it work as you expect.

https://youtu.be/M8L9FissE6Q?t=30 (https://youtu.be/M8L9FissE6Q?t=30)


I have some used spare RevoLabs Solo Mic (the one you have seen in my video, but it is only a single Mic which has his own base-station) which I can sell for a small ammount of money- in this way you can test it
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 25, 2020, 08:24:20 AM
Thanks!
Yes, this multi omnidirectional mic system could be a solution, but maybe it could be easiert to use a seperate device to connect the Google speech recognition Chrome page (opened by VC TCP plugin)

4.25 in this video

https://m.youtube.com/watch?v=zFwjHrueJXI&t=188s

Do you haver any idea how could I ..

A) send the voice to the Google speech recognition page from  any other (Android) device

B) Send the Google recognized speech to the VC from an other (Android) device
:)
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on May 25, 2020, 08:28:22 AM
Yes, the Google assistant not bad, but VC much more professional, responsive, flexible and better.

The reason I asked if you have tried Google assistant in Hungarian is that you can use it as an input to VoxCommando using IFTTT.  As far as I understand it, Google Assistant is using the same technology as the Google speech recognition in your browser.  Using this method is a bit slower but it allows you to use mobile devices like phones and tablets.  (Mobile devices do not work with the TCP plugin web browser method.)

PegLegTV explains how to do it here:
https://voxcommando.com/forum/index.php?topic=2881.0
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 25, 2020, 09:26:56 AM
Sorry I thought you are talking about the Google now (what is use the same recog engine, but the Google Home assistant still not available in hun)

Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on May 25, 2020, 09:44:01 AM
So are you saying that Google assistant on your phone does not support Hungarian?

In that case there is no way you are going to be able to use your phone.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 25, 2020, 04:16:21 PM
Guys..maybe it is totally bad idea, but according to the wiki:
(https://voxcommando.com/mediawiki/index.php?title=Google_Speech)

"Web page must be running on the same computer as VoxCommando, but there is a workaround (info to come, or ask on the forum)."

So, what if I launch the Google Speech page from my phone, but instead of the VC pc link
(http://127.0.0.1:8080/html/ggspeech/index.html?wsPort=8074)

on the network
(http://192.168.88.xxx:8080/html/ggspeech/index.html?wsPort=8074)

In this way could be possible to use 2 or more Google Speech web page in the same time from different devices, on the same port, to send the recognized speech into the same VC?
 :)
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on May 25, 2020, 05:07:35 PM
It's OK to connect to VC from multiple browsers running on different computers but I don't think it will work on an Android device.  It only works if you are running chrome on a PC.

You can do a test here: https://www.google.com/intl/en/chrome/demos/speech.html

I don't think it will work from an Android device.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 25, 2020, 05:15:39 PM
Wow it is work perfectly on my Android the phone, thankis for the test link!
:)))

Please tell that it is possible to use 2 or more Google Speech web page in the same time...

Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on May 25, 2020, 05:17:01 PM
I just tested and it does seem to work from my phone.  I'm not sure if the security work-around will work on a mobile device though.  I need to check.

One thing to keep in mind is that you will be constantly uploading audio from all your devices to the cloud.  It's a lot of bandwidth.  Unlike Google Home or Alexa which uses a wake word, this method is streaming everything constantly.  Not ideal really, and I'm not sure what would happen if you tried to use this all the time on multiple devices.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 25, 2020, 05:24:21 PM
Sure but it seems the perfect way for me..exactly what Im lookig for..
(one windos PC center with VC and 3-4 android device with constantly listening mic)

So..thanks for your help..please just let me know, how can I step closer to this solution ^-^
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on May 25, 2020, 05:43:36 PM
It seems to work.

On any device running Chrome you just need to open the web page that is hosting the Google Speech UI on VoxCommando.

Normally we use this address: http://127.0.0.1:9091/html/ggspeech/index.html?wsPort=33222

Replace the 127.0.0.1 with the IP address of the computer running VoxCommando and open it on your phone in Chrome.  You should see the web page but the microphone won't work yet. The local IP will probably be something similar to 192.168.0.102

You need to change settings on any devices that you want to connect to this page, to tell it to allow using Google Speech even though it is not a secure connection (http instead of https).  I think this is to protect you from malicious site on the internet trying to listen to your microphone.

-Open Chrome and visit: chrome://flags/#unsafely-treat-insecure-origin-as-secure
-Enable it. And click relaunch.
-In the box where you specify origins to treat as secure enter your Address and port.  It will look like this: http://192.168.0.102:9091
-Click relaunch.
-Double check that the insecure origins feature is enabled and that the address is sill in the box.

Now you can try that URL again and it should work.
example: http://192.168.0.102:9091/html/ggspeech/index.html?wsPort=33222

On my phone I noticed that it was constantly restarting and beeping.  It may depend on the ambient noise and the sensitivity of your microphone.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 25, 2020, 06:21:33 PM
It worked! But yes my phone mic listenning (and beeping) also restarting constantly..any idea?
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on May 25, 2020, 06:47:02 PM
Turn the volume on your phone to 0.

I don't think there is any way to stop the beeping.

Restarting constantly is how it works.  It is the only way to force it to be always listening, it is something that it was not designed to do.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 25, 2020, 07:13:45 PM
Ok...Im really gratefull for your creativity! It is amazing..Im gona test the parts but hipefully it will be okay...

Theoretically how may device can connect in this way? Is it possible to use 3 or 4 android phone with this trick?

Oh and one more thing...any idea how can the VC identify the source of the command?
(I mean is it possible to identify device 1; device2....inside the history it seems the same)
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on May 26, 2020, 08:36:02 AM
I'm not aware of any theoretical limit to the number of clients but the more complicated your setup the more likely it is that things will go wrong.

There is currently no way to know which client a command is coming from. It might be possible for me to create an action to get the IP address of the last client to send a command string to the TCP plugin.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 26, 2020, 03:47:32 PM
aaaand guys, does anybody has any epxerience with omnidirection microphones in "chain"?

Im thinking actually something like this

https://www.amazon.com/CM-1000USB-Conference-Microphone-ECS-3-5CM-Microphones/dp/B01MXY82LD#HLCXComparisonWidget_feature_div

Maybe it could be better solution for the hands free, full apartman available VC than the smartphone solution.

(Unfortunatelly it seems the Chrome denie the mic after 10-15min)
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on May 26, 2020, 05:28:15 PM
The price is really good, because only one cm1000 cost normally 120 EUR in Germany. I have testet so manny microphones, but not this.
The biggest problem for such a mic is a lot of noise in a room (music, talking people).
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 27, 2020, 04:11:57 AM
And how do you see, is it possible to solve to continuesly listening the Google speech recog throug the Android Device Chrome after the first 10-15 min?
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on May 27, 2020, 09:00:41 AM
Obviously Google does not want this and it is perfectly understandable why.

Probably the only way to solve the problem is to not do it. Instead if you can find a way to turn the microphone on only when you need it.

VoxCommando can tell the Google speech webpage to turn the microphone on and off. The problem is to know when VoxCommando should do this. One option might be a motion sensor.

Realistically, you probably need to forget about whole-house, hands-free solutions until devices like Google home or Echo support your language. Even if you find a way to make it work, it will probably not be reliable enough to really be useful and pleasant to use.

If you are willing to wear a wireless microphone then there is probably a way to do it using VoxCommando only.
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on May 27, 2020, 10:44:32 AM
I‘m absolute with James - you will have more problems than fun.
The wearable solution (Revolabs or similar) is the best.


Kalle
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 27, 2020, 04:56:40 PM
Yes, probably you are right, so I can accept this.

However the basic configuration (VC with Chrome Google Speech TCP plugin) works very well, so as I see, I just need to find the right microphone solution.

(for example something like this: https://www.amazon.com/CM-1000USB-Conference-Microphone-ECS-3-5CM-Microphones/dp/B01MXY82LD)

According to your experience and opinion, how do you see..this configuration could be enough reliable and sensitiv?

thanks guys!
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on May 28, 2020, 11:06:00 AM
I have no idea if these microphones are any good but I think it's unlikely that you will be able to chain them between multiple rooms.  You would need to run a very long 3.5mm cable to daisy chain them and the quality loss on a cable like that will probably be very high.  Plus you will need to make holes in the walls etc.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 29, 2020, 05:02:34 PM
Guys, does anybody tried to run the VC on Raspberry?
2gb ram is enough to run continuesly the VC and the Chrome page under windos 10?
(according to my laptop this setup using 1,5gb with win 7)

(Im thinking to build a small raspberry assistant)

thanks!
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on May 29, 2020, 05:59:19 PM
I have read about that it is possible to install Windows 10 on a Pi3+ or better Pi4. It will run on a Pi, but it will take 10 seconds and more to open only a browser window or context menu.
So I guess VC and speech recognition will not really works.


And here the answer from the pi forum


https://www.raspberrypi.org/forums/viewtopic.php?t=151859 (https://www.raspberrypi.org/forums/viewtopic.php?t=151859)
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 29, 2020, 06:07:26 PM
thanks again..you know everything...than I will find another way...
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on May 29, 2020, 06:56:09 PM
By the way, there are some tiny Windows machines available which you can use for such a project.
Example: Zotac Pico

https://www.zotac.com/de/product/mini_pcs/zbox-pro-pi335-pico (https://www.zotac.com/de/product/mini_pcs/zbox-pro-pi335-pico)

https://www.zotac.com/de/product/mini_pcs/pi330-1 (https://www.zotac.com/de/product/mini_pcs/pi330-1)
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on May 29, 2020, 07:37:56 PM
Yes the zotac is great just a bit too expensive..im looking for something under ~100$.
The VC working only full win 7/8/10, isnt it?

Do you have any other cheap mini pc suggestion what have lo consumtion and can run VC?

Thanks Kalle
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on May 30, 2020, 04:14:10 AM
There are a lot of mini PC on Amazon or ebay availabe.

I have used VC on a Mini PC with Intel Atom Z8350 for a long time. The power consumption of these devices is often below 10 watts, which is a very good value. The only annoying thing about Win 10 are the constant updates.
But I recommend at least 4GB RAM and 64GB eMMC.
Here a example on Amazon: https://www.amazon.de/ACEPC-T11-Pro-Prozessor-Anschlüssen/dp/B07Q9JRM5F/ref=psdc_427954031_t2_B07H884WQT (https://www.amazon.de/ACEPC-T11-Pro-Prozessor-Anschlüssen/dp/B07Q9JRM5F/ref=psdc_427954031_t2_B07H884WQT)


Changed the link with a better one  ;)
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 01, 2020, 03:39:04 PM
Hi guys!

I can not say how excited I am.
On the weekend I tried to build up a simple demo setup and actually it seems work very well.

The setup:
Now im using the Google speech recognition TCP plugin together with the GTTS plugin (both on Hungarian language)

For the hands free always listening part, I made a small pc what is running win 10 and keep open the Chrome page with the Google speech, on the right IP port.


So, to step forward, please let me ask some help again:

1)
After 10-15 command, the VC just stop working and freez. After arestart works again and I know that the trial version has 40 command limit, but there is no any error message, just stop working.
The pro version will solve this?

2)
Now Im using one central VC what have an own mic and another mini pc what is just "listenning" with another own mic, throug the IP port. This configuration can work together with 4-5 "listening" pc also?

3)
How can I identify wich lsitenning mini pc sent the command to the VC?
Should I use another VC on the "listening" pc and sending the command somehowe to the center VC?
(Or there is another more simpple way also?)

Guys..thanks a lot!
Im really gratefull!
 :D


Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 01, 2020, 04:59:46 PM
1)
After 10-15 command, the VC just stop working and freez. After arestart works again and I know that the trial version has 40 command limit, but there is no any error message, just stop working.
The pro version will solve this?
If you have used all your commands, you should normally get a message telling you so.  It should not "stop working".  If VoxCommando freezing this is not expected behaviour.  I would need to do some tests but probably buying a license is not going to solve this one.  Unfortunately "stop working" could mean a lot of different things.  Is VC frozen?  Is VC responding to normal voice commands?  In other words, is it just the Google speech that is not working or are other parts of the program not working.
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 01, 2020, 05:00:56 PM
2)
Now Im using one central VC what have an own mic and another mini pc what is just "listenning" with another own mic, throug the IP port. This configuration can work together with 4-5 "listening" pc also?
You already asked us this one and the answer was "yes".
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 01, 2020, 05:03:56 PM
3)
How can I identify wich lsitenning mini pc sent the command to the VC?
Should I use another VC on the "listening" pc and sending the command somehowe to the center VC?
(Or there is another more simpple way also?)

You already asked this one too.  As I said before, there is currently no way to know which PC sent recognized speech from the Google Web page to VC.

Yes, if you run a complete installation of VoxCommando on another machine then it's possible to relay the commands to another PC running VC along with information about which PC is sending the command.  Then you have to figure out how to use that information.
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 01, 2020, 05:04:50 PM
Also, I'm glad to hear you are having fun!. :D
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 01, 2020, 05:26:20 PM
If you have used all your commands, you should normally get a message telling you so.  It should not "stop working".  If VoxCommando freezing this is not expected behaviour.  I would need to do some tests but probably buying a license is not going to solve this one.  Unfortunately "stop working" could mean a lot of different things.  Is VC frozen?  Is VC responding to normal voice commands?  In other words, is it just the Google speech that is not working or are other parts of the program not working.

The Google Speech working (the Chrome page still recognizing the speech), just the VC frozen after ~20 command and not react to anything.
The situation is the same on the Win7 and Win 10 also. I can not even close or restart the VC just with task manager or ith complet windows restart. Am I doing something wrong? Maybe the ram is not enough (4gb on win7; 2gb on win 10)?
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 01, 2020, 05:29:09 PM
You already asked this one too.  As I said before, there is currently no way to know which PC sent recognized speech from the Google Web page to VC.

Yes, if you run a complete installation of VoxCommando on another machine then it's possible to relay the commands to another PC running VC along with information about which PC is sending the command.  Then you have to figure out how to use that information.

In case of this (complete installation of VoxCommando on another machine) how Can I indetify the source pc of the command?
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 01, 2020, 05:50:21 PM
Can you please test a few times and tell me if it always happens after 20 commands?  Or is it more like after 20 minutes?

Also please send a log file.  You can send it by email if you prefer.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 02, 2020, 04:59:51 PM
Can you please test a few times and tell me if it always happens after 20 commands?  Or is it more like after 20 minutes?

Also please send a log file.  You can send it by email if you prefer.

sure, thanks!
The time is no problem..so it is not after 20 minutes.
Usually after ~20 command...

Ho can I get the log file if the program is frozen?
(sorry..im still beginner)
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on June 03, 2020, 02:12:03 AM
Go to the Options menue in VC and check mark the "enable Log" if it is not enabled.
If the Log was allready enabled, you will find the logfile (voxLog.txt) in your VC mainfolder.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 03, 2020, 05:21:56 PM
great, thanks, Im find the voxlog.txt.


Does anybody have experience with the Spotify windos app?
Is it possible to control throug VC? ^-^
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on June 03, 2020, 05:58:41 PM
You can control the Spotify App with VC mouse and button commands
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 03, 2020, 06:51:07 PM
You can control the Spotify App with VC mouse and button commands

as I thought, thanks:-)
Could you help me how can I send directly the serched music command (or the shortcuts) directly into theSpotify app?

Thanks a lot!
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on June 04, 2020, 03:52:21 AM
To the desktop App or the Webplayer?


I have delete the code, because I had no time to correct the misstakes  :bonk


@James: XY coordinates work better than shortcuts, because they do not always work reliably.
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 04, 2020, 10:01:30 AM
I think you need to explain how to set all the map table variables because krysn95 is a new user and even I was a bit confused about how this works at first.

Personally I would hard code the XY values into the commands instead of using a map table, unless you expect these values to be changing a lot.

I think that if the desktop app is being used then it makes a lot more sense to use Keyboard shortcuts, so krysn95 should let us know what they are using.

Finally the RegEx pattern Kalle shows in his example will "hijack" all voice commands coming from Google speech so none of your commands will work.  No matter what you say it will always execute the spotify search command.

Instead you should use a RegEx pattern like this:
Pattern:   Spotify.search (.*)   
Event Name: Spotify.Search
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 04, 2020, 06:17:42 PM
wow guys:)

Im using the Spotify dektop app but im affraid, i need a bit more detailed tutorial.

Im already checked the shortcuts in the Spotify desktop app:

Search: CTRL+L
Play / Pause: Space
Next song: CTRL + right arrow

thanks a lot for the help!
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on June 04, 2020, 06:34:58 PM
Yes we know this, but it will take some time to write down a tutorial.
Please try the shortcuts in your Spotify Desktop App with your keyboard and check if they work as expected.

It is not a big thing to let VC later this do for you - only a bit hard to find all the needed steps. So after CTRL+L let you do a search, but then the spacebar is not enough to let spotify play the song - there are one or more "tab" or a mouse click required.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 04, 2020, 08:41:41 PM
Ok:)

Then just a short question:


How Can I putt the searched music title into the Spotify searc bar?
(how can I take out thsi part from the command)
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 05, 2020, 10:07:59 AM
use a RegEx pattern like this in the TCP Google Speech settings:

Pattern:   Spotify.search (.*)   
Event Name: Spotify.Search

then the event will have a payload with all the words that you said after "Spotify Search"

https://voxcommando.com/mediawiki/index.php?title=Events

https://voxcommando.com/mediawiki/index.php?title=Payloads

https://www.youtube.com/watch?v=zFwjHrueJXI&feature=youtu.be&t=754 (https://www.youtube.com/watch?v=zFwjHrueJXI&feature=youtu.be&t=754)
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 05, 2020, 10:48:03 AM
So if you are using the Spotify desktop app in Windows set the regex rule as above and then something like this might work for you.

note: it almost seems like Spotify has gone out of its way to make this difficult.  They don't even have a play, or pause, or stop command.  Just a toggle for play pause...  :bonk

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.3.0.5-->
<command id="785" name="+Spotify Search" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>TTS.Speak</cmdType>
    <params>
      <param>Searching for {1}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>InputKeys.Send</cmdType>
    <params>
      <param>{CONTROL}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <if ifBlockDisabled="False" ifNot="True">
    <ifType>ProcessRunning</ifType>
    <ifParams>spotify&amp;&amp;</ifParams>
    <then>
      <action>
        <cmdType>Launch</cmdType>
        <params>
          <param>C:\Users\james\AppData\Roaming\Spotify\Spotify.exe</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
      <action>
        <cmdType>VC.Pause</cmdType>
        <params>
          <param>2500</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else />
  </if>
  <action>
    <cmdType>Window.Focus</cmdType>
    <params>
      <param>spotify</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Window.Maximize</cmdType>
    <params />
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>VC.Pause</cmdType>
    <params>
      <param>500</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>InputKeys.Send</cmdType>
    <params>
      <param>{CONTROL}({L})</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>VC.Pause</cmdType>
    <params>
      <param>500</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>InputKeys.TextEntry</cmdType>
    <params>
      <param>{1}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>VC.Pause</cmdType>
    <params>
      <param>500</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Mouse.MoveAbsolute</cmdType>
    <params>
      <param>340,240</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Mouse.LeftClick</cmdType>
    <params />
    <cmdRepeat>1</cmdRepeat>
  </action>
  <event>Spotify.Search</event>
</command>
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on June 05, 2020, 01:01:36 PM
Good job James  ::bow

I think the absolute position 340,240 for the mouse click depends on the Monitor resulution - I have a 32" and use 680,240.
To bad that we can't use the RoboB to control the webplayer  :'(




@krysn95    You need to adjust the path to Spotify to your path in the command above
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 05, 2020, 02:07:42 PM
I think the absolute position 340,240 for the mouse click depends on the Monitor resulution - I have a 32" and use 680,240.
To bad that we can't use the RoboB to control the webplayer  :'(


Yes, it's just an example.  Hopefully it can work with minor adjustments but it will need to be modified.  For one thing it is all in English, not Hungarian!
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 05, 2020, 06:05:31 PM
amazing, it works
Thanks a lot!

Now Im workign on the detailed setup, while Im learning more and more about the CV.
Thanks one more for your support..both of you!
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 06, 2020, 03:10:35 AM
Guys, is it possible to use a prefix only in case of a command and not for the whole system?
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 06, 2020, 08:07:29 AM
Technically no, but it sounds like you just need to change your command and not use any prefix.

Maybe you should explain in more detail what you hope to accomplish.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 06, 2020, 02:36:25 PM
Im asked in conncetion ith the "The exact command is just the part of the recognized sentence" question
(what Im already asked on the firs page)But I just realized that the TCP Pattern part working  exactly like this, so this is solved:-)

Previously you also helped me in connection ith the command chain question:

Command #1--> "Switch the TV on"
Command #2--> "Turn the dinnig room ligh off"

My question is, How Can I launch this to command in one order?--> "Switch the TV on and turn the dinnig room ligh off"



your answer was:
Although you can theoretically accomplish this by using the regular expression filters to identify a connecting phrase such as "and" (see the video) it is important to note that any commands that already included that phrase will be broken.

Could you please give me a bit more explanition how can I solve this?
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on June 07, 2020, 05:22:12 AM

Why make things complicated when they can be solved more easily?
I assume that your circuit example serves a certain purpose like watching TV - you can create a new command in VC which contains exactly these two actions. As execution phrase you could then use "watch TV" (or "Switch the TV on and turn the dinnig room ligh off").
We call this procedure -  a scene.
A VoxCommmando command can contain several actions that are executed one after the other, so it is not needed to call different commands in a row.
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 08, 2020, 10:18:24 AM
Why make things complicated when they can be solved more easily?
I assume that your circuit example serves a certain purpose like watching TV - you can create a new command in VC which contains exactly these two actions. As execution phrase you could then use "watch TV" (or "Switch the TV on and turn the dinnig room ligh off").
We call this procedure -  a scene.
A VoxCommmando command can contain several actions that are executed one after the other, so it is not needed to call different commands in a row.
+1
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 17, 2020, 07:21:26 PM
Understood!

but here is another question:-)

As you know, in my system there is a central pc with a few indeedent mini pc stick what is cathing the orders with thier own microphones.

Sometimes more than on mic hear the command, and because of this, the main pc multiple the requested command (do 2x times)

My question is, how can I solve this?

Thanks!
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 17, 2020, 09:59:27 PM
It may not be ideal from a user point of view but the easiest solution would be to use a different prefix in each room.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 18, 2020, 08:47:44 AM
Hmm..any other solution?
Is it possible to dissable the exact command start, while it is already running?

Or put a "vc dont listen" command in the beginning of the command chain...or something like this?
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 18, 2020, 08:53:41 AM
Is it possible to dissable the exact command start, while it is already running?

Or put a "vc dont listen" command in the beginning of the command chain...or something like this?
I'm sorry but I really don't understand what you are saying.

I can't think of any obvious solutions that would not cause more problems than they solve.

Are you using multiple VoxCommando machines or do you have multiple web browsers connecting to a single VoxCommando machine?
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 18, 2020, 09:40:00 AM
If your voice is being recognized by two microphone in different rooms then the most obvious solution to me is to move the microphones farther apart, or lower the input volume of the microphones.
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on June 18, 2020, 10:27:34 AM
It is hard to follow your problems.


So I guess only your main PC has VC installed and all the mini PC-Sticks working as a mic with Google - or?
Maybe then it is possible to create a logic in VC to never execute a command twice, but I think James is right and it creates other problems.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 20, 2020, 09:15:30 AM
Im using multiple web browsers connecting to a single VoxCommando machine.

The main point is to using multiple microphone for the better accuracy (each microphone have own pc stick and sending the recognized command throug the Chrome page to the VC running pc)

Sometimes more than one mic recognizing the command and sending to the VC running computer and because of this, the VC execute the command multiple.

The question is, how can I prevent this twice command execute?
Or how can I create a logic in VC to never execute a command twice?

Sorry for my english..hopefully now more understabable the question :)
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 21, 2020, 10:56:48 AM
Here are my suggestions.

1) Move the microphones farther away from each other, or lower the input volume (input level, gain) of the microphones

2) Use a different prefix in each room.

I don't think there is any other solution that makes sense.  Turning VC off will have no effect because commands coming from TCP connections execute no mater whether VC is on, off or in standby.

In theory I could modify the TCP plugin so that there is a delay after one command is accepted, where any other commands that arrive will be ignored for a period of time.  However, even if I make this modification for you, there is no guarantee that you will get the "good" command arriving first.  Both commands will probably be arriving at almost exactly the same time and you will be just as likely to have the text from the microphone that is hearing you less clearly arrive first, and the text from the microphone that you are closer to will be ignored.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 21, 2020, 12:45:56 PM
Oh I see:(
And would it be possible to solve, that the VC execute a command only once in a time period?

With a program what is as flexible as the VC, it must be a way...
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 21, 2020, 01:50:46 PM
If there are just a few particular commands where this happens then yes it's easy to do using variables and a logic block but you will have to edit each command individually.

But there is no way to automatically do it for all commands.
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on June 21, 2020, 01:53:11 PM
Mhh, ok - I have tried that - and maybe it can help you, but without guarantee.

let me check it first if it makes sense.

Is the recognized "double" Command exact the same twice?


Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 21, 2020, 02:29:45 PM
If there are just a few particular commands where this happens then yes it's easy to do using variables and a logic block but you will have to edit each command individually.

But there is no way to automatically do it for all commands.

Grat!
Exactly that is what am looking for. It is no problem if there is no automatically solution, the each command individuslly edit will be perfect:))
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 21, 2020, 02:31:30 PM
Mhh, ok - I have tried that - and maybe it can help you, but without guarantee.

let me check it first if it makes sense.

Is the recognized "double" Command exact the same twice?

yes it is...

For example
Command-->-What is the time
VC--> The time is X o clock
VC--> The time is X o clock
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on June 21, 2020, 03:13:02 PM
Can you try this command and let me know if it work for you?


That's how my Command is supposed to work:
Google creates an event in VC (check.double) which contains the command to be executed as payload.
VC writes this command into a Maptable and checks with a LogicBlock if it has been already exist in the maptable.
If it already exist in the maptable, a OSD text "I am a  double..." is showing.
If it is not in the maptable, a OSD text with "I am the only one..." is showing and the new value will be stored in the maptable.

You have also create a RegEx pattern in the TCP plugin Google Speech settings first and don't forget to press "Save Settings" - see attached picture

here the command code (copy and paste it to your command tree in VC

Code: [Select]

<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.3.0.3-->
<commandGroup open="True" name="Krysn95test" enabled="True" prefix="" priority="0" requiredProcess="" description="">
  <command id="805" name="double test" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>Map.CreateTable</cmdType>
      <params>
        <param>TEST</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <if ifBlockDisabled="False" ifNot="False">
      <ifType>(A)==(B)</ifType>
      <ifParams>{M:TEST.check.double}&amp;&amp;{1}</ifParams>
      <then>
        <action>
          <cmdType>OSD.ShowText</cmdType>
          <params>
            <param>I am a double and will be ignored</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
      </then>
      <else>
        <action>
          <cmdType>Map.Set</cmdType>
          <params>
            <param>TEST</param>
            <param>check.double</param>
            <param>{1}</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>OSD.ShowText</cmdType>
          <params>
            <param>I am the only one and execute now</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
      </else>
    </if>
    <event>check.double</event>
  </command>
</commandGroup>

You have to say "Check command .........."
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 21, 2020, 03:29:13 PM
The problem with this is.

1) you need to say "check command" before any command in order for this to work.

2) by using the regex pattern you are disabling the method that VC uses to look at all the possible strings of recognized text that Google has detected.  Google may send only one or up to 8 variations and VC will (normally) automatically check each one in order to see if it matches a valid voice command.  If you want to use a RegEx pattern with (.*?) it will use only the first string and throw all the rest away.  Maybe this will seem like it is working for some tests but in general it is going to greatly increase the chance that VC will not find a valid command to match the first string that Google detects.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 21, 2020, 04:06:27 PM
Thanks guys for your Support!
Than how do you see, James, what could be the solution?
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on June 21, 2020, 04:29:13 PM
Yes, this is only for testing and I thought it was obvious to deactivate everything else.
Say “check command...” was in the description at the end of the post  ;)
I think James know a even better way by storing the recognized text as variable and then VC can use it within a logic.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 21, 2020, 04:37:58 PM
Anyway, both of you genius and Im apprechiate for your work.

Without you I do not have the chance to solve this..

Hopefully James will also have idea...:)
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 22, 2020, 10:30:02 AM
Any idea guys?
I cant wait to try tó solve this..:)
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 23, 2020, 10:18:10 AM
Please try replacing the TCP plugin dll with the attached file.

After receiving a message from Google speech it will ignore all other incoming messages from Google speech for 1.5 seconds.

It's just a test for now.  Later I will probably make it optional and allow you to set the timeout to any value.

If you have never replaced a plugin DLL for VoxCommando before, then please read this first for important information: https://voxcommando.com/mediawiki/index.php?title=Unblock_DLL
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 23, 2020, 06:03:43 PM
Perfect!!!! ;D

Only one thing:
When the tcp Google creates an event in VC is still duplicate the command..
Is it possible to solve this part also?
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 23, 2020, 06:55:44 PM
Do you mean with regex pattern?

For example, with your Spotify command?
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 24, 2020, 02:03:05 AM
Yes, exactly
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 24, 2020, 12:27:12 PM
Try with this version.

I've also added a new action (TCP.GS.GetLastIP) to get the IP address of the last machine to send a message on the websocket.  Overwrite the plugins\TCP\Actions.xml as well to see the new action in the LCB.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 25, 2020, 04:42:50 AM
I did not have to much time to test but it seems perfect, so thank you very very very much James!!!

 

Now It is time to give skills to my loved VC:)
 

1)      LED (feedback light)

I would like to make a simple feedback minimal led for the VC, what is lighting

·         while the TTS speak

·         when a command is executing

·         and lighting continuously in red, while the microphones are off

 

Do you have any suggestion what is the most simple solution for this?

 

 

2)      LED decor light

I would like to make also a LED decor light in my living room, what is controlled by the VC.

 I saw some videos from Kalle but im not sure about the hardware components.

Could you please help me what is the best hardware for this decor light system?

 

 

3)      TV (IR) remote

According to your experience what is the best way to control the infrared devices (Tv, player, etc). Could you please suggest also?

 

 

4)      Zwave remote

My lights are working with zwave remotes, so the question is the same…Do you have experience, what could be the cheapest solution to integrate the control into VC?

 

Thanks again guys, you are amazing!
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on June 25, 2020, 07:37:20 AM
for 1: something like this, but you need some experience with Arduino Software and soldering  ESP-LED (https://www.amazon.de/ESP8266-LED-Controller-Adpater-WIFI-Modul-Christmas/dp/B07JLDM427/ref=sr_1_8?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&crid=1JUZFYKYVW37G&dchild=1&keywords=esp8266+led&qid=1593081126&s=lighting&sprefix=ESP%2Clighting%2C173&sr=1-8)

for 1 and 2: Phillips HUE would be a good solution (VC has a plugin)

for 3: We have our own IR/RF device called BEAM and miniBEAM. https://voxcommando.com/forum/index.php?topic=2615.msg23819#msg23819 (https://voxcommando.com/forum/index.php?topic=2615.msg23819#msg23819)

(I have only parts for the mini BEAM which is without RF funktions -  if you are interested.)

A other working solution are devices from GlobalCache (https://www.globalcache.com/products/flex/) but expensive.

for 4: VC contain a plugin for Z-Wave Vera controllers which works absolute great.

Vera Edge (https://www.amazon.de/Z-Wave-Control-Gateway-schwarz-MCV_Vera_Edge/dp/B00PFGJZM8/ref=sr_1_5?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&dchild=1&keywords=vera+plus&qid=1593080660&sr=8-5)

Vera Plus (https://www.amazon.de/Vera-Smart-Gateway-%C3%9Cberwachungstechnik-MCVEVERA_Plus/dp/B01BVLVGZY/ref=sr_1_7?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&dchild=1&keywords=vera+plus&qid=1593080660&sr=8-7)
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 25, 2020, 10:57:15 AM
But you can also do a lot with Arduino type stuff without having to do any soldering.  Being able to solder just gives you more options for a finished looking product.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 26, 2020, 06:05:18 PM
1)      LED (feedback light)
Yes I thought that the arduinocould be the simplest just i don ot have any experience or know-how with this system. Any other simple ready to use LED solution? Or the arduino have any "plug and play" solution?

3)      TV (IR) remote
The mini BEAM seems perfect! Is it integrated into the VC through plugin, or how?
Could you please give a price for the mini Beam if you have time to make one?

Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on June 27, 2020, 03:06:57 AM
1 + 3: Our BEAM contains also a RGB LED which can be used as feedback for VC, it depends of course on where it is placed to see the light.
The Beam has a fantastic plugin in VoxCommando to learn or send codes for IR/RF and contol the RGB LED. The BEAM has also his own Web User Interface.


christmas light on BEAM (https://voxcommando.com/forum/index.php?topic=2615.msg23021#msg23021)

The miniBEAM has only one RGB-LED, but it is enough to use it as feedback function. The costs are around 20 EUR plus shipping, but I have to search first for all components

You can read here about the BEAM how it works with some videos: https://voxcommando.com/mediawiki/index.php?title=IR/RF_Device (https://voxcommando.com/mediawiki/index.php?title=IR/RF_Device)
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 27, 2020, 09:26:16 AM
Be aware that the Arduino based WiFi  often have a delay so it may not be entirely practical to use as feedback every time VoxCommando is speaking.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 27, 2020, 09:55:10 AM
Mini BEAM:
This device seems perfect for me! Is it possible to make a free cable on it (outside the beam house) to control a small external RGB led also?
Would you be so kind and give the detailes how can I pay and get my own Beam?:-)

Microphone PC's chrome page refresh:
After the main VC pc restart, it has to be maually reload the chrom recognizing pages on the  microphone pc's.
Is it possibel to automate this somehow? The VC can send reload the webpage command to other pc's?

Automate PC start:
I would like to automate the VC pcs on and off procedure.
Is it possible to start the whole system when my android phone is connecting to the local wifi for example?
Maybe throug android tasker.....or any other way..just simple...when my phone at home-->Im home also-->Start the pc' with the VC (and vica versa)

VC frozen:
Sometimes is still a problem, but I do not know why. Now Im attached the Voxlog file...
According to the task manager, the cpu is unde 50% and the RAM is on 70%..so i dont know what is the reason

thanks guys!
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on June 27, 2020, 04:07:37 PM
Yes, I can solder a second output with a cable and RGB LED on it - how long would you like the cable?
By the way, it is not a normal LED - it is a WS2812 LED which has three connectors (Ground,Data,5V).
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 28, 2020, 09:12:00 AM
A 20cm cable will be great with an external RGB LED, but please leavr a free cable also, because I would like to use a small RGB LED strip As well..

The beam connecting into vc via wifi or usb?

Do you have any suggestion or ideál with the other questions?

Thanks!
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on June 28, 2020, 12:28:13 PM
Mmhhh, if you have read the links above, you will understand it is a WiFi connected device.

You can place the beam anywhere in your room, but preferably so that the IR emitters point relatively in the direction of the equipment to be controlled.
The BEAM has a USB cable that connects to a 5V power supply.
Usually a power supply for mobile phones with a USB socket (5V/1A) is sufficient, but if you want to control several LEDs, this power supply must have more than 1 ampere (per LED +60mA maximum). OK, I think 10 additional LEDs are no problem for the 1A power supply, but if you plan to use more - you definitely need a bigger one.
Please keep in mind that the BEAM is primarily designed for sending and receiving IR commands and not as a controller for effect lighting.
I hope you are aware that these are not simple LED pixels. These LEDs (WS2812b) have a controller inside and are not cheap.
It's no problem to mount a cable for more LEDs - but then I leave out the additional LED with 20cm cable, because the BEAM has a LED inside and it doesn't make a difference because of 20cm.

Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 28, 2020, 03:59:34 PM
Yes I knew that it is connecting via wifi just I was not sure, thanks for the clrarify!

I would like to use the BEAM primarly to sending IR's so this device will be perfect for me and the WS2812b LED are will be excellent as an external feedback LED.
Please let me know how can I pay, and when will be available!

Other topic:
Do you have any suggestion in this question also?

Microphone PC's chrome page refresh:
After the main VC pc restart, it has to be maually reload the chrom recognizing pages on the  microphone pc's.
Is it possibel to automate this somehow? The VC can send reload the webpage command to other pc's?
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on June 28, 2020, 04:59:48 PM
I will give you in the next 3 days the payment instructions and how long it will take to get the Beam.


For your other question: I have no idea how to reload remotely the Chrom webpage - sorry
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 28, 2020, 09:24:54 PM
VoxCommando cannot send any message to the page to reload because there is no connection.

Maybe the JavaScript on the web page could be set to reload the page periodically. I would have to spend some time experimenting.
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on June 29, 2020, 06:26:26 AM
Maybe you can try this Google Chrome Addon "Easy Auto Refresh" from dummysoftware which can reload a webpage after a given time in seconds

Google Web Store (https://chrome.google.com/webstore/detail/easy-auto-refresh/aabcgdmkeabbnleenpncegpcngjpnjkc)
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 29, 2020, 08:14:52 AM
Thanks, I Will check it!

Now the biggest challenge is the VC frozen (version: 2.3.0.4)

I would like to using the VC constantly (1/day restart) but sometimes after a few, the VC is just stop working.

Everything else is working, the PC react, and the VC window also react, but the menu points are not available (tools, optiosn…etc) and not react to the voice commands.

Do you have any idea what can cause this time to time freezing?

 

Im using this configuration:

https://modecom.com/en/freepc-32gb/
 

Win 10

CPU

·         Intel Atom Z3735F

·         Quad Core

·         1330MHz

 

RAM

DDR3L

2GB

 

ROM

32GB

 

According to the task manager, the CPU and ROM are ~50% using when the VC stop working.

What is also interesting that I can not lauch the VC with the shortcut (independently the frozen) only with the full windows restart (VC launch automatically with the windows)

 

Do you have earlier VC version with the Google Speech feature or any suggestion how can I solve this?

Thanks
 
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on June 29, 2020, 08:27:58 AM
This Atom CPU is very old (2014 or so). Try it with deactivated not needed plugins.
Check the free memory of the system hard disk - 32GB is not much for a Win10 system.
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 29, 2020, 08:52:11 AM
I do not know what is causing the freezing but you should be able to end the VoxCommando process from task manager without having to restart.

You might also be able to create a batch script to kill the process and restart VoxCommando.
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 29, 2020, 12:30:15 PM


Microphone PC's chrome page refresh:
After the main VC pc restart, it has to be maually reload the chrom recognizing pages on the  microphone pc's.
Is it possibel to automate this somehow? The VC can send reload the webpage command to other pc's?

Please download the attached file and replace the one found in

VoxCommando\plugins\TCP\html\ggSpeech

It should make the page automatically attempt to reconnect after hearing a voice command. So reloading the page is not necessary.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 29, 2020, 01:06:27 PM
Great, thanks you so much!

So are you sure that the most probably reason behind the freeze is the weakness of the pc?
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on June 29, 2020, 01:36:28 PM
I am not sure, it can be one from many possibilities
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 29, 2020, 04:41:59 PM
VC freeze
Now I tested and it seems that the 2gb RAM is not enough. When the RAM usage is above 85%, the VC stop working. Is it possible to give more virtual memory somehowe or I need to buy a stronger main pc to run the VC?
(From the 32gb ROM more than 10gb is free. This pc stick is dedicatd to home control, so the VC, Spotify, and Chrome is the only apps what are running on it)
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on June 29, 2020, 07:52:53 PM
I don't know if this is really what is causing the freezing but realistically the minimum RAM for Windows in my opinion is 4GB
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on June 30, 2020, 05:49:47 PM
Im still lost with the freezing issue:-(

Now Im tried to modified some setup in spotify app to use less RAM, and succesfuly now the RAM percentage is under 80% (max 82%) constantly, but the VC still freez after ~60-70 command. Probably it is not causing by the RAM.... Everthing else is working and respond but the VC not react.

Any idea?
Should I reinstall the VC or change any setup?
The  GTTS cache can cause this?
(Now Im enabled only the TCP and GTTS plugin)
There is must be a solution...

Thanks guys!

Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on July 01, 2020, 05:11:28 AM
I recommend to buy a more powerful PC with an Intel i3 or i5 - I don’t know if this will solve your freezing problem, but for my understanding your hardware is not powerful enough at all.
There are so much (maybe used) mini PC’s on eBay available (as example a Asus Vivo) which works without any problems running VC and other stuff.
I use a Asus Vivo i3 for my home automation with a running VC instance 24h 365 days and have it only to restart after the Win10 updates.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on July 04, 2020, 11:11:49 AM
Guys, for the better stability, I would like to make a command what is do this:

Restar the pc every night at 4o' clock
Restart the VC automatically after every 50 command

Someone can help me, how can I make this?

Thanks in advance!
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on July 04, 2020, 12:58:36 PM
Did you consider learning how to use the program?

Have you tried to explore the wiki?

Have you searched the forum to see if others have discussed doing similar things?
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on July 04, 2020, 01:24:38 PM
Yes, okay it is understandable.
I made a quick search just I didn't find solution for the command counter, but I will try again..:)
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on July 04, 2020, 02:55:51 PM
Ok I solved the VC restart with SetEventTimer but

how can I count the commands (if I want to trigger an event according to the number of execuded commands?)
how can I reboot the pc (the mouse emulation is the only way or there is more simple possibility?) ::dis
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on July 04, 2020, 03:24:26 PM
I think rebooting is going too far. What will it solve? Anyway you should be able to do a restart using a command line or a batch file with launch actions. But I think it's a bad idea.

Counting commands is a bit complicated. I think using a timer makes more sense.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on July 07, 2020, 05:15:03 PM
Do you have experience with vera edge connection into VC?
I checked the wiki page, the video, and also here the topics but I can ot find the solution...
https://voxcommando.com/mediawiki/index.php?title=Vera_Configuration

So my Vera Edge connectiong through the WIFI and I can reach the dashboard from the browser, but the IP addres not working

Internet/WAN
DHCP
IP address:   
192.168.88.34
Subnet mask:   
255.255.255.0
Gateway:   
192.168.88.1

LAN DHCP server OFF


Im tried the 3480 and 49451 port also.
192.168.88.34:3480
192.168.88.34:49451

Sorry for the question...but Im already checked the Vera forums..and actually I do not have more idea.
What is also interesting, the Vera Edge IP address not visible on the browser address box. There is something like this:
https://vera-us-oem-relay11.mios.com/www/1.7.4969-en/?....

thanks for every help!
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on July 07, 2020, 09:08:43 PM
If you type 192.168.88.34 into the address bar on your web browser, does it show the Vera page?

What is the IP address of the computer running VoxCommando?

I don't know if it is the cause of the problem but I highly recommend you connect your Edge using an ethernet cable instead of WiFi.
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on July 08, 2020, 01:25:21 PM
I recommend to buy a more powerful PC with an Intel i3 or i5 - I don’t know if this will solve your freezing problem, but for my understanding your hardware is not powerful enough at all.
There are so much (maybe used) mini PC’s on eBay available (as example a Asus Vivo) which works without any problems running VC and other stuff.
I use a Asus Vivo i3 for my home automation with a running VC instance 24h 365 days and have it only to restart after the Win10 updates.

I decided to try to recreate krysn95's situation.  I set up Google speech recognition using the TTS plugin in Hungarian.  I created a simple Hungarian command set in VC with 3 commands.
- szia
- viszontlátásra
- mennyi az idő

All three commands do the same thing, they pause for 1/2 second, then they read out one of the three commands (randomly) using the GTTS plugin.

My microphone is next to the computer speaker so when the GTTS speaks the command Google speech recognizes it and triggers the commands again and it loops forever.

I wanted to see how long it would go before it crashed...

Well I got bored after a while.  It never crashed.

So maybe you do just need a better computer.  I'm not saying 100% that a better computer will fix your issues, but maybe it will.

This is not a perfect test because my commands are not doing anything complicated but it does test the TCP/GGspeech system at least.

I let it loop for almost 200 commands.  I could try to run  a longer test later when I am not using my computer for other things.

I'm using a fast computer with 16GB of RAM, we have good internet service here, and my computer is connected with Ethernet, not WiFi.  I don't think you need 16GB of RAM.  4GB is probably enough, although I would never try to run Windows with less than 8GB, personally, unless I had no choice.

Here is the video showing my test:
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on July 08, 2020, 01:37:56 PM
You might notice that I'm using version 2.3.0.8.

This version is now available on the downloads page in case you want to try it.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on July 08, 2020, 04:34:12 PM
Men, you are a heroe! Thanks for your time and for the test.

The version 2.3.0.8. include the new
TCP.dll and Actions XML (TCP.GS.GetLastIP) and the INDEX.html (automatically attempt to reconnect after hearing a voice command)

VERA Edge connection issue

If you type 192.168.88.34 into the address bar on your web browser, does it show the Vera page?
No. Now If Im choosing the Vera dashboard/settings/net&wifi/Manually configure
show this

What network connection type do you have?

DHCP
IP address:   
192.168.88.35 If im typed this into the browser address bar, it does not show the Vera page
Subnet mask:   
255.255.255.0
Gateway:   
192.168.88.1
DNS   
192.168.88.1 192.168.0.1


What is the IP address of the computer running VoxCommando?

192.168.88.101

I don't know if it is the cause of the problem but I highly recommend you connect your Edge using an ethernet cable instead of WiFi.
Im made a reset so now the whole configuration is factory deafult, and the device connectiong throug the enthernet cable but the situation is the same.
The Vera dahboard url is this
https://vera-us-oem-relay11.mios.com/www/1.7.4969-en/?PK_Device=45101221&lang_code=en&ReturnUrl=aHR0cHM6Ly9ob21lLmdldHZlcmEuY29tL3VzZXJzL2xvZ291dA%3D%3D#dashboard
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on July 08, 2020, 06:18:45 PM
If you can't access the Edge using that IP address in a browser then it means that the Vera is not available at that IP address so of course VoxCommando is not going to be able to connect to it.

You should turn WiFi off completely in the Vera settings if you have connected your Vera using an ethernet cable.

What I don't understand is, where did you get this address:
https://vera-us-oem-relay11.mios.com/www/1.7.4969-en/?PK_Device=45101221&lang_code=en&ReturnUrl=aHR0cHM6Ly9ob21lLmdldHZlcmEuY29tL3VzZXJzL2xvZ291dA%3D%3D#dashboard

Just to be sure.  Do you also have a router in your home and are both your computer, and the Vera Edge connected to the router?  If not, please explain your whole network setup, and how everything is connected.

192.168.88.35 is a bit of a strange IP address.  Normally with most routers that I have seen, the IP addresses all start with either
192.169.0. or 192.168.1.
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on July 09, 2020, 04:13:11 AM

what surprises me a bit is that you have entered two different IP addresses for your Vera in your postings (192.168.88.34 and 192.168.88.35)
It looks like your router reassigns the IP for the Vera Edge every time. You should always reserve an IP for the Vera in your router settings.


Just out of curiosity - could you try this link and say what you see? - I guess the Vera login page

https://home.getvera.com/advanced/controller/45101221 (https://home.getvera.com/advanced/controller/45101221)



@James The link contains the device number and seems to be for access from outside the home network (old remote access address) - but could also fool me.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on July 09, 2020, 06:01:44 PM
After the full reset (again) firstly the IP is working but than, the 2nd login is already use zhis URL

https://vera-us-oem-relay11.mios.com/www/1.7.4969-en/?PK_Device=45101221&lang_code=en&ReturnUrl=aHR0cHM6Ly9ob21lLmdldHZlcmEuY29tL3VzZXJzL2xvZ291dA%3D%3D#dashboard

This url open the controller advanced setting option
https://home.getvera.com/advanced/controller/45101221

Im already wrote to the customer service also, because I cant find the solution.
When Im connecting to the Vera Edge controller it says: Connecting through relay... insted of the local network

my network setup came from a simple router what im using together with my neighborhood.
He's got a complete setup and he made a seperate WLAN what is extended in my apartaman with a range extender.
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on July 09, 2020, 06:24:56 PM
The relay URL which you show us, is the remote access address for your Vera and you have to login. If you have local access, a login is not required.
Maybe you have a chance to test the Vera IP with your neighbor computer and see if you have then access to the Vera UI.


Quote
my network setup came from a simple router what im using together with my neighborhood.
He's got a complete setup and he made a seperate WLAN what is extended in my apartaman with a range extender.

When you say the first access has worked and a second attempt doesn't work - then the router may have reassigned the IP and the old one is invalid. You need a reserved IP for the vera - and you have to set this on your neighbour's router.

You can try a other IP in the browser to see if it has changed 192.168.88. (2-254) is possible  ::)

I think this is the problem
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on July 09, 2020, 07:31:42 PM
I think we have a real language problem.

I don't think you have set up your Vera and your network correctly but I really don't understand most of what you are saying.

Maybe you need to work with someone who knows networking and Vera and who also speaks your language.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on July 10, 2020, 06:06:58 AM
Okay, thanks guys...yes I agree, it is not really vc challenge.
I will solve somehow.:)

(I know that my english is terrible but I try to do my best..thanks for the patience)
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on July 10, 2020, 08:03:35 AM
As far as I understand it, you use an extended guest WiFi access of your neighbour. These guest networks are usually limited, so I assume that you don't have your own local network.
If that is the case, your neighbor has the control over your data.  :o


An own router would be the best solution here.
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on July 10, 2020, 08:16:58 AM
This is what I mean about language.

He never actually said he was using his neighbor's router or a guest network.

He used the words "my neighborhood", but he might have meant "network neighborhood" which is a term used in Windows.
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on July 10, 2020, 08:18:39 AM
Krysn95: draw us a picture of your network topology to show how things are connected.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on July 10, 2020, 02:56:25 PM
Guys Im solved it finally!
The Vera has some kind of security option in a submenu and
because of this, the direct IP connection was not possible, but know everything working!
Now I just need to setup the configuration.

I cant wait also to arrive the Beam:)

When the whole system setup will be ready, I will make a video to show you the results of your efforts:D
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on July 10, 2020, 03:32:16 PM
I'm glad you figured it out.

Are you saying that, on your Vera, under Users & Account info > Security :

"Secure the controller" it is enabled by default?
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on July 13, 2020, 06:45:49 AM
Yes, exactly!
In my case, it was enabled, even after the reset.

Other question:
The VC running pc after some hour inactivity react very very slowly.
Im tested with different pc-s, but the situation is the same.
In the morning, after the night inactivity, not responding just with 10-15sec delay.
The pc is awake, and the energy saving options are off.

Tonight I Will try to disable again all energy saving option András make a restart, but if you have any other idea please share with me...
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on July 13, 2020, 07:23:18 AM
The problem is with your computer or operating system.

Try with a decent computer, or try to install windows 7.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on July 14, 2020, 02:07:04 AM
Probably you are right, because the tested stronger and weaker pc are also used Windows 10.

Now I do not know what else can I do.
After the night, the system answer deadly slow..firstly..and then it is "wake up" and working on the right way, without any modification. It does not need to restart or anyithing else..Im sure that there is some kind of win 10 setup in a sub menu, just I can not figure out what is this.
Title: Re: Hungarian recognition and TTS using Google
Post by: Kalle on July 14, 2020, 05:01:19 AM
Here is one trick to stop automatic updates. However, you have not completely turned off automatic updates with it. According to Microsoft, "in this case, only those updates that are necessary for Windows to continue to run smoothly are downloaded automatically." Also, some apps "may work differently with a timed connection to reduce data usage.


Press the Windows key and simultaneously "I" to open the Windows settings. Click on "Network and Internet". Select "Change connection properties". Find "Set as a timed connection" and activate the option.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on July 15, 2020, 05:39:20 AM
Thanks Kalle!
I made the setup:)
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on July 16, 2020, 06:10:26 AM
solved the inactivity delay issue :)

The gtts was the lazy part so I put an extra command into the annual restart process-->
Set gtts voice 0
Gtts speak <anyithing>
Sett gtts voice 100

Now there is no delay after a longer inactiv period:)

My other challenge is much less problematic, but sometimes the VC still duplicate the command execution.
(May be when 2 Google speech mic send the speech exactly in the same time)
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on July 16, 2020, 07:13:07 AM
Cool.

Make sure you have the GTTS cache enabled.
Title: Re: Hungarian recognition and TTS using Google
Post by: krysn95 on July 16, 2020, 05:01:53 PM
Could you please Tell me where is the gtts cache enable option?
(I did not find in the plugin setting or in the options)
Title: Re: Hungarian recognition and TTS using Google
Post by: jitterjames on July 17, 2020, 01:57:20 PM
Sorry.  It looks like the cache is enabled no matter what.