Hi, in my home setup i'm using not only z-wave but tellstick and lirc IR controler. And i wonder if is any app on the SmartHome UI list that can be used as a trigger to execute shell scripts like IF>then etc. I want to be able trigger z-wave motion sensor to turn on RF controller or TV via IR. Or if You can tell mi how to monitor this sensor via HTTP commands.
It can be as well "URL POST/GET" app to exec my php scripts...
Thank You in advance
LSP
App to execute shell scripts ? SmartHome UI
Re: App to execute shell scripts ? SmartHome UI
Maybe you can use the JS CodeDevice as toogleButton to call your PHP via JS. HTTP requests should be easy to do with JavaScript?!
Re: App to execute shell scripts ? SmartHome UI
Hi thank You for reply, but can You tell more details or something like step by step example , I'm noob in js and have no idea how to use "Code Device" or "HTTP Device"...AlphaX2 wrote:Maybe you can use the JS CodeDevice as toogleButton to call your PHP via JS. HTTP requests should be easy to do with JavaScript?!
i want to exec an command [/usr/local/bin/tdtool -n 1] everything in on the same machine or...
call http://localhost/interface/tasker/light ... rLight.php
what will be easier for me. That command or http post/get should be initiated from fibaro motion sensor - status on