HTTP request to Dim lights not working

Can someone please tell me why this isn’t working:

http://192.168.0.30:3480/data_request?id=lu_action&DeviceNum=11&serviceId=urn:upnp-org:serviceId:Dimming1&action=SetLoadLevelTarget&newLoadLevelTarget=50

I am reading this from http://wiki.micasaverde.com/index.php/UI_Simple and everything else I have done from that site has worked. I can turn the light on and off using:

http://192.168.0.30:3480/data_request?id=lu_action&DeviceNum=11&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=SetTarget&newTargetValue=1

However I cannot seem to dim the light. The UI shows that the command was sent successfully, but nothing happens. Thanks, Victor.

try using newTargetValue instead of newLoadLevelTarget, documentation is inconsistent on which is the proper syntax

That seems to make it work on and off, but not dimming. If I put anything other than 0, it will go to 100%.

This is what I get as a response, if it helps.

<?xml version="1.0"?>

<u:SetLoadLevelTargetResponse xmlns:u=“urn:schemas-upnp-org:service:Dimming:1”>
3287
</u:SetLoadLevelTargetResponse>

Your parameter should be newLoadlevelTarget not newLoadLevelTarget. Casing is important.

That did it! Thanks!

Picky-assed computers :smiley: