I'm trying to do something like this
listen_for /turn on the living room lights/i do
system('/usr/bin/tdtool -n 1')
say "Your lights is now turned on"
request_completed
end
but the command inside system does not run, instead I get the following message:
Turning on device 1, - The method you tried to use is not supported by the device
If I run the exact same method from the shell it works great, any ideas?