ALARM (0x71) Support

Discussions about RaZberry - Z-Wave board for Raspberry computer
dolpheen
Posts: 119
Joined: 10 Feb 2015 00:38

ALARM (0x71) Support

Post by dolpheen »

I see there is no support for Alarm class in current z-way engine.
Are there plans to add it?
Razberry B+ 2.0.1-rc25 on ZW500 + 15 devices / Razberry B 2.0.1-rc25 on ZW300 for test
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: ALARM (0x71) Support

Post by pofs »

Alarm CC is present in z-way virtually since the first versions (mid 2013), and (I believe) it was also added in HA UI some time ago.
dolpheen
Posts: 119
Joined: 10 Feb 2015 00:38

Re: ALARM (0x71) Support

Post by dolpheen »

I saw in previous versions that 0x71 where handled by engine in alarm.data leaf of controller, now there is no 0x71 support in controller NIF, no 0x71 commandclass in controller tree, and it is not handled by controller (I tryed to test but Razberry does not see it)
Razberry B+ 2.0.1-rc25 on ZW500 + 15 devices / Razberry B 2.0.1-rc25 on ZW300 for test
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: ALARM (0x71) Support

Post by pofs »

It shouldn't be in controller's NIF, because controller itself doesn't implement it. But it is able to handle alarms from devices.
dolpheen
Posts: 119
Joined: 10 Feb 2015 00:38

Re: ALARM (0x71) Support

Post by dolpheen »

For my tests I used Fiabro Wall Plug(as Alarm Frame reciever) and Door sensor (as Alarm Frame source).
Razberry and WallPlug are in 1st Group according to manual and UI.
WallPlug recieve Alarm Frames and behaves accordingly to alarm, but I can not see alarm update not in Rzberry tree nor in z-way-log also in Z-Wave binding module the 0x71 specified but never used.

How can I check alarm frames in Razberry?
Razberry B+ 2.0.1-rc25 on ZW500 + 15 devices / Razberry B 2.0.1-rc25 on ZW300 for test
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: ALARM (0x71) Support

Post by pofs »

If you don't see RECEIVED line in the log when device's Alarm is triggered, it is not actually sent (or delivered) to controller. Could be either configuration or reachability issue.

If it is actually delivered, please provide a log fragment.
dolpheen
Posts: 119
Joined: 10 Feb 2015 00:38

Re: ALARM (0x71) Support

Post by dolpheen »

Here is my configuration.
z-way 2.0.1-rc15, Fibaro Wall Plug FGWPF 2.5 and Fibaro Door sensor FGK 2.1.

If I set up to send form Door sensor not BASIC SET but Alarm CO frame Wall plug behaves accordingly (it's blinking only on CO Frame, but not for others Generic, CO2, etc.).
For Razberry I always have only Basic SET and Binary Switch.

Code: Select all

[2015-02-27 12:57:50.869] [D] [zway] RECEIVED: ( 01 09 00 04 00 06 03 20 01 FF 29 )
[2015-02-27 12:57:50.871] [D] [zway] SENT ACK
[2015-02-27 12:57:50.872] [D] [zway] SETDATA devices.6.data.lastReceived = 0 (0x00000000)
[2015-02-27 12:57:50.873] [D] [zway] SETDATA devices.1.instances.0.commandClasses.32.data.srcNodeId = 6 (0x00000006)
[2015-02-27 12:57:50.874] [D] [zway] SETDATA devices.1.instances.0.commandClasses.32.data.srcInstanceId = 0 (0x00000000)
[2015-02-27 12:57:50.876] [D] [zway] SETDATA devices.1.instances.0.commandClasses.32.data.level = 255 (0x000000ff)
[2015-02-27 12:57:50.877] [D] [zway] SETDATA devices.6.instances.0.commandClasses.48.data.1.level = True
[2015-02-27 12:57:50.878] [D] [zway] SETDATA devices.6.instances.0.commandClasses.48.data.1 = Empty
Attachments
Z Wave Expert UI_AlarmFrameAssoc.png
Z Wave Expert UI_AlarmFrameAssoc.png (88.91 KiB) Viewed 9241 times
Z Wave Expert UI_AlarmFrameFGWPF.png
Z Wave Expert UI_AlarmFrameFGWPF.png (74.27 KiB) Viewed 9241 times
Z Wave Expert UI_AlarmFrameFGK.png
Z Wave Expert UI_AlarmFrameFGK.png (39.13 KiB) Viewed 9241 times
Razberry B+ 2.0.1-rc25 on ZW500 + 15 devices / Razberry B 2.0.1-rc25 on ZW300 for test
dolpheen
Posts: 119
Joined: 10 Feb 2015 00:38

Re: ALARM (0x71) Support

Post by dolpheen »

Update - If Alarm Broadcast mode is active for FGK Door Sensor then the Alarm Frame is recieved by both WallPlug and Razberry, it's received as Alarm Sensor Class

Code: Select all

[2015-02-27 13:16:35.415] [D] [zway] RECEIVED: ( 01 0D 00 04 04 06 07 9C 02 06 02 00 00 00 69 )
[2015-02-27 13:16:35.416] [D] [zway] SENT ACK
[2015-02-27 13:16:35.417] [D] [zway] SETDATA devices.6.data.lastReceived = 0 (0x00000000)
[2015-02-27 13:16:35.419] [D] [zway] SETDATA devices.6.instances.0.commandClasses.156.data.2 = Empty
[2015-02-27 13:16:35.420] [D] [zway] SETDATA devices.6.instances.0.commandClasses.156.data.2.srcId = Empty
[2015-02-27 13:16:35.422] [D] [zway] SETDATA devices.6.instances.0.commandClasses.156.data.2.sensorState = Empty
[2015-02-27 13:16:35.426] [D] [zway] SETDATA devices.6.instances.0.commandClasses.156.data.2.sensorTime = Empty
[2015-02-27 13:16:35.428] [D] [zway] SETDATA devices.6.instances.0.commandClasses.156.data.2.typeString = Empty
[2015-02-27 13:16:35.434] [D] [zway] SETDATA devices.6.instances.0.commandClasses.156.data.2.typeString = "CO"
[2015-02-27 13:16:35.436] [D] [zway] SETDATA devices.6.instances.0.commandClasses.156.data.2.srcId = 6 (0x00000006)
[2015-02-27 13:16:35.437] [D] [zway] SETDATA devices.6.instances.0.commandClasses.156.data.2.sensorState = 0 (0x00000000)
[2015-02-27 13:16:35.439] [D] [zway] SETDATA devices.6.instances.0.commandClasses.156.data.2.sensorTime = 0 (0x00000000)
[2015-02-27 13:16:35.478] [I] [core] Creating device sensorBinary ZWayVDev_zway_6-0-156-2-A
[2015-02-27 13:16:35.621] [I] [core] Creating device toggleButton ZWayVDev_zway_6-0-156-2-D
Don't know why the Alarm in not received(or not sent by sensor) by Razberry in normal mode, maybe some Fibaro firmware stuff.
Attachments
Z Wave Expert UI_AlarmFrameFGK_BroadCastMode.png
Z Wave Expert UI_AlarmFrameFGK_BroadCastMode.png (26.53 KiB) Viewed 9240 times
Razberry B+ 2.0.1-rc25 on ZW500 + 15 devices / Razberry B 2.0.1-rc25 on ZW300 for test
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: ALARM (0x71) Support

Post by pofs »

In first case RaZberry receives Basic Set instead of Alarm, so could be a bug/feature in Fibaro.
What happens if you leave RaZberry alone in that group?
dolpheen
Posts: 119
Joined: 10 Feb 2015 00:38

Re: ALARM (0x71) Support

Post by dolpheen »

pofs wrote:What happens if you leave RaZberry alone in that group?
It also recieves onl BASIC SET with or without WallPlug in the group. So, looks like a "feature" from Fibaro.
I am wondering does Broadcast Alarm Frame relay through z-wave mesh? Can it be used instead 'normal' associations?
Razberry B+ 2.0.1-rc25 on ZW500 + 15 devices / Razberry B 2.0.1-rc25 on ZW300 for test
Post Reply