Google TTS addon for OH2

Tags: #<Tag:0x00007fc8f6f0b8f8> #<Tag:0x00007fc8f6f0b830> #<Tag:0x00007fc8f6f0b740>

I have it :slight_smile: I did not have API enabled on Google TTS cloud.
now voices have been downloadet.
But I need Czech and it is not there.
In next thread its voices report with CS

googletts:cs GoogleTTS - Tschechisch

Why is not Czech in my google TTS? Thx

That’s good news!

The post you linked to was about the initial implementation of a googletts voice addon that was using Google Translate instead of the newer Google Cloud TTS engine. I.e.:

Yes,this is it.
Google Translate instead its fine for me (available czech language) and its free.
I try unninstal TTS 2.4 and install 2.3 with translate services.

When create test rule

    rule "test"
    when   
            Time cron "0 * * * * ?"
    then   
        logInfo("vstup", "minuta")
        say("ahoj")
    end

show in log:

2018-11-26 14:51:05.483 [ERROR] [ntime.internal.engine.ExecuteRuleJob] - Error during the execution of rule 'test': For input string: "TKK='428677.1320964712';VERSION_LABEL = 'twsfe_w_20181112_RC02';WEB_TRANSLATION_PATH='/translate';SIGNED_IN=false;USAGE='';</script><div id=gt-form-c><form id=gt-form action="/" name=text_form method=post enctype="application/x-www-form-urlencoded"><div id=gt-appbar><div id=gt-apb-c><div id=gt-apb-main><a id=gt-appname href="/">Translate</a><span id=ft-l><a id=gt-otf-switch class="gt-otf-switch-with-pb" href="/?hl=en&eotf=0">Turn off instant translation</a></span></div></div></div><div id=gt-text-all><div id=gt-main><div id=gt-text-c><div id=gt-langs><div id=gt-lang-left class=goog-inline-block><div id=gt-lang-src><div id=gt-sl-sugg class="gt-lang-sugg-message goog-inline-block je"><div class="goog-inline-block jfk-button jfk-button-standard jfk-button-collapse-right">English</div><div class="goog-inline-block jfk-button jfk-button-standard jfk-button-collapse-left jfk-button-collapse-right">Spanish</div><div class="goog-inline-block jfk-button jfk-button-standard jfk-button-collapse-left jfk-button-collapse-right">French</div><div class="goog-inline-block jfk-button jfk-button-standard jfk-button-checked jfk-button-collapse-left jfk-button-collapse-right">Detect language</div></div><label for=gt-sl class="gt-lang-lbl nje"></label><select id=gt-sl name=sl class="jfk-button jfk-button-standard nje" tabindex=0><option SELECTED value=auto>Detect language</option><option value=separator disabled>&#8212;</option><option value=af>Afrikaans</option><option value=sq>Albanian</option><option value=am>Amharic</option><option value=ar>Arabic</option><option value=hy>Armenian</option><option value=az>Azerbaijani</option><option value=eu>Basque</option><option value=be>Belarusian</option><option value=bn>Bengali</option><option value=bs>Bosnian</option><option value=bg>Bulgarian</option><option value=ca>Catalan</option><option value=ceb>Cebuano</option><option value=ny>Chichewa</option><option value=zh-CN>Chinese</option><option value=co>Corsican</option><option value=hr>Croatian</option><option value=cs>Czech</option><option value=da>Danish</option><option value=nl>Dutch</option><option value=en>English</option><option value=eo>Esperanto</option><option value=et>Estonian</option><option value=tl>Filipino</option><option value=fi>Finnish</option><option value=fr>French</option><option value=fy>Frisian</option><option value=gl>Galician</option><option value=ka>Georgian</option><option value=de>German</option><option value=el>Greek</option><option value=gu>Gujarati</option><option value=ht>Haitian Creole</option><option value=ha>Hausa</option><option value=haw>Hawaiian</option><option value=iw>Hebrew</option><option value=hi>Hindi</option><option value=hmn>Hmong</option><option value=hu>Hungarian</option><option value=is>Icelandic</option><option value=ig>Igbo</option><option value=id>Indonesian</option><option value=ga>Irish</option><option value=it>Italian</option><option value=ja>Japanese</option><option value=jw>Javanese</option><option value=kn>Kannada</option><option value=kk>Kazakh</option><option value=km>Khmer</option><option value=ko>Korean</option><option value=ku>Kurdish (Kurmanji)</option><option value=ky>Kyrgyz</option><option value=lo>Lao</option><option value=la>Latin</option><option value=lv>Latvian</option><option value=lt>Lithuanian</option><option value=lb>Luxembourgish</option><option value=mk>Macedonian</option><option value=mg>Malagasy</option><option value=ms>Malay</option><option value=ml>Malayalam</option><option value=mt>Maltese</option><option value=mi>Maori</option><option value=mr>Marathi</option><option value=mn>Mongolian</option><option value=my>Myanmar (Burmese)</option><option value=ne>Nepali</option><option value=no>Norwegian</option><option value=ps>Pashto</option><option value=fa>Persian</option><option value=pl>Polish</option><option value=pt>Portuguese</option><option value=pa>Punjabi</option><option value=ro>Romanian</option><option value=ru>Russian</option><option value=sm>Samoan</option><option value=gd>Scots Gaelic</option><option value=sr>Serbian</option><option value=st>Sesotho</option><option value=sn>Shona</option><option value=sd>Sindhi</option><option value=si>Sinhala</option><option value=sk>Slovak</option><option value=sl>Slovenian</option><option value=so>Somali</option><option SELECTED value=es>Spanish</option><option value=su>Sundanese</option><option value=sw>Swahili</option><option value=sv>Swedish</option><option value=tg>Tajik</option><option value=ta>Tamil</option><option value=te>Telugu</option><option value=th>Thai</option><option value=tr>Turkish</option><option value=uk>Ukrainian</option><option value=ur>Urdu</option><option value=uz>Uzbek</option><option value=vi>Vietnamese</option><option value=cy>Welsh</option><option value=xh>Xhosa</option><option value=yi>Yiddish</option><option value=yo>Yoruba</option><option value=zu>Zulu</option></select><div id="gt-sl-gms" class="goog-inline-block goog-flat-menu-button goog-flat-menu-button-collapse-left gt-gms-icon je"><div class="goog-inline-block goog-flat-menu-button-caption"> </div><div class="goog-inline-block goog-flat-menu-button-dropdown"></div></div></div><div id=gt-swap title="Swap languages"class="jfk-button-standard jfk-button-narrow jfk-button jfk-button-disabled trans-swap-button je"><span class="jfk-button-img"></span></div></div><div id=gt-lang-right class=goog-inline-block><div id=gt-lang-tgt><div id=gt-tl-sugg class="gt-lang-sugg-message goog-inline-block je"><div class="goog-inline-block jfk-button jfk-button-standard jfk-button-checked jfk-button-collapse-right">English</div><div class="goog-inline-block jfk-button jfk-button-standard jfk-button-collapse-left jfk-button-collapse-right">Spanish</div><div class="goog-inline-block jfk-button jfk-button-standard jfk-button-collapse-left jfk-button-collapse-right">French</div></div><label for=gt-tl class="gt-lang-lbl nje"></label><select id=gt-tl name=tl class="jfk-button jfk-button-standard nje" tabindex=0><option value=af>Afrikaans</option><option value=sq>Albanian</option><option value=am>Amharic</option><option value=ar>Arabic</option><option value=hy>Armenian</option><option value=az>Azerbaijani</option><option value=eu>Basque</option><option value=be>Belarusian</option><option value=bn>Bengali</option><option value=bs>Bosnian</option><option value=bg>Bulgarian</option><option value=ca>Catalan</option><option value=ceb>Cebuano</option><option value=ny>Chichewa</option><option value=zh-CN>Chinese (Simplified)</option><option value=zh-TW>Chinese (Traditional)</option><option value=co>Corsican</option><option value=hr>Croatian</option><option value=cs>Czech</option><option value=da>Danish</option><option value=nl>Dutch</option><option SELECTED value=en>English</option><option value=eo>Esperanto</option><option value=et>Estonian</option><option value=tl>Filipino</option><option value=fi>Finnish</option><option value=fr>French</option><option value=fy>Frisian</option><option value=gl>Galician</option><option value=ka>Georgian</option><option value=de>German</option><option value=el>Greek</option><option value=gu>Gujarati</option><option value=ht>Haitian Creole</option><option value=ha>Hausa</option><option value=haw>Hawaiian</option><option value=iw>Hebrew</option><option value=hi>Hindi</option><option value=hmn>Hmong</option><option value=hu>Hungarian</option><option value=is>Icelandic</option><option value=ig>Igbo</option><option value=id>Indonesian</option><option value=ga>Irish</option><option value=it>Italian</option><option value=ja>Japanese</option><option value=jw>Javanese</option><option value=kn>Kannada</option><option value=kk>Kazakh</option><option value=km>Khmer</option><option value=ko>Korean</option><option value=ku>Kurdish (Kurmanji)</option><option value=ky>Kyrgyz</option><option value=lo>Lao</option><option value=la>Latin</option><option value=lv>Latvian</option><option value=lt>Lithuanian</option><option value=lb>Luxembourgish</option><option value=mk>Macedonian</option><option value=mg>Malagasy</option><option value=ms>Malay</option><option value=ml>Malayalam</option><option value=mt>Maltese</option><option value=mi>Maori</option><option value=mr>Marathi</option><option value=mn>Mongolian</option><option value=my>Myanmar (Burmese)</option><option value=ne>Nepali</option><option value=no>Norwegian</option><option value=ps>Pashto</option><option value=fa>Persian</option><option value=pl>Polish</option><option value=pt>Portuguese</option><option value=pa>Punjabi</option><option value=ro>Romanian</option><option value=ru>Russian</option><option value=sm>Samoan</option><option value=gd>Scots Gaelic</option><option value=sr>Serbian</option><option value=st>Sesotho</option><option value=sn>Shona</option><option value=sd>Sindhi</option><option value=si>Sinhala</option><option value=sk>Slovak</option><option value=sl>Slovenian</option><option value=so>Somali</option><option value=es>Spanish</option><option value=su>Sundanese</option><option value=sw>Swahili</option><option value=sv>Swedish</option><option value=tg>Tajik</option><option value=ta>Tamil</option><option value=te>Telugu</option><option value=th>Thai</option><option value=tr>Turkish</option><option value=uk>Ukrainian</option><option value=ur>Urdu</option><option value=uz>Uzbek</option><option value=vi>Vietnamese</option><option value=cy>Welsh</option><option value=xh>Xhosa</option><option value=yi>Yiddish</option><option value=yo>Yoruba</option><option value=zu>Zulu</option></select><div id="gt-tl-gms" class="goog-inline-block goog-flat-menu-button goog-flat-menu-button-collapse-left gt-gms-icon je"><div class="goog-inline-block goog-flat-menu-button-caption"> </div><div class="goog-inline-block goog-flat-menu-button-dropdown"></div></div></div><div id=gt-lang-submit><input type=submit id=gt-submit value="Translate" tabindex=0 class="jfk-button jfk-button-action"></div></div></div><div id=gt-text-top><div id=gt-src-c class=g-unit><div id=gt-src-p><input type=hidden name=js value=n id=js><input type=hidden name=prev value="_t" id=prev><input type=hidden name=hl value="en" id=hl><input type=hidden name=ie value="UTF-8"><div id=gt-src-wrap ><label for=source style="display:none">Translate text or webpage</label><div id=gt-src-is style="display:none" class="gt-is gt-is-desktop"><div id=gt-src-is-list class=gt-is-ctr></div></div><div style="width: 100%;"><textarea id=source name=text wrap=SOFT tabindex=0 dir="ltr" spellcheck="false" autocapitalize="off" autocomplete="off" autocorrect="off"></textarea><textarea id=source-is name=text-is disabled wrap=SOFT dir="ltr" spellcheck="false" autocapitalize="off" autocomplete="off" autocorrect="off" ></textarea></div><script>(function(){var src = document.getElementById('source');src.focus();src.select();src.style.boxSizing=src.style.WebkitBoxSizing=src.style.MozBoxSizing=src.style.MsBoxSizing='border-box';})"

Confirm the snapshot is working properly in an QNAP VM x86_32:

$ uname -a
Linux openHAB 4.4.0-138-generic #164-Ubuntu SMP Wed Oct 3 15:02:00 UTC 2018 i686 i686 i686 GNU/Linux
2 Likes

Thanks for your answer

i think that i have done it in the right way
please correct me on the process in case that i am missing something

  1. uninstall from paper ui
  2. stop openhab service
  3. copy the jar file to /usr/share/openhab2/addons
  4. start openhab service

You may want to clean cache & tmp also after step 2.

check using the OH2 console if only 1 bundle is listed as active:

bundle:list -s|grep googletts

Thanks it works
indeed, i had 2 bundles. i removed it from the console.

The steps procedure :

  1. uninstall from paper ui
  2. stop openhab service
  3. clean cache & tmp
  4. copy the jar file to /usr/share/openhab2/addons
  5. start openhab service
  6. check using the OH2 console if only 1 bundle is listed as active:
1 Like

The procedure is now simplified since the changes got merged and are available in the latest 2.4.0-SNAPSHOT Build #1446. :smile:

1 Like

help me please with googleTTS 2.3 with translate services.

When create rule with command say(“xx”) show in log:

2018-11-26 14:51:05.483 [ERROR] [ntime.internal.engine.ExecuteRuleJob] - Error during the execution of rule 'test': For input string: "TKK='428677.1320964712';VERSION_LABEL = 'twsfe_w_20181112_RC02';WEB_TRANSLATION_PATH='/translate';SIGNED_IN=false;USAGE='';</script><div id=gt-form-c><form id=gt-form action="/" name=text_form method=post enctype="application/x-www-form-urlencoded"><div id=gt-appbar><div id=gt-apb-c><div id=gt-apb-main><a id=gt-appname href="/">Translate</a><span id=ft-l><a id=gt-otf-switch class="gt-otf-switch-with-pb" href="/?hl=en&eotf=0">Turn off instant translation</a></span></div></div></div><div id=gt-text-all><div id=gt-main><div id=gt-text-c><div id=gt-langs><div id=gt-lang-left class=goog-inline-block><div id=gt-lang-src><div id=gt-sl-sugg class="gt-lang-sugg-message goog-inline-block je"><div class="goog-inline-block jfk-button jfk-button-standard jfk-button-collapse-right">English</div><div class="goog-inline-block jfk-button jfk-button-standard jfk-button-collapse-left jfk-button-collapse-right">Spanish</div><div class="goog-inline-block jfk-button jfk-button-standard jfk-button-collapse-left jfk-button-collapse-right">French</div><div class="goog-inline-block jfk-button jfk-button-standard jfk-button-checked jfk-button-collapse-left jfk-button-collapse-right">Detect language</div></div><label for=gt-sl class="gt-lang-lbl nje"></label><select id=gt-sl name=sl class="jfk-button jfk-button-standard nje" tabindex=0><option SELECTED value=auto>Detect language</option><option value=separator disabled>&#8212;</option><option value=af>Afrikaans</option><option value=sq>Albanian</option><option value=am>Amharic</option><option value=ar>Arabic</option><option value=hy>Armenian</option><option value=az>Azerbaijani</option><option value=eu>Basque</option><option value=be>Belarusian</option><option value=bn>Bengali</option><option value=bs>Bosnian</option><option value=bg>Bulgarian</option><option value=ca>Catalan</option><option value=ceb>Cebuano</option><option value=ny>Chichewa</option><option value=zh-CN>Chinese</option><option value=co>Corsican</option><option value=hr>Croatian</option><option value=cs>Czech</option><option value=da>Danish</option><option value=nl>Dutch</option><option value=en>English</option><option value=eo>Esperanto</option><option value=et>Estonian</option><option value=tl>Filipino</option><option value=fi>Finnish</option><option value=fr>French</option><option value=fy>Frisian</option><option value=gl>Galician</option><option value=ka>Georgian</option><option value=de>German</option><option value=el>Greek</option><option value=gu>Gujarati</option><option value=ht>Haitian Creole</option><option value=ha>Hausa</option><option value=haw>Hawaiian</option><option value=iw>Hebrew</option><option value=hi>Hindi</option><option value=hmn>Hmong</option><option value=hu>Hungarian</option><option value=is>Icelandic</option><option value=ig>Igbo</option><option value=id>Indonesian</option><option value=ga>Irish</option><option value=it>Italian</option><option value=ja>Japanese</option><option value=jw>Javanese</option><option value=kn>Kannada</option><option value=kk>Kazakh</option><option value=km>Khmer</option><option value=ko>Korean</option><option value=ku>Kurdish (Kurmanji)</option><option value=ky>Kyrgyz</option><option value=lo>Lao</option><option value=la>Latin</option><option value=lv>Latvian</option><option value=lt>Lithuanian</option><option value=lb>Luxembourgish</option><option value=mk>Macedonian</option><option value=mg>Malagasy</option><option value=ms>Malay</option><option value=ml>Malayalam</option><option value=mt>Maltese</option><option value=mi>Maori</option><option value=mr>Marathi</option><option value=mn>Mongolian</option><option value=my>Myanmar (Burmese)</option><option value=ne>Nepali</option><option value=no>Norwegian</option><option value=ps>Pashto</option><option value=fa>Persian</option><option value=pl>Polish</option><option value=pt>Portuguese</option><option value=pa>Punjabi</option><option value=ro>Romanian</option><option value=ru>Russian</option><option value=sm>Samoan</option><option value=gd>Scots Gaelic</option><option value=sr>Serbian</option><option value=st>Sesotho</option><option value=sn>Shona</option><option value=sd>Sindhi</option><option value=si>Sinhala</option><option value=sk>Slovak</option><option value=sl>Slovenian</option><option value=so>Somali</option><option SELECTED value=es>Spanish</option><option value=su>Sundanese</option><option value=sw>Swahili</option><option value=sv>Swedish</option><option value=tg>Tajik</option><option value=ta>Tamil</option><option value=te>Telugu</option><option value=th>Thai</option><option value=tr>Turkish</option><option value=uk>Ukrainian</option><option value=ur>Urdu</option><option value=uz>Uzbek</option><option value=vi>Vietnamese</option><option value=cy>Welsh</option><option value=xh>Xhosa</option><option value=yi>Yiddish</option><option value=yo>Yoruba</option><option value=zu>Zulu</option></select><div id="gt-sl-gms" class="goog-inline-block goog-flat-menu-button goog-flat-menu-button-collapse-left gt-gms-icon je"><div class="goog-inline-block goog-flat-menu-button-caption"> </div><div class="goog-inline-block goog-flat-menu-button-dropdown"></div></div></div><div id=gt-swap title="Swap languages"class="jfk-button-standard jfk-button-narrow jfk-button jfk-button-disabled trans-swap-button je"><span class="jfk-button-img"></span></div></div><div id=gt-lang-right class=goog-inline-block><div id=gt-lang-tgt><div id=gt-tl-sugg class="gt-lang-sugg-message goog-inline-block je"><div class="goog-inline-block jfk-button jfk-button-standard jfk-button-checked jfk-button-collapse-right">English</div><div class="goog-inline-block jfk-button jfk-button-standard jfk-button-collapse-left jfk-button-collapse-right">Spanish</div><div class="goog-inline-block jfk-button jfk-button-standard jfk-button-collapse-left jfk-button-collapse-right">French</div></div><label for=gt-tl class="gt-lang-lbl nje"></label><select id=gt-tl name=tl class="jfk-button jfk-button-standard nje" tabindex=0><option value=af>Afrikaans</option><option value=sq>Albanian</option><option value=am>Amharic</option><option value=ar>Arabic</option><option value=hy>Armenian</option><option value=az>Azerbaijani</option><option value=eu>Basque</option><option value=be>Belarusian</option><option value=bn>Bengali</option><option value=bs>Bosnian</option><option value=bg>Bulgarian</option><option value=ca>Catalan</option><option value=ceb>Cebuano</option><option value=ny>Chichewa</option><option value=zh-CN>Chinese (Simplified)</option><option value=zh-TW>Chinese (Traditional)</option><option value=co>Corsican</option><option value=hr>Croatian</option><option value=cs>Czech</option><option value=da>Danish</option><option value=nl>Dutch</option><option SELECTED value=en>English</option><option value=eo>Esperanto</option><option value=et>Estonian</option><option value=tl>Filipino</option><option value=fi>Finnish</option><option value=fr>French</option><option value=fy>Frisian</option><option value=gl>Galician</option><option value=ka>Georgian</option><option value=de>German</option><option value=el>Greek</option><option value=gu>Gujarati</option><option value=ht>Haitian Creole</option><option value=ha>Hausa</option><option value=haw>Hawaiian</option><option value=iw>Hebrew</option><option value=hi>Hindi</option><option value=hmn>Hmong</option><option value=hu>Hungarian</option><option value=is>Icelandic</option><option value=ig>Igbo</option><option value=id>Indonesian</option><option value=ga>Irish</option><option value=it>Italian</option><option value=ja>Japanese</option><option value=jw>Javanese</option><option value=kn>Kannada</option><option value=kk>Kazakh</option><option value=km>Khmer</option><option value=ko>Korean</option><option value=ku>Kurdish (Kurmanji)</option><option value=ky>Kyrgyz</option><option value=lo>Lao</option><option value=la>Latin</option><option value=lv>Latvian</option><option value=lt>Lithuanian</option><option value=lb>Luxembourgish</option><option value=mk>Macedonian</option><option value=mg>Malagasy</option><option value=ms>Malay</option><option value=ml>Malayalam</option><option value=mt>Maltese</option><option value=mi>Maori</option><option value=mr>Marathi</option><option value=mn>Mongolian</option><option value=my>Myanmar (Burmese)</option><option value=ne>Nepali</option><option value=no>Norwegian</option><option value=ps>Pashto</option><option value=fa>Persian</option><option value=pl>Polish</option><option value=pt>Portuguese</option><option value=pa>Punjabi</option><option value=ro>Romanian</option><option value=ru>Russian</option><option value=sm>Samoan</option><option value=gd>Scots Gaelic</option><option value=sr>Serbian</option><option value=st>Sesotho</option><option value=sn>Shona</option><option value=sd>Sindhi</option><option value=si>Sinhala</option><option value=sk>Slovak</option><option value=sl>Slovenian</option><option value=so>Somali</option><option value=es>Spanish</option><option value=su>Sundanese</option><option value=sw>Swahili</option><option value=sv>Swedish</option><option value=tg>Tajik</option><option value=ta>Tamil</option><option value=te>Telugu</option><option value=th>Thai</option><option value=tr>Turkish</option><option value=uk>Ukrainian</option><option value=ur>Urdu</option><option value=uz>Uzbek</option><option value=vi>Vietnamese</option><option value=cy>Welsh</option><option value=xh>Xhosa</option><option value=yi>Yiddish</option><option value=yo>Yoruba</option><option value=zu>Zulu</option></select><div id="gt-tl-gms" class="goog-inline-block goog-flat-menu-button goog-flat-menu-button-collapse-left gt-gms-icon je"><div class="goog-inline-block goog-flat-menu-button-caption"> </div><div class="goog-inline-block goog-flat-menu-button-dropdown"></div></div></div><div id=gt-lang-submit><input type=submit id=gt-submit value="Translate" tabindex=0 class="jfk-button jfk-button-action"></div></div></div><div id=gt-text-top><div id=gt-src-c class=g-unit><div id=gt-src-p><input type=hidden name=js value=n id=js><input type=hidden name=prev value="_t" id=prev><input type=hidden name=hl value="en" id=hl><input type=hidden name=ie value="UTF-8"><div id=gt-src-wrap ><label for=source style="display:none">Translate text or webpage</label><div id=gt-src-is style="display:none" class="gt-is gt-is-desktop"><div id=gt-src-is-list class=gt-is-ctr></div></div><div style="width: 100%;"><textarea id=source name=text wrap=SOFT tabindex=0 dir="ltr" spellcheck="false" autocapitalize="off" autocomplete="off" autocorrect="off"></textarea><textarea id=source-is name=text-is disabled wrap=SOFT dir="ltr" spellcheck="false" autocapitalize="off" autocomplete="off" autocorrect="off" ></textarea></div><script>(function(){var src = document.getElementById('source');src.focus();src.select();src.style.boxSizing=src.style.WebkitBoxSizing=src.style.MozBoxSizing=src.style.MsBoxSizing='border-box';})"

Please add Hungarian to Google TTS.

Does this still require a download of a jar or is the Google Cloud TTS voice addon in OpenHAB 2.4 the same?

Thanks

JR

It should be available via PaperUI in 2.4+

Thanks. Per the documentation do we have to create a project and the like in Google cloud platform? Looks like it’s not free.

Thanks.

JR

Yes, you have to create a project to receive your access key.

The first one million characters are free tier before billing takes into account. Additionally the Google TTS uses an internal caching for repeated statements.

Thanks Christoph. Appreciate the information. To many other options to mess with this and give out credit card info to use.

JR

Is there a services .cfg file we can use for configuration instead of PaperUI?

Hi @amosk,

In general you can configure each service / binding / add-on via textual config file - I never tested it for Goggle TTS. If I remember correctly the name does not matter. Only the related configuration parameters are important - they can be found here. Good luck. Please keep me posted if you will give it a try.

// EDIT: You probably have to prepend the service.pid in front of a configuration parameter. E.g. if the configuration parameter is called volumeGain and the service.pid is org.openhab.voice.googletts the resulting line in your config file will be:

org.openhab.voice.googletts:volumeGain=0.0

Thanks for the Info, I can confirm that this works:

org.openhab.voice.googletts:serviceAccountKey=[JSON CONTENT]
org.openhab.voice.googletts:pitch=0
org.openhab.voice.googletts:volumeGain=0
org.openhab.voice.googletts:speakingRate=1
org.openhab.voice.googletts:purgeCache=false
2 Likes

would it be possible to adjust these configuration settings temporarily through rules?

org.openhab.voice.googletts:serviceAccountKey=[JSON CONTENT]
org.openhab.voice.googletts:pitch=0
org.openhab.voice.googletts:volumeGain=0
org.openhab.voice.googletts:speakingRate=1
org.openhab.voice.googletts:purgeCache=false
1 Like

Hi @maurits_irizarri_van,

as far as I understand rules only have access to items. If the binding does not provide a channel to access the properties/information, I don’t think that you can use them in rules. (GoogleTTS does not provide such a channel)

1 Like