Page 1 of 3

Zwave.me KFOB 2

Posted: 01 Apr 2015 21:10
by pierre2302
Hello

I use my razberry with openremote !

I purchased a remote control KFOB Zwave.me. there is possibility of getting back the state of boutton on openremote with a http address or we are limited to a function of association ?

Because I would like to interact on rules


Thank you

Re: Zwave.me KFOB

Posted: 03 Apr 2015 21:33
by pierre2302
Is there a method perhaps with a scene or a virtual module, allowing to recover the state of each button from an http link. I do not understand that we are not of state feedback such as universal fibaro.

At this stage OpenRemote is very quickly limited

I hope someone will manifest especially knowing that this module is to mark zwave.me

Re: Zwave.me KFOB

Posted: 03 Apr 2015 22:49
by pz1
I don't have and don't know the KFOB device. So it is unclear to me how it works.
  1. Were you able to include the device and en see the configuration with the Expert UI?
  2. If point 1 is true, can you see in the HA UI under Widgets any virtual device possibly related to this KFOB?
Only if I know more, I could make an update to OpenRemoteHelpers if necessary

Re: Zwave.me KFOB

Posted: 04 Apr 2015 00:16
by pierre2302
PZ1 thank you for your reply.

Yes I can include the module and I go to the configuration, for cons I can not look for widgets I have no access I can tell you tomorrow!

But I think the problem comes mainly from the KFOBS because I have no back in the sensors.

Apparently it only works in association which is very restrictive.

Re: Zwave.me KFOB

Posted: 04 Apr 2015 15:39
by dolpheen
Hi, pierre2302, I have a KEYFOB with app.ver. 1.4 and 2.0.1-rc24.
If the related parameter (ex. No.11) is set to send scene activation then we recieve a scene number on Razberry.
You can see the log below.

So, may be, pz1 could help you to include it in OpenRemote module.

Code: Select all

[2015-04-04 15:34:43.046] [D] [zway] RECEIVED: ( 01 0E 00 04 00 08 08 60 0D 00 01 2B 01 0C FF 40 )
[2015-04-04 15:34:43.047] [D] [zway] SENT ACK
[2015-04-04 15:34:43.048] [D] [zway] SETDATA devices.8.data.lastReceived = 0 (0x00000000)
[2015-04-04 15:34:43.050] [D] [zway] SETDATA devices.1.instances.1.commandClasses.43.data.srcNodeId = 8 (0x00000008)
[2015-04-04 15:34:43.051] [D] [zway] SETDATA devices.1.instances.1.commandClasses.43.data.srcInstanceId = 0 (0x00000000)
[2015-04-04 15:34:43.052] [D] [zway] SETDATA devices.1.instances.1.commandClasses.43.data.currentScene = 12 (0x0000000c)
[2015-04-04 15:34:43.053] [D] [zway] SETDATA devices.1.instances.1.commandClasses.43.data.dimmingDuration = 255 (0x000000ff)
[2015-04-04 15:34:43.055] [D] [zway] SETDATA devices.8.instances.0.commandClasses.43.data.currentScene = 12 (0x0000000c)
[2015-04-04 15:34:43.056] [D] [zway] SETDATA devices.8.instances.0.commandClasses.43.data.dimmingDuration = 255 (0x000000ff)

Re: Zwave.me KFOB

Posted: 04 Apr 2015 21:03
by pz1
This is a shot in the dark. I did lookup the syntax for SceneActivation in the Developers Documentation page 92 item 8.20. I guess it can all be in one call.

So on your Pi, include in folder automation/modules/OpenRemoteHelpers/index.js the following code just before case "metrics":


Code: Select all

case "ActivateScene":
    zway.devices[1].instances[1].SceneActivation.Set(N,I);
    return 0; // just to return something
N stands for the Scene ID
I stands for the Duration

Call with http://IP:8083/OpenRemote/ActivateScene/12/255 for Dolpheen example.

Hope this works

Re: Zwave.me KFOB

Posted: 04 Apr 2015 22:11
by pierre2302
Thank you dolpheen and Pz1. I try all this on Tuesday!!

Re: Zwave.me KFOB

Posted: 05 Apr 2015 00:24
by dolpheen
pz1 If i'm right there was also a need to report KEYFOB button states to OpenReport pierre2302 asked for.
So, there should be also some kind of request with return value, like

Code: Select all

return zway.devices[N].instances[I].SceneActivation.currentScene.value

Re: Zwave.me KFOB

Posted: 05 Apr 2015 00:36
by pz1
@dolpheen,
I'll have a look into that. We have a few more commands in OpenRemoteHelpers that return a status. Unfortunately OpenRemote is unable to do a sensor update with that return value. So from that perspective it is useless. I have had some harsh discussions about that with some key OR members. I have given up on that.
But it is of course possible to make an additional currentSceneStatus command. I'll await Pierre's test results first.

Re: Zwave.me KFOB

Posted: 07 Apr 2015 22:28
by pierre2302
That I was able to test

I set the parameter 11 central scene gateway , I log into this, it's not easy to understand the log !!

I do not have the same thing as dolpheen may be because I am KFOB-S model

Code: Select all

[2015-04-07 21:17:34.975] [D] [zway] SETDATA devices.8.data.lastReceived = 0 (0x00000000)
[2015-04-07 21:17:34.976] [I] [zway] Node 8:0 CC Security: sending Nonce Report
[2015-04-07 21:17:34.976] [I] [zway] Adding job: Nonce Report
[2015-04-07 21:17:34.976] [D] [zway] SENDING (cb 0x8e): ( 01 11 00 13 08 0A 98 80 18 1A F5 58 2A B6 E0 22 05 8E 9D )
[2015-04-07 21:17:34.985] [D] [zway] RECEIVED ACK
[2015-04-07 21:17:34.985] [D] [zway] RECEIVED: ( 01 04 01 13 01 E8 )
[2015-04-07 21:17:34.985] [D] [zway] SENT ACK
[2015-04-07 21:17:34.985] [D] [zway] Delivered to Z-Wave stack
[2015-04-07 21:17:35.003] [D] [zway] RECEIVED: ( 01 05 00 13 8E 00 67 )
[2015-04-07 21:17:35.004] [D] [zway] SENT ACK
[2015-04-07 21:17:35.004] [I] [zway] Job 0x13 (Nonce Report): Delivered
[2015-04-07 21:17:35.004] [D] [zway] SETDATA devices.8.data.lastPacketInfo.delivered = True
[2015-04-07 21:17:35.004] [D] [zway] SETDATA devices.8.data.lastPacketInfo.packetLength = 13 (0x0000000d)
[2015-04-07 21:17:35.004] [D] [zway] SETDATA devices.8.data.lastPacketInfo.deliveryTime = 19 (0x00000013)
[2015-04-07 21:17:35.004] [D] [zway] SETDATA devices.8.data.lastPacketInfo = **********
[2015-04-07 21:17:35.005] [D] [zway] SendData Response with callback 0x8e received: received by recipient
[2015-04-07 21:17:35.005] [D] [zway] SETDATA devices.8.data.lastSend = 137142 (0x000217b6)
[2015-04-07 21:17:35.005] [D] [zway] Job 0x13 (Nonce Report): success
[2015-04-07 21:17:35.005] [I] [zway] Removing job: Nonce Report
[2015-04-07 21:17:35.066] [D] [zway] RECEIVED: ( 01 1F 00 04 00 08 19 98 81 CF AD DE 1D F6 A4 EC E3 E4 A6 19 2C CE 2C 18 5C FB 3F 8F 53 1F BF 4B 32 )
[2015-04-07 21:17:35.066] [D] [zway] SENT ACK
[2015-04-07 21:17:35.067] [D] [zway] SETDATA devices.8.data.lastReceived = 0 (0x00000000)
[2015-04-07 21:17:35.067] [I] [zway] Node 8:0 CC Security: Received a secure message
[2015-04-07 21:17:35.067] [D] [zway] SETDATA devices.8.instances.0.commandClasses.152.data.firstPart = **********
[2015-04-07 21:17:35.067] [I] [zway] Node 8:0 CC Security: passing decrypted packet to application level: [ 5b 03 40 00 04 ]
[2015-04-07 21:17:35.067] [D] [zway] SETDATA devices.8.instances.0.commandClasses.91.data.sequence = **********
[2015-04-07 21:17:35.067] [D] [zway] SETDATA devices.1.instances.0.commandClasses.91.data.srcNodeId = 8 (0x00000008)
[2015-04-07 21:17:35.067] [D] [zway] SETDATA devices.1.instances.0.commandClasses.91.data.srcInstanceId = 0 (0x00000000)
[2015-04-07 21:17:35.067] [D] [zway] SETDATA devices.1.instances.0.commandClasses.91.data.keyAttribute = 0 (0x00000000)
[2015-04-07 21:17:35.067] [D] [zway] SETDATA devices.1.instances.0.commandClasses.91.data.currentScene = 4 (0x00000004)
[2015-04-07 21:17:35.067] [D] [zway] SETDATA devices.8.instances.0.commandClasses.91.data.keyAttribute = 0 (0x00000000)
[2015-04-07 21:17:35.067] [D] [zway] SETDATA devices.8.instances.0.commandClasses.91.data.currentScene = 4 (0x00000004)


SETDATA devices.8.instances.0.commandClasses.91.data.currentScene = 4 ( Changes value depending on which button I press )

On after the developer documentation ’keyAttribute’: 0x00 = Key pressed, 0x01 = Key released, 0x02 = Key held down