How to get started in plugin creation?

I’m trying to figure out how to create a plugin for Vera. Maybe I’m looking in the wrong place, but I haven’t found anything like a Luup Programmer’s Guide or any sort of documentation that describes the process, like writing a “Hello World” plugin. Does this exist? I need “Plugins for Dummies” ???

Have you found this wiki?

It’s not much, but it’s a start.

Are you really sure that you need a plugin? There’s really a great deal you can do with Luup code in scenes, and that’s much easier.

Unfortunately this does not. Your best bet is to look at an existing plugin. Have a look at for source code of some plugins. Also have a look on the wiki:

I don’t have direct links as I am on my phone.

  • Garrett

“Have you found this wiki?”

No, I had not. Thanks - that is indeed a start.

“Are you really sure that you need a plugin?”

I think so. I have a Trendnet web cam that works OK using the default IP camera plugin, but that doens’t support the camera’s PTZ functions, so I’d like to add that. Similarly, I have a Wansview web cam that doesn’t work at all with the default plugin, presumably because of its odd login procedure.

Thanks - there does appear to be some stuff related to web cams there.

Now I have another question - how dangerous is it to test out new plugins on one’s Vera? Is there anything you can do that might disrupt the network or somehow wedge the system? I’d be adding this stuff to a running system and I don’t want to accidentally brick my Vera.

Just make sure you have a good backup before starting, and save it to your computer.

If you start playing with the .json files and mess up, you may create invisible plugins.

Unless you start playing with the file system directly, you should be ok.