Basic command
Posted: 23 Apr 2013 20:21
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
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