Hi,
how can i execute this code currectlly in the luup?
this code not working. i get an error in the code.
luup.call_action(http://192.168.0.199:8080/api/rest/speech/tts?text=sometext×=1&vol=90)
thx
Hi,
how can i execute this code currectlly in the luup?
this code not working. i get an error in the code.
luup.call_action(http://192.168.0.199:8080/api/rest/speech/tts?text=sometext×=1&vol=90)
thx
That call is documented here
http://wiki.micasaverde.com/index.php/Luup_Lua_extensions#function:_call_action
…with an example.
from your code it looks like you are trying to send an http action to another rest api server???
if this is the case, you may want to use luup.inet.wget instead of luup.call_action. The vera is not running the action, it is only sending an http call for the other server to process the TTS action.
luup.inet.wget(“http://192.168.0.199:8080/api/rest/speech/tts?text=sometext×=1&vol=90”)
many thanks… it’s working.
Best Home Automation shopping experience. Shop at Ezlo!
© 2024 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules