We have moved at community.getvera.com

Author Topic: Dimmer HTTP Commands  (Read 2727 times)

Offline dsanzone

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Dimmer HTTP Commands
« on: February 16, 2010, 02:53:39 pm »
Hello, I am having difficulty dimming a z wave light from the http requests. I am able to turn the light on and off fine but when I send a value to dim the light to the light just goes to 100%. Has anyone seen this problem? If so is there a work around or what am I doing wrong? I just updated the vera firmware to 1.1.228. Here is the command and I am using it is in the form of a GET statement.

GET /data_request?id=lu_action&output_format=xml&DeviceNum=4&serviceId=urn:upnp-org:serviceId:Dimming1&action=SetLoadLevelTarget&newTargetValue=50 HTTP/1.1 Host: 192.168.5.20:49451\x0d\x0a\x0d\x0a

Any information would be very helpful. Thank you.

Offline denix

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1088
  • Karma: +1/-0
Re: Dimmer HTTP Commands
« Reply #1 on: February 16, 2010, 04:21:40 pm »
Veras (1, 2, 3, Lite, Plus), lots of different Z-Wave modules, Luup plugins and theater/security integration.

mcvovidiu

  • Guest
Re: Dimmer HTTP Commands
« Reply #2 on: February 26, 2010, 06:43:46 am »
This is the correct syntax to put a dimmable light xx to 50%

http://<IP of Vera>/port_49451/data_request?id=lu_action&DeviceNum=xx&action=SetLoadLevelTarget&serviceId=urn:upnp-org:serviceId:Dimming1&newLoadlevelTarget=50&output_format=xml

Offline guessed

  • Community Beta
  • Master Member
  • ******
  • Posts: 5301
  • Karma: +92/-22
  • Release compat is not a bolted-on afterthought
Re: Dimmer HTTP Commands
« Reply #3 on: February 26, 2010, 09:35:45 am »
Can I suggest that people hyperlink into the Wiki.micasaverde.com Documentation for these "snippet" examples?

Over time, this would force the documentation to get better, and to be correctly hyperlinkable (etc).

Anyone can get an account to update the doco also...