Switch All On does not work

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
ark
Posts: 2
Joined: 10 May 2013 18:57

Switch All On does not work

Post by ark »

When I hit Switch All On button on the Zwave gui, it triggers the following command:
http://192.168.1.13:8083/ZWaveAPI/Run/d ... 7].Set[255]

However this returns the following error:
Error 500: Internal Server Error
Uncaught TypeError: Cannot read property 'instances' of undefined


Any ideas?

Thanks.
ARK
User avatar
PoltoS
Posts: 7624
Joined: 26 Jan 2011 19:36

This button comes from Z

Post by PoltoS »

This button comes from Z-Cloud. We will hide it in future.
ark
Posts: 2
Joined: 10 May 2013 18:57

What would be the best way to

Post by ark »

What would be the best way to program Switch All On in the java script? Is there a sample code that you can provide please?

Thanks.
User avatar
PoltoS
Posts: 7624
Joined: 26 Jan 2011 19:36

for (var devId in zway

Post by PoltoS »

for (var devId in zway.devices) {
zway.devices[devId].Basic.Set(VVV)
}
Post Reply