http event notifications

hello all,

I would like to be notified via http when any vera events trigger (door opened/closed, light is closed, motion sensed, etc)
I looked into the various apps, and none do what I want. there is VeraAlerts that comes close, but I dont think it supports http

do i need to look into lua/luup for this?

thanks

ok, so i found the app ‘Program Logic Event Generator’, which I think could do what I want
but i’m stuck in the action part
reading the forums here, i understood we can use the socket.http lua module, so i tried to run this script in my action:

local http = require("socket.http")
http.TIMEOUT = 5
result,status = http.request("http://192.168.1.103:3316/hello")
return true

when I press the ‘do it now’ button, i get a ‘request sent’, but nothing is received at the other end.

what I am doing wrong? how can I debug this?
is there a better way to achieve this?

Did you look in the Vera LOG file.

If you are going to program in LUA … you will need to get used to look for results there.