As you can see, the function names are the same. Now no mater what ServiceID I use to execute the action, only the last function is called. Is this a bug or am I missing something?
Thanks for the reply! I tried it with the underscore first since I took it from D_HVAC_ZoneThermostat1.xml but I took it off because I thought that might be causing the problem. I thought the ServiceID could be any URN that uniquely describe the service so it doesn’t have to be from the UPnP specs?
If you look at the name of the generated action function:
function STemperatureSetpoint1_SetCurrentSetpoint_run(lul_device,lul_settings)
Luup seems to generate the name using the ServiceType, Action, and Action tag (run, job, etc…) The ServiceID is not actually part of the function name at all. Since UPnP allows more than one service of the same type but with different IDs, this seems like a bug to me.
Have anyone else ran into this problem? Can anyone verify? How is this working for Z-Wave thermostats? This is blocking my plugin development. Any help would be greatly appreciated!
This has been solved in the latest beta build. The problem was that the function names were generated using the file name as a prefix. This problem occurred only when two services shared the same description file.
Best Home Automation shopping experience. Shop at Ezlo!