Basic command

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
delvedi
Posts: 3
Joined: 21 Mar 2013 15:25

Basic command

Post by delvedi »

Hi,

tried to play around with an AN158 everspring power switch. Seems to work when using
http://mediaserver:8083/JS/Run/zway.dev ... t%28255%29;
but when using
http://mediaserver:8083/JS/Run/zway.dev ... t%28255%29;
system returned "Uncaught TypeError: Cannot call method 'Set' of undefined". Why is the "Basic" command not recognized for this switch?

The log shows
[2013-04-23 19:19:27.928] SENT ACK
[2013-04-23 19:19:27.930] SETDATA devices.2.data.lastReceived = 0 (0x00000000)
[2013-04-23 19:19:27.932] SETDATA devices.2.instances.0.commandClasses.50.data.2
.val = 9.000000
[2013-04-23 19:19:27.933] SETDATA devices.2.instances.0.commandClasses.50.data.2
.delta = 0 (0x00000000)
[2013-04-23 19:19:27.936] SETDATA devices.2.instances.0.commandClasses.50.data.2
.ratetype = 1 (0x00000001)
[2013-04-23 19:19:27.937] SETDATA devices.2.instances.0.commandClasses.50.data.2
= Empty
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

try ...commandClasses.Basic

Post by PoltoS »

try ...commandClasses.Basic.Set(...)

You certainly use older version of RaZberry. Please update (run the same install script again) and you will be able to omit commandClasses word
delvedi
Posts: 3
Joined: 21 Mar 2013 15:25

Hi,

Post by delvedi »

Hi,

Tried with latest version and problem is gone.

Thanks for your help
Post Reply