Hello,
from the beginning I can not seem to control my device with the URL.
The device 3 is fibaro FDG211
I run this command :
"http://Raspberry IP: 8083/ZWaveAPI/Run/devices[3].instances[0].commandClasses[0x20].Set (255)"
or
"http://Raspberry IP: 8083/ZWaveAPI/Run/devices[3].instances[0].commandClasses[0x20].Set (0)"
the result is :
"Uncaught TypeError: Can not read property 'instances' of undefined"
and the light does not illuminate
I tried all the API documentation razberry but nothing works.
Is this normal?
How to solve the problem?
Thank you
URL problem
Have you tried...
...this syntax?
(The FGD 211 is a dimmer, rigth?)
/ZWaveAPI/Run/devices[2].instances[1].SwitchMultiLevel.Set(255)
/ZWaveAPI/Run/devices[2].instances[1].SwitchMultiLevel.Set(0)
(The FGD 211 is a dimmer, rigth?)
/ZWaveAPI/Run/devices[2].instances[1].SwitchMultiLevel.Set(255)
/ZWaveAPI/Run/devices[2].instances[1].SwitchMultiLevel.Set(0)
May be special Fibaro. I know
May be special Fibaro. I know from the dual switch FGS 221, that they use instances[1] for the first channel, and instances[2] for the second. I suggest just try both 1 and 0.
Since 29-12-2016 I am no longer a moderator for this forum
Here is the return message
Here is the return message google chrome with
/ZWaveAPI/Run/devices[3].instances[1].SwitchMultiLevel.Set(255) :
"Uncaught TypeError: Cannot read property 'instances' of undefined"
I do not understand why it does not work even with instances 0 or 2
/ZWaveAPI/Run/devices[3].instances[1].SwitchMultiLevel.Set(255) :
"Uncaught TypeError: Cannot read property 'instances' of undefined"
I do not understand why it does not work even with instances 0 or 2
hello, Thank you for your
hello, Thank you for your help
With /ZWaveAPI/Run/devices[3] return google chrome is lots of data
with /ZWaveAPI/Run/devices[3].instances[1] return google chrome is "null"
but when instances is [0] return google chrome is lots of data with commandsClasses
And /ZWaveAPI/Run/devices[3].instances[0].commandsClasses return ggolge chrome is "null"
but /ZWaveAPI/Run/devices[3].instances[1].commandsClasses return ggolge chrome is "Uncaught TypeError: Cannot read property 'commandsClasses' of undefined"
My Razberry also tells me expert commands mode:
"Error: expert_commands_list_not_provided_by_server"
thank you
With /ZWaveAPI/Run/devices[3] return google chrome is lots of data
with /ZWaveAPI/Run/devices[3].instances[1] return google chrome is "null"
but when instances is [0] return google chrome is lots of data with commandsClasses
And /ZWaveAPI/Run/devices[3].instances[0].commandsClasses return ggolge chrome is "null"
but /ZWaveAPI/Run/devices[3].instances[1].commandsClasses return ggolge chrome is "Uncaught TypeError: Cannot read property 'commandsClasses' of undefined"
My Razberry also tells me expert commands mode:
"Error: expert_commands_list_not_provided_by_server"
thank you
u have to type commandClasses
u have to type
commandClasses
commandClasses
Hello,
Hello,
everything works! : D: D: D
/ ZWaveAPI / Run / devices [3]. Instances [0]. SwitchMultilevel.Set ("value")
and not
/ ZWaveAPI / Run / devices [3]. Instances [0]. SwitchMultiLevel.Set ("value")
big difference between "L" and "l" of "level"
A big thank you for your help
Pitt13
everything works! : D: D: D
/ ZWaveAPI / Run / devices [3]. Instances [0]. SwitchMultilevel.Set ("value")
and not
/ ZWaveAPI / Run / devices [3]. Instances [0]. SwitchMultiLevel.Set ("value")
big difference between "L" and "l" of "level"
A big thank you for your help
Pitt13