Some additional info after using for a while and adding feedback for device status, i.e. on or off.
Create a device for the Veralite, enter the ip and use 3480 as the port.
For a dimmer (change DeviceNum=?? and newLoadLevelTarget=?? for each device and dimming level)
GET /data_request?id=action&DeviceNum=9&serviceId=urn:upnp-org:serviceId:Dimming1&action=SetLoadLevelTarget&newLoadlevelTarget=10 HTTP/1.1\x0D\x0AConnection: close\x0D\x0A
For a plug (change DeviceNum=?? and newTarget=1 for oon and 0 for off for each device)
GET /data_request?id=action&output_format=xml&DeviceNum=23&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=SetTarget&newTargetValue=1 HTTP/1.1\x0D\x0AConnection: close\x0D\x0A
To get status
GET /data_request?id=sdata&output_format=xml HTTP/1.1\x0D\x0AConnection: close\x0D\x0A
To set a scene (change SceneNum=?? for each scene - these have to be set up on Veralite)
GET /data_request?id=lu_action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=RunScene&SceneNum=2 HTTP/1.1\x0D\x0AConnection: close\x0D\x0A
Feedback matches a pattern to the relevant number for each dimmer level and this can be linked to a gauge if you use one for dimming. These are the feedbacks I use but you will need to change the name depending on your set-up. If you put YOURVERAIP:3480/data_request?id=sdata&output_format=xml in a browser address, it will return the file that the feedback is based on and you will see your device names here. When retrieving status, I found you had to add an action to the feedback for it to work, I have no idea why!? I have a number for each status, e.g. MainDimmerStatus min value 0 max value 1 default value 0 and in the feedback action "set a number" MainDimmerStatus={+]0
Set device response terminator to </root>
.*"Main Dimmer".*level="(.*)".
.*"Pyramid Dimmer".*level="(.*)".
.*"Wood Dimmer".*level="(.*)".
.*"OfficeMain".*level="(.*)".
.*"OfficeOutside".*level="(.*)".
<dev.*"GarageLights".*status="(.*)".
<dev.*"iTachPlug".*status="(.*)".
"KitchenCabinet".*status="(.*)".
.*Main Dimmer".*status="(.*)"\s
Pyramid Dimmer".*status="(.*)"\s
Wood Dimmer".*status="(.*)"\s
OfficeMain".*status="(.*)".
OfficeOutside".*status="(.*)".
Hope that's of use
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)