fibaro - the button
- Z-Wave Support
- Posts: 353
- Joined: 21 Oct 2016 15:49
Re: fibaro - the button
Hello
the Fibaro Button will be supported in an future update.
Best regards
Z-Wave Support Team
the Fibaro Button will be supported in an future update.
Best regards
Z-Wave Support Team
Re: fibaro - the button
i have a fibaro button and even if it not supported. Simple click working fine.
Re: fibaro - the button
My Button is passing interview stage, but I do not have a ZDDX device info for it.
I can associate a Fibaro Relay with Group 2, but when I single-click button, I get this:
and relay isn't toggled(
I can associate a Fibaro Relay with Group 2, but when I single-click button, I get this:
Code: Select all
[2016-11-30 22:12:57.147] [D] [zway] RECEIVED: ( 01 0F 00 04 00 09 09 60 0D 00 00 5B 03 05 00 01 C5 )
[2016-11-30 22:12:57.148] [D] [zway] SENT ACK
[2016-11-30 22:12:57.150] [D] [zway] SETDATA devices.9.data.lastReceived = 0 (0x00000000)
[2016-11-30 22:12:57.152] [W] [zway] Got unsecure packet from device 9, but Command Class 0x5b CentralScene is marked as secure and not present in unsecure NIF. Ignoring packet.
Re: fibaro - the button
I got it working by changing parameter 3 to value "4" (1-byte) which disables security for Groups 2 & 3.
Re: fibaro - the button
Hello.
I have also bought a Fibaro - Button and I have included it and z-way recognize when i push the button.
This is what i get when I push the button.
1 time 10
2 times 13
3 times 14
4 times 15
5 times 16
Hold 12
Release 11
That is great, no problem to trigger different things based on how many times the button is pressed, but I have one issue and that is if I have clicked the button 1 time and then after a while 1 time again then it does not register that click, is it z-way that is ignoring this because it already has that as last status or is it the button that does not send it because its it last know state sent?
Log whn I have clicked the device 1 time and then 1 time again, the device is number 34
I have also bought a Fibaro - Button and I have included it and z-way recognize when i push the button.
This is what i get when I push the button.
1 time 10
2 times 13
3 times 14
4 times 15
5 times 16
Hold 12
Release 11
That is great, no problem to trigger different things based on how many times the button is pressed, but I have one issue and that is if I have clicked the button 1 time and then after a while 1 time again then it does not register that click, is it z-way that is ignoring this because it already has that as last status or is it the button that does not send it because its it last know state sent?
Log whn I have clicked the device 1 time and then 1 time again, the device is number 34
Code: Select all
[2017-02-02 18:58:28.686] [D] [zway] RECEIVED: ( 01 08 00 04 00 22 02 98 40 0B )
[2017-02-02 18:58:28.686] [D] [zway] SENT ACK
[2017-02-02 18:58:28.687] [D] [zway] SETDATA devices.34.data.lastReceived = 0 (0x00000000)
[2017-02-02 18:58:28.687] [I] [zway] Node 34:0 CC Security: sending Nonce Report
[2017-02-02 18:58:28.687] [I] [zway] Adding job: Nonce Report
[2017-02-02 18:58:28.687] [D] [zway] SENDING (cb 0xda): ( 01 11 00 13 22 0A 98 80 97 5B B3 59 4A 12 94 6F 05 DA 97 )
[2017-02-02 18:58:28.693] [D] [zway] RECEIVED ACK
[2017-02-02 18:58:28.702] [D] [zway] RECEIVED: ( 01 04 01 13 01 E8 )
[2017-02-02 18:58:28.702] [D] [zway] SENT ACK
[2017-02-02 18:58:28.703] [D] [zway] Delivered to Z-Wave stack
[2017-02-02 18:58:28.915] [D] [zway] RECEIVED: ( 01 07 00 13 DA 00 00 17 26 )
[2017-02-02 18:58:28.916] [D] [zway] SENT ACK
[2017-02-02 18:58:28.916] [I] [zway] Job 0x13 (Nonce Report): Delivered
[2017-02-02 18:58:28.916] [D] [zway] SendData Response with callback 0xda received: received by recipient
[2017-02-02 18:58:28.916] [D] [zway] SETDATA devices.34.data.lastSend = 45798305 (0x02bad3a1)
[2017-02-02 18:58:28.916] [D] [zway] Job 0x13 (Nonce Report): success
[2017-02-02 18:58:28.916] [I] [zway] Removing job: Nonce Report
[2017-02-02 18:58:29.079] [D] [zway] RECEIVED: ( 01 1F 00 04 00 22 19 98 81 F5 1F C5 00 73 12 14 D9 11 F0 BA B7 00 63 97 23 92 FC AA 59 46 1B 9B 25 )
[2017-02-02 18:58:29.080] [D] [zway] SENT ACK
[2017-02-02 18:58:29.080] [D] [zway] SETDATA devices.34.data.lastReceived = 0 (0x00000000)
[2017-02-02 18:58:29.080] [I] [zway] Node 34:0 CC Security: Received a secure message
[2017-02-02 18:58:29.080] [D] [zway] SETDATA devices.34.instances.0.commandClasses.152.data.firstPart = **********
[2017-02-02 18:58:29.080] [I] [zway] Node 34:0 CC Security: passing decrypted packet to application level: [ 5b 03 4f 80 01 ]
[2017-02-02 18:58:29.080] [D] [zway] SETDATA devices.34.instances.0.commandClasses.91.data.sequence = **********
[2017-02-02 18:58:29.080] [D] [zway] SETDATA devices.1.instances.0.commandClasses.91.data.srcNodeId = 34 (0x00000022)
[2017-02-02 18:58:29.081] [D] [zway] SETDATA devices.1.instances.0.commandClasses.91.data.srcInstanceId = 0 (0x00000000)
[2017-02-02 18:58:29.081] [D] [zway] SETDATA devices.1.instances.0.commandClasses.91.data.keyAttribute = 0 (0x00000000)
[2017-02-02 18:58:29.081] [D] [zway] SETDATA devices.1.instances.0.commandClasses.91.data.currentScene = 1 (0x00000001)
[2017-02-02 18:58:29.081] [D] [zway] SETDATA devices.34.instances.0.commandClasses.91.data.keyAttribute = 0 (0x00000000)
[2017-02-02 18:58:29.081] [D] [zway] SETDATA devices.34.instances.0.commandClasses.91.data.currentScene = 1 (0x00000001)
[2017-02-02 18:58:29.188] [I] [core] Notification: device-info (device-status): {"dev":"Fibaro - Button","l":"10"}
[2017-02-02 18:58:29.244] [I] [core] [BaseModule-11] Set lastLevel to 10 for ZWayVDev_zway_34-0-91-DS (was 13)
[2017-02-02 18:58:31.315] [D] [zway] RECEIVED: ( 01 10 00 04 00 1D 0A 32 02 21 34 00 00 00 0E 00 00 D7 )
[2017-02-02 18:58:31.316] [D] [zway] SENT ACK
[2017-02-02 18:58:31.316] [D] [zway] SETDATA devices.29.data.lastReceived = 0 (0x00000000)
[2017-02-02 18:58:31.316] [D] [zway] SETDATA devices.29.instances.0.commandClasses.50.data.2.val = 1.400000
[2017-02-02 18:58:31.316] [D] [zway] SETDATA devices.29.instances.0.commandClasses.50.data.2.delta = 0 (0x00000000)
[2017-02-02 18:58:31.317] [D] [zway] SETDATA devices.29.instances.0.commandClasses.50.data.2.ratetype = 1 (0x00000001)
[2017-02-02 18:58:31.317] [D] [zway] SETDATA devices.29.instances.0.commandClasses.50.data.2 = Empty
[2017-02-02 18:58:31.382] [I] [core] [BaseModule-11] Set lastLevel to 1.4 for ZWayVDev_zway_29-0-50-2 (was 1.1)
[2017-02-02 18:58:40.163] [D] [zway] RECEIVED: ( 01 14 00 04 00 02 0E 32 02 21 54 00 00 02 3E 01 2C 00 00 02 3D 88 )
[2017-02-02 18:58:40.164] [D] [zway] SENT ACK
[2017-02-02 18:58:40.164] [D] [zway] SETDATA devices.2.data.lastReceived = 0 (0x00000000)
[2017-02-02 18:58:40.164] [D] [zway] SETDATA devices.2.instances.0.commandClasses.50.data.2.val = 5.740000
[2017-02-02 18:58:40.164] [D] [zway] SETDATA devices.2.instances.0.commandClasses.50.data.2.delta = 299 (0x0000012b)
[2017-02-02 18:58:40.165] [D] [zway] SETDATA devices.2.instances.0.commandClasses.50.data.2.ratetype = 1 (0x00000001)
[2017-02-02 18:58:40.165] [D] [zway] SETDATA devices.2.instances.0.commandClasses.50.data.2.previous = 5.730000
[2017-02-02 18:58:40.165] [D] [zway] SETDATA devices.2.instances.0.commandClasses.50.data.2 = Empty
[2017-02-02 18:58:40.295] [I] [core] [BaseModule-11] Set lastLevel to 5.7399996 for ZWayVDev_zway_2-0-50-2 (was 5.73)
[2017-02-02 18:58:40.334] [D] [zway] RECEIVED: ( 01 10 00 04 00 1D 0A 32 02 21 34 00 00 00 01 00 00 D8 )
[2017-02-02 18:58:40.334] [D] [zway] SENT ACK
[2017-02-02 18:58:40.335] [D] [zway] SETDATA devices.29.data.lastReceived = 0 (0x00000000)
[2017-02-02 18:58:40.335] [D] [zway] SETDATA devices.29.instances.0.commandClasses.50.data.2.val = 0.100000
[2017-02-02 18:58:40.335] [D] [zway] SETDATA devices.29.instances.0.commandClasses.50.data.2.delta = 0 (0x00000000)
[2017-02-02 18:58:40.335] [D] [zway] SETDATA devices.29.instances.0.commandClasses.50.data.2.ratetype = 1 (0x00000001)
[2017-02-02 18:58:40.335] [D] [zway] SETDATA devices.29.instances.0.commandClasses.50.data.2 = Empty
[2017-02-02 18:58:40.387] [I] [core] [BaseModule-11] Set lastLevel to 0.1 for ZWayVDev_zway_29-0-50-2 (was 1.4)
[2017-02-02 18:58:43.106] [D] [zway] RECEIVED: ( 01 08 00 04 00 22 02 98 40 0B )
[2017-02-02 18:58:43.107] [D] [zway] SENT ACK
[2017-02-02 18:58:43.107] [D] [zway] SETDATA devices.34.data.lastReceived = 0 (0x00000000)
[2017-02-02 18:58:43.107] [I] [zway] Node 34:0 CC Security: sending Nonce Report
[2017-02-02 18:58:43.107] [I] [zway] Adding job: Nonce Report
[2017-02-02 18:58:43.107] [D] [zway] SENDING (cb 0xdb): ( 01 11 00 13 22 0A 98 80 A3 5F E2 FC EB 1B EF 3B 05 DB D5 )
[2017-02-02 18:58:43.112] [D] [zway] RECEIVED ACK
[2017-02-02 18:58:43.115] [D] [zway] RECEIVED: ( 01 04 01 13 01 E8 )
[2017-02-02 18:58:43.115] [D] [zway] SENT ACK
[2017-02-02 18:58:43.115] [D] [zway] Delivered to Z-Wave stack
[2017-02-02 18:58:43.375] [D] [zway] RECEIVED: ( 01 07 00 13 DB 00 00 1B 2B )
[2017-02-02 18:58:43.376] [D] [zway] SENT ACK
[2017-02-02 18:58:43.376] [I] [zway] Job 0x13 (Nonce Report): Delivered
[2017-02-02 18:58:43.376] [D] [zway] SendData Response with callback 0xdb received: received by recipient
[2017-02-02 18:58:43.376] [D] [zway] SETDATA devices.34.data.lastSend = 45799706 (0x02bad91a)
[2017-02-02 18:58:43.376] [D] [zway] Job 0x13 (Nonce Report): success
[2017-02-02 18:58:43.376] [I] [zway] Removing job: Nonce Report
[2017-02-02 18:58:43.543] [D] [zway] RECEIVED: ( 01 1F 00 04 00 22 19 98 81 D5 3E F3 FE 15 CD E3 C6 49 51 17 10 20 98 A3 F7 14 48 03 83 90 8E 36 DA )
[2017-02-02 18:58:43.543] [D] [zway] SENT ACK
[2017-02-02 18:58:43.544] [D] [zway] SETDATA devices.34.data.lastReceived = 0 (0x00000000)
[2017-02-02 18:58:43.544] [I] [zway] Node 34:0 CC Security: Received a secure message
[2017-02-02 18:58:43.544] [D] [zway] SETDATA devices.34.instances.0.commandClasses.152.data.firstPart = **********
[2017-02-02 18:58:43.544] [I] [zway] Node 34:0 CC Security: passing decrypted packet to application level: [ 5b 03 50 80 01 ]
[2017-02-02 18:58:43.544] [D] [zway] SETDATA devices.34.instances.0.commandClasses.91.data.sequence = **********
[2017-02-02 18:58:43.544] [D] [zway] SETDATA devices.1.instances.0.commandClasses.91.data.srcNodeId = 34 (0x00000022)
[2017-02-02 18:58:43.544] [D] [zway] SETDATA devices.1.instances.0.commandClasses.91.data.srcInstanceId = 0 (0x00000000)
[2017-02-02 18:58:43.544] [D] [zway] SETDATA devices.1.instances.0.commandClasses.91.data.keyAttribute = 0 (0x00000000)
[2017-02-02 18:58:43.544] [D] [zway] SETDATA devices.1.instances.0.commandClasses.91.data.currentScene = 1 (0x00000001)
[2017-02-02 18:58:43.545] [D] [zway] SETDATA devices.34.instances.0.commandClasses.91.data.keyAttribute = 0 (0x00000000)
[2017-02-02 18:58:43.545] [D] [zway] SETDATA devices.34.instances.0.commandClasses.91.data.currentScene = 1 (0x00000001)
[2017-02-02 18:58:44.342] [D] [zway] RECEIVED: ( 01 10 00 04 00 1D 0A 32 02 21 34 00 00 00 10 00 00 C9 )
[2017-02-02 18:58:44.342] [D] [zway] SENT ACK
[2017-02-02 18:58:44.345] [D] [zway] SETDATA devices.29.data.lastReceived = 0 (0x00000000)
[2017-02-02 18:58:44.346] [D] [zway] SETDATA devices.29.instances.0.commandClasses.50.data.2.val = 1.600000
[2017-02-02 18:58:44.346] [D] [zway] SETDATA devices.29.instances.0.commandClasses.50.data.2.delta = 0 (0x00000000)
[2017-02-02 18:58:44.346] [D] [zway] SETDATA devices.29.instances.0.commandClasses.50.data.2.ratetype = 1 (0x00000001)
[2017-02-02 18:58:44.346] [D] [zway] SETDATA devices.29.instances.0.commandClasses.50.data.2 = Empty
[2017-02-02 18:58:44.405] [I] [core] [BaseModule-11] Set lastLevel to 1.6 for ZWayVDev_zway_29-0-50-2 (was 0.1)
[2017-02-02 18:58:49.304] [D] [zway] Job 0x13: deleted from queue
Re: fibaro - the button
Has this been fixed in the latest 2.3.0?
Havent ordered the button yet, so curious.
Havent ordered the button yet, so curious.
Re: fibaro - the button
My post is based on latest version 2.3.0jeey wrote:Has this been fixed in the latest 2.3.0?
Havent ordered the button yet, so curious.
Re: fibaro - the button
For what it's worth, I wanted to let you know how I managed to get the Fibaro Button "working" with ZWay. I'm replying to this really old thread because it comes up high in Google - I figure someone else has these issues as well... Also, I say "working", because no, it's not supported natively yet...
Isaksson's post put my on the right track, because in addition to the codes ZWay picks up, the Button also transmits a keyAttribute value when it's pressed, which indicates how many times it was pressed (or whether is was held/released). So I added the following code to the bottom of /opt/z-way-server/automation/main.js to bind to this and respond to button presses.
This fixes the repeat-presses problem Isaksson mentions, because the keyAttribute is always sent when the button is pressed.
You can make it the button events easier to find in your log (use tail -f /var/log/z-way-server.log to view it as you test) by keeping the debugPrint line.
Notes:
Isaksson's post put my on the right track, because in addition to the codes ZWay picks up, the Button also transmits a keyAttribute value when it's pressed, which indicates how many times it was pressed (or whether is was held/released). So I added the following code to the bottom of /opt/z-way-server/automation/main.js to bind to this and respond to button presses.
This fixes the repeat-presses problem Isaksson mentions, because the keyAttribute is always sent when the button is pressed.
You can make it the button events easier to find in your log (use tail -f /var/log/z-way-server.log to view it as you test) by keeping the debugPrint line.
Code: Select all
// Code to include Fibaro The Button without proper support :-)
zway.devices[19].instances[0].commandClasses[91].data.keyAttribute.bind(function() {
// action: status
// --------------
// 1x: 0
// 2x: 3
// 3x: 4
// 4x: 5
// 5x: 6
// hold: 1
// release: 2
var translationTable = [1,"hold","release",2,3,4,5]
debugPrint("Yoast: Fibaro The Button - Caught " + this.value);
// Do stuff here. For instance, my setup does this:
var options = {};
options.url = "http://ACTIONURL/button.php?presses=" + translationTable[this.value];
options.method = "GET";
options.async = true;
options.complete = function() { debugPrint("Yoast: Async request completed: " + this.value) };
var res = http.request(options);
}
- My Button's device id is 19 - change this to whatever id your Button is at.
- I think "Trap events from Remotes and Sensors" needs to be on for this, but I haven't tested that. Anyway, it's on by default...