Ok, thanks a lot, I will try to make a module for that script then. Works perfectly. As I have 5 of these, could I kindly ask you to modify, or be told how to modify the script to also work for the rest of my TKBHOME switches ?
Thanks again!
BTW, Do you know of any good ip44 switches which does provide these settings. I have only found the Duwi switch so far...
Getting status updates from TKB Home TZ68G
Re: Getting status updates from TKB Home TZ68G
Wrap it into a function:
And call it for each your device:
Ideally a module should enumerate all devices, filter them on vendorId/productId/whatever criteria and call that function for each of them. Also it should listen for new devices, and if a matching one appears, it should also call the function for it.
Code: Select all
function Fix_TKB_TZ68(deviceId) {
var dev = zway.devices[deviceId];
dev.data.nodeInfoFrame.bind(function(type) {
if (type == 0x41 /* Updated | PhantomUpdate */) {
dev.SwitchBinary.Get();
}
});
}
Code: Select all
Fix_TKB_TZ68(10);
Fix_TKB_TZ68(12);
... etc
Re: Getting status updates from TKB Home TZ68G
Ok, I think I'll have to take som java script classes then
Thanks again!

Re: Getting status updates from TKB Home TZ68G
I found this thread because I have the same problem with my TKB TZ66D switch. It has several group associations and none of the switching it does (for it's own relay or over the network) is updated by zway-server.
edit: It's also doing what at a brief glance would be the same thing:
other hand, we decided not to make hacks in Z-Way, encouraging users to use certified and up-to-date devices. Bu
I'd like to see a lot more options for workarounds personally. I'm perfectly fine if they are toggle-on only. But almost every z-wave item I've bought have very funny¹ quirks.
I'm on the verge of switching (or at least trying out) some other network technology. Even Nexa/Tellstick seems more reliable at this point.
(¹ as in this cheese smells funny)
edit: It's also doing what at a brief glance would be the same thing:
Code: Select all
[2014-10-22 10:23:57.482] RECEIVED: ( 01 10 00 49 84 05 0A 04 10 01 25 85 27 70 73 86 72 48 )
[2014-10-22 10:23:57.482] SENT ACK
[2014-10-22 10:23:57.482] Node info received: 5
[2014-10-22 10:23:57.482] SETDATA devices.5.data.basicType = 4 (0x00000004)
[2014-10-22 10:23:57.483] SETDATA devices.5.data.genericType = 16 (0x00000010)
[2014-10-22 10:23:57.483] SETDATA devices.5.data.specificType = 1 (0x00000001)
[2014-10-22 10:23:57.486] SETDATA devices.5.data.deviceTypeString = "Binary Power Switch"
[2014-10-22 10:23:57.486] SETDATA devices.5.data.nodeInfoFrame = byte[7]
( 25 85 27 70 73 86 72 )
[2014-10-22 10:23:57.486] SETDATA devices.5.data.lastReceived = 0 (0x00000000)
[2014-10-22 10:23:57.554] RECEIVED: ( 01 09 00 04 00 05 03 20 01 00 D5 )
[2014-10-22 10:23:57.554] SENT ACK
[2014-10-22 10:23:57.554] SETDATA devices.5.data.lastReceived = 0 (0x00000000)
[2014-10-22 10:23:57.555] SETDATA devices.1.instances.0.commandClasses.32.data.srcNodeId = 5 (0x00000005)
[2014-10-22 10:23:57.555] SETDATA devices.1.instances.0.commandClasses.32.data.srcInstanceId = 0 (0x00000000)
[2014-10-22 10:23:57.555] SETDATA devices.1.instances.0.commandClasses.32.data.level = 0 (0x00000000)
[2014-10-22 10:23:57.872] Executing script: zway.InspectQueue()
I'd like to use certified and up-to-date devices but these seems rare and far apart and hard to tell from any other device. So far only the power switches (AN157) have worked 100% and I suspect that's because they don't do anything other than switch. Power meters (AN158), Aeon MultiSensors (and the Aeon USB-stick), TKB Switches, Popp/Duwi IP44 switches have flaked, crashed, fluked and/or simply vanished from the network. The Philio Tech sensor and relay never worked properly.pofs wrote:On the other hand, we decided not to make hacks in Z-Way, encouraging users to use certified and up-to-date devices. But workarounds can still be made on JS level.
other hand, we decided not to make hacks in Z-Way, encouraging users to use certified and up-to-date devices. Bu
I'd like to see a lot more options for workarounds personally. I'm perfectly fine if they are toggle-on only. But almost every z-wave item I've bought have very funny¹ quirks.
I'm on the verge of switching (or at least trying out) some other network technology. Even Nexa/Tellstick seems more reliable at this point.
(¹ as in this cheese smells funny)