Speak does not work in Fully Kiosk or WallPanel

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
hsvt
Posts: 11
Joined: Tuesday 09 August 2016 23:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Speak does not work in Fully Kiosk or WallPanel

Post 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.
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Speak does not work in Fully Kiosk or WallPanel

Post 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.
hsvt
Posts: 11
Joined: Tuesday 09 August 2016 23:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Speak does not work in Fully Kiosk or WallPanel

Post by hsvt »

Yes.

In Chrome on the same tablet it works fine.
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Speak does not work in Fully Kiosk or WallPanel

Post 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"
hsvt
Posts: 11
Joined: Tuesday 09 August 2016 23:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Speak does not work in Fully Kiosk or WallPanel

Post 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.
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Speak does not work in Fully Kiosk or WallPanel

Post 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
Last edited by Lokonli on Sunday 10 January 2021 8:56, edited 1 time in total.
User avatar
madpatrick
Posts: 659
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Speak does not work in Fully Kiosk or WallPanel

Post 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.

Image
The script doesn't run when I switch on or off
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.14b on Tab8" =-
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Speak does not work in Fully Kiosk or WallPanel

Post 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
User avatar
madpatrick
Posts: 659
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Speak does not work in Fully Kiosk or WallPanel

Post by madpatrick »

Thanks Lokonli. It is working now.
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.14b on Tab8" =-
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest