SEPIA-Framework / sepia-docs

Documentation and Wiki for SEPIA. Please post your questions and bug-reports here in the issues section! Thank you :-)
https://sepia-framework.github.io/
238 stars 16 forks source link

correct settings for RPI client clexi settings.js for external marytts server #127

Open 463nt-0ran63 opened 2 years ago

463nt-0ran63 commented 2 years ago

hi sorry but i must ask since this seems to be broken everytime I do an update ... i use marytts installation on a windows machine in the local network which i managed to get reachable from any machine per IP and designated port and I am also able to use marytts inside the android client application where i use Voice Engine SEPIA (Stream) and get the marytts voices in the dropdown. Since i did these settings in the Sepia server (also windows machine) image however when i try to add the RPI with the DIY tutorial i always get this after a succsesfull Hey Sepia call image so i am searching now for the correct settings.js entries to have exactly the same result as on the android app. these are my current settings image

also what i cant switch is the language on the PI it always uses EN but as a native german it would be nicer to talk german to it :) I already added default locale as DE UTF8 in raspiconfig settings but apparently that is not doing the trick - also the manual says somewhere to change it in the user account settings? i guess this is in the UID1007 etc but i dont see language settings - in the android app however that is a one click thing and it is also working fine! hopefully someone can help me here

fquirin commented 2 years ago

Hi,

can you try "voiceEngine": "sepia" in your settings.js please.

There is a new "export" button as well on settings page 2 where you can view the current client configuration. You could open the client in your desktop browser (the Android app is missing the button unfortunately, it was a last minute addition ^^), set everything up so its working and then go to page 2 and check the JSON export.

To switch your DIY client to German please set the language for the user. Log-in to any client with the same user and simply switch the language to German on settings page 2, then restart your DIY client. Unfortunately every user is set to EN by default, no matter what your system is using. Depending on your setup you might want to use the same user for every client/app just switch the device-id (by default IDs are already different for Android, Desktop and DIY) because this will allow you to send remote actions from your mobile app etc. :-)

463nt-0ran63 commented 2 years ago

Do you mean App settings "save" Button in the serveradress/app/Index.html settings Page 2? Because i See nothing labeled export. And the save is asking me for a pin but then nothing happens.

I changed the voiceengine to sepia again but even after Reboot this seems not to have any effect. Error sticks

fquirin commented 2 years ago

Are you on client v0.24.0 after the update? You should see this in the browser:

Screenshot_20211024-154156_Chrome.jpg

Alternatively you can try https://sepia-framework.github.io/app/ but this page will probably complain about the local address of your server (unless you have SSL). If you've updated the server you should be able to use the local URL as well: http://[server-IP]:20721/app/

Btw the "save" button you've mentioned will store your app settings on the server encrypted with the pin so you can restore them later.

463nt-0ran63 commented 2 years ago

According to my second Screenshot above the Client o1 is saying that he is... But that Button is not there so maybe the update did go wrong?

fquirin commented 2 years ago

You could open the client in your desktop browser (the Android app is missing the button unfortunately, it was a last minute addition ^^),

On which client did you look for the button (hosted on server, app, directly on DIY client)? Just double-checking that its not Android :sweat_smile: . Oh and when did you download the update? I think there might have been a brief moment after the first upload where the SEPIA-Home v2.6.0 package didn't include the export button change (I've uploaded a minor fix at the 16th :see_no_evil:).

If you've updated the DIY client recently you can access this version directly by using the CLEXI server: http://[diy-client-ip]:9090/clexi/sepia/. The files are hosted at ~/clexi/www/sepia/.

463nt-0ran63 commented 2 years ago

So far i was able to find the settings on my Client install you mentioned played a little around and Set the entries. Still no difference same error appears. What i am Not able to get, in comparison to the Android App, is the dropdown with the marytts languages - same settings.

I loaded all fresh yesterday morning via the install Script of yours. So i guess that is not it.

fquirin commented 2 years ago

Still no difference same error appears. What i am Not able to get, in comparison to the Android App, is the dropdown with the marytts languages - same settings.

Weird. If you have the Mary-TTS voices in your Android app via "Voice engine (TTS): SEPIA (Stream)" and you are able to login from your "test" client then you should get the exact same results. If you are using "Mary-TTS API" directly the Android app might be more forgiving regarding CORS errors or mixed content (SSL). The DIY client on the other had is rather tolerant as well.

Can you try "F12" (dev console) in your browser and check if you see any errors when switching between voice engines?