http syntax for dimmer switch Razberry

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
n4zg
Posts: 9
Joined: 24 Jun 2014 14:09

http syntax for dimmer switch Razberry

Post by n4zg »

Hi im a bit stuck i am trying to access a dimmer switch with the following url on the razberry module

Code: Select all

http://<ipaddress>/ZWaveAPI/Run/devices[4].instances[0].commandClasses[0x20].Set(78)
but not working any suggestions please .

Thanks
Eric
Posts: 20
Joined: 04 Mar 2014 19:50

Re: http syntax for dimmer switch Razberry

Post by Eric »

You should use the SwitchMultilevel command class instead of Basic, so:

Code: Select all

http://<ipaddress>/ZWaveAPI/Run/devices[4].instances[0].commandClasses[0x26].Set(78)
n4zg
Posts: 9
Joined: 24 Jun 2014 14:09

Re: http syntax for dimmer switch Razberry

Post by n4zg »

Thanks for the reply, that kind of works but i have to referesh the page to activate it and it doesnt seem accurate for example i do set 78.. it sets it to 78 then when i reduce it 40 the amount in the interface shows 70, does it need a command to switch it on or off . thanks for the info..
Post Reply