notification via HTTP possible?

I have a Vera 2 and I’ve been rummaging around looking for a good way to get notifications for a couple of events from the Vera over to a server on the same LAN. I definitely do not want to route notifications through the internet to mios.com or micasaverde.com or wherever.

I can probably bodge something up with SMTP if I have to. I have seen a plug-in that does UDP, which seems a little weird.

What I would prefer is to have my Vera 2 do an HTTP GET (or POST) on a local HTTP server. Something like
GET http://10.1.10.1:8080/vera_notification?event=someNotificationName

I can’t see any provision for this in the docs. I can’t find any convenient plug-in. Is there something I should look into?

Thanks

For HTTP GETS you can use [tt]luup.inet.wget[/tt], or better, the Lua socket library.

If you’re really after notifications, then do a search for the alternate event server.

If you want a plugin, then EventWatcher implements an event server, but does, indeed, send to syslog using UDP… which is not really weird at all.

luup.inet.wget() seems to work a treat. I stuck this in the “Luup” box of a “scene” and it invokes my servlet when I “run” the scene alright. Thank you for the pointer.

Now I have to work out how to make my scene run when my motion detector trips. It seems that I have the trigger condition screwed up somehow because it doesn’t seem to trigger when I expect it to.