Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105696

Fuly kiosk RESTful Command

$
0
0

Hi.
I try to use the Fuly kiosk text to speech in a restful command for few atutomations.

Single command work well:

rest_command:
  filter_cleaned:
    url: http://192.168.1.5:2323/?cmd=textToSpeech&text=xiaomi+purifier+filter,+is+now+clean&password=1234
    method: post

But i dont want to have many lines in my config.yaml so i tryto write a single rest_command for more text messages. So far i did not managed to make it work. No error in logs but also no voice in tablet
my code for “universal tts cmd”

  fully_tts:
    url: http://192.168.1.5:2323/?cmd=textToSpeech&password=1234
    method: POST
    payload: '{{payload}}'
    content_type:  'text/plain'

and i try to run the service with:

service: rest_command.fully_tts
data: 
  payload: "&text=welcome"

Home you guys can help me with this one.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 105696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>