Creating scenes via API

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

Hey amer,

We use the API with Veras to create scenes as you’re referring

Here’s the API link for ezlo to create scenes

https://api.ezlo.com/hub/scenes/local_scenes_api/index.html#hubscenescreate

I don’t think this is working yet but wondering if you’ve had any luck?

Thanks,
Todd