Page 1 of 1
Speak does not work in Fully Kiosk or WallPanel
Posted: Saturday 09 January 2021 12:54
by hsvt
I have tried to use the speakOn function in combination with block.
It works in Google Chrome on the laptop and tablet.
But when I start Dashticz with Fuly Kiosk or WallPanel it doesn't works.
PlaysoundOn works well.
I want to have Dashticz full screen on a tablet, with the speakOn.
How can I get it Works??
Or is it possible to starts Dashticz full screen in Chrome.
Re: Speak does not work in Fully Kiosk or WallPanel
Posted: Saturday 09 January 2021 13:33
by Lokonli
Did you already set text-to-speak engine in your panel Android settings to google tts? You might have to download google tts as well.
Re: Speak does not work in Fully Kiosk or WallPanel
Posted: Saturday 09 January 2021 13:48
by hsvt
Yes.
In Chrome on the same tablet it works fine.
Re: Speak does not work in Fully Kiosk or WallPanel
Posted: Saturday 09 January 2021 14:36
by Lokonli
hsvt wrote: ↑Saturday 09 January 2021 13:48
Yes.
In Chrome on the same tablet it works fine.
I forgot: For me speakOn on tablet with Fully Kiosk didn't work neither.
I have a little scripts that that calls the Fully Kiosk web interface:
Code: Select all
#!/bin/bash
cmd="$*"
cmd=${cmd// /%20}
curl "http://tablet.lokonli.home:2323/?cmd=textToSpeech&text=($cmd)&password=password&type=json"
Re: Speak does not work in Fully Kiosk or WallPanel
Posted: Saturday 09 January 2021 22:01
by hsvt
Lokonli wrote: ↑Saturday 09 January 2021 14:36
I have a little scripts that that calls the Fully Kiosk web interface:
Code: Select all
#!/bin/bash
cmd="$*"
cmd=${cmd// /%20}
curl "http://tablet.lokonli.home:2323/?cmd=textToSpeech&text=($cmd)&password=password&type=json"
I don't know where I have to put this.
Re: Speak does not work in Fully Kiosk or WallPanel
Posted: Sunday 10 January 2021 8:56
by Lokonli
First activate the internal webserver in Fully Kiosk. Somewhere in the Fully Kiosk settings. You have to set a password as well.
Probably only works on the paid version.
Find the IP address of your tablet.
Then first test the Fully Kiosk server, by browsing from another laptop/PC:
http://fullykioskip:2323
There you should be able to login. Look for a command or menu entry 'Speak Text'.
The text you enter there will be spoken by Fully on your tablet. First check this.
If this is working, then copy the small script below to for instance /home/pi/scripts/fullyspeak.sh. Change the IP address (tablet.lokonly.com) and the password, (password=Secret)
Script:
Code: Select all
#!/bin/bash
cmd="$*"
cmd=${cmd// /%20}
curl "http://tablet.lokonli.home:2323/?cmd=textToSpeech&text=($cmd)&password=Secret&type=json"
give execution rights:
Code: Select all
chmod a+x /home/pi/scripts/fullyspeak.sh
Test the script:
Code: Select all
/home/pi/scripts/fullyspeak.sh the script works
Then in Domoticz you can use the script in for instance the On-command of a switch:
Code: Select all
script:///home/pi/scripts/fullyspeak.sh this switch is on
Re: Speak does not work in Fully Kiosk or WallPanel
Posted: Sunday 10 January 2021 9:43
by madpatrick
Lokonli wrote: ↑Sunday 10 January 2021 8:56
Then in Domoticz you can use the script in for instance the On-command of a switch:
Code: Select all
/home/pi/scripts/fullyspeak.sh this switch is on
Hi Lokonli,
Great feature. Pitty this doesn't work out of the box with Fully.
Everything works excepts the last step.

The script doesn't run when I switch on or off
Re: Speak does not work in Fully Kiosk or WallPanel
Posted: Sunday 10 January 2021 13:12
by Lokonli
I've to use three slashes for the actions in Domoticz:
(The third slash to have an absolute path)
Code: Select all
script:///home/lokonli/scripts/fullyspeak.sh switch is on
Re: Speak does not work in Fully Kiosk or WallPanel
Posted: Sunday 10 January 2021 13:17
by madpatrick
Thanks Lokonli. It is working now.