How to invoke own UPnP action?

After creating my own sensor type it’s not possible to invoke the defined actions using Intels UPnP Device Spy.
It throws invocation error 501: No implemetation.

Any ideas where I have to implement the missing function?

Okay, found it out on myself.
I’m willing to explain, if someone’s interessted. Just drop a line.

I’m interested in how you created your own sensor types, and how to use Intel’s tools to touch it.

Thanks,
Brian

The basic structure of a device (most likely some type of sensor) is shown in the attached picture.
To get a deeper impression of what is necessary I would recommend to have a look at already existing plugins like the weather plugin or the Global Cache GC100 ( Look in Vera under Devices → Luup Plugins → Install/Uninstall Plugins)
They are very good to learn from.

Your other question was about the UPnP Tools from Intel. To invoke UPnP actions I used ‘UPnP Spy’ coming with the installation package. There you can browse your UPnP devices in explorer style. IMHO It’s rather selfexplaining.
When you get stuck at some point you can ask again.

I guess my answer is not exactly what you where asking me for, but I’m not willing to write a complete walkthrough in plugin development. Other people have done this before :wink: http://wiki.micasaverde.com/index.php/Luup_Somfy_Walkthrough

To get back to the topic I orignally came from:

To enable your device’s actions to be triggered or changed by UPnP you have to implement the bold tags and quotes within your implementation file.

Example of an implementation file:

cr init function init(parentDevice) -- do things end [b][/b] [b][/b] [b][/b]urn:demo-ted-striker:serviceId:AwarenessSensor1[b][/b]
Name of the method defined in the service file GetActive
Code to be executed when action gets invoked luup.variable_get("urn:demo-ted-striker:serviceId:AwarenessSensor1","Active",parentDevice)
[b][/b] [b][/b]