Author Topic: Creating scenes via API  (Read 1966 times)

Offline amer

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Creating scenes via API
« on: January 19, 2010, 06:43:45 am »
Is there a way to create a luup scene externally without going into Vera's UI?

What i am trying to do is to listen to vera events (sensors being tripped & untripped) via an external application. The only way i figured till now is by creating a dummy luup scene for each sensor and inject luup code to call my extrnal application http page

for example
luup.inet.wget("http://external_app_IP/event.aspx?device=motion1&type=tripped")

But this requires manual creation of two scenes (at least) for each sensor. Can this be done via some http API vera provides or at least in one global luup code? I saw something called intercept and incoming but didn't really get the idea.

Thanks