ZWAVE Alarm Report Command
老的ZWAVE客户端可能会通过alarm report command上报告警,这里通过一个实例解析这个命令。
Alarm Report Command
QQ:380939960
The Alarm ReportCommand is used by the application to report the alarm state.
有些厂家在打开关闭时会通过Alarm告知用户当前门锁的状态;
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
Command Class = COMMAND_CLASS_ALARM |
|||||||
Command = ALARM_REPORT |
|||||||
Alarm Type |
|||||||
Alarm Level |
|||||||
Zensor Net Source Node ID |
|||||||
Z-Wave Alarm Status |
|||||||
Z-Wave Alarm Type |
|||||||
Z-Wave Alarm Event |
|||||||
Number of Event Parameters |
|||||||
Event Parameter 1 |
|||||||
... |
|||||||
Event Parameter N |
Alarm Type (8bits)
Same as for AlarmCommand Class (Version 1).
Alarm Level (8bits)
Same as for AlarmCommand Class (Version 1).
Zensor Net SourceNode ID (8 bits)
Specify the ZensorNet Source Node ID, which detected the alarm condition. In Zensor Net it is notpossible to determine the Source Node ID due to the broadcast forwarded frameis without this information on protocol level. If the device is not based onZensor Net this field MUST be set to ‘0’.
Z-Wave AlarmStatus (8 bits)
See Alarm SetCommand.
Number of EventParameters (8 bits)
Indicates theNumber of Event Parameters fields used in bytes.
Z-Wave Alarm Type(8 bits), Z-Wave Alarm Event (8 bits) and Event Parameters (N Byte)
Table 11 specifiesthe Alarm Types and its subordinate parameters defined by the Z-Wave Alliance.The fields that do not contain any definition of the Z-Wave Alarm Type MUST beset to ‘0’ in the Alarm Report Command.
The device MUSTadvertise support of the Command Class which is included for the specific AlarmType. Example: for Smoke Alarm, Smoke Detected the Node Naming and LocationCommand Class MUST be advertised as supported in the Node Information Frame.
Table 11, AlarmReport :: Z-Wave Alarm Type & Event
Z-Wave Alarm Type (8 bits) |
Z-Wave Alarm Event (8 bits) |
Event Parameters (N Byte) |
||
Reserved |
0x00 |
Reserved |
0x00 |
|
Smoke Alarm |
0x01 |
Reserved |
0x00 |
|
Smoke detected |
0x01 |
Node Location Report (Node Naming and Location Command Class, version 1) |
||
Smoke detected, Unknown Location |
0x02 |
|||
Reserved |
0x03- 0xFD |
|||
Unknown Event |
0xFE |
|||
Reserved |
0xFF |
|||
Access Control Alarm |
0x06 |
Reserved |
0x00 |
|
Manual Lock Operation |
0x01 |
|||
Manual Unlock Operation |
0x02 |
|||
RF Lock Operation |
0x03 |
|||
RF Unlock Operation |
0x04 |
|||
Keypad Lock Operation |
0x05 |
User Identifier of User Code Report (User Code Command Class) |
||
Keypad Unlock Operation |
0x06 |
User Identifier of User Code Report (User Code Command Class) |
||
Reserved |
0x07- 0xFD |
|||
Unknown Event |
0xFE |
|||
Reserved |
0xFF |
Alarm Type = 0xFF isused by the Alarm Get Command to retrieve the first alarm detection from thelist of pending alarms.
Example: a devicesupports the Z-Wave Alarm Types: Smoke, CO2 andHeat. The Heat Alarm is active e.g. overheat has been detected. When the devicereceives Alarm Get, Z-Wave Alarm Type (0xFF), it must return Alarm Report,Z-Wave Alarm Type (0x04), Z-Wave Alarm Event (0x01/0x02) and the accompanied parameters.
Z-WAVE SM-600A 实例
cmdClass = 0x71 cmd = 0x05 alarmType = 0x06 alarmLevel = 0x02 zensorNetSourceNodeId = 0x00 zwaveAlarmStatus = 0xff zwaveAlarmType = 0x06 // Access Control Alarm zwaveAlarmEvent = 0x02 // Manual Unlock Operation numberOfEventParameters = 0x00 eventParameter1 = 0x00 eventParameter2 = 0x00 eventParameter3 = 0x00 eventParameter4 = 0x00 另外该门锁在timeout自动上锁后,会上报如下的alarm,但是Z-Wave Alarm Event是0x09,在2016-07-21的protocol中Alarm Command Class没有定义该类型的event。不过该类型在Notification Command Class我们可以找到0x09对应AutoLock Locked Operation (V3) alarmType = 0x06 alarmLevel = 0x09 zensorNetSourceNodeId= 0x00 zwaveAlarmStatus =0xff zwaveAlarmType = 0x06 // AccessControl(V2) zwaveAlarmEvent = 0x09 // Auto Lock Locked Operation (V3) numberOfEventParameters= 0x00 eventParameter1 =0x00 eventParameter2 =0x00 eventParameter3 =0x00 eventParameter4 = 0x00 |
但是在Notification Command Class,对于notification又有新的定义; 并且新版本的协议中使用NOTIFICATION_REPORT 来替代ALARM_REPORT上报事件上报。The Notification Command Class supersedesthe Alarm Command Class. 因此上面
Notification Type (8 bits) |
Z-Wave Alarm Event (8 bits) |
Event Parameters (N Byte) |
||
Reserved |
0x00 |
Reserved |
0x00 |
|
Access Control Alarm |
0x06 |
Event inactive (push mode) / Previous Events cleared (pull mode) (V4) |
0x00 |
- Event identifier for the event which is no more active. - If no Event Parameter is provided, there are no active events for the specified Notification Type. |
Manual Lock Operation |
0x01 |
|||
Manual Unlock Operation |
0x02 |
|||
RF Lock Operation |
0x03 |
|||
RF Unlock Operation |
0x04 |
|||
Keypad Lock Operation |
0x05 |
User Identifier of User Code Report (User Code Command Class) |
||
Keypad Unlock Operation |
0x06 |
User Identifier of User Code Report (User Code Command Class) |
||
Manual Not Fully Locked Operation (V3) |
0x07 |
|||
RF Not Fully Locked Operation (V3) |
0x08 |
|||
Auto Lock Locked Operation (V3) |
0x09 |
|||
Auto Lock Not Fully Operation (V3) |
0x0A |
|||
Lock Jammed (V3) |
0x0B |
|||
All user codes deleted (V3) |
0x0C |
|||
Single user code deleted (V3) |
0x0D |
|||
New user code added (V3) |
0x0E |
|||
New user code not added due to duplicate code (V3) |
0x0F |
|||
Keypad temporary disabled (V3) |
0x10 |
|||
Keypad busy (V3) |
0x11 |
|||
New Program code Entered - Unique code for lock configuration (V3) |
0x12 |
|||
Manually Enter user Access code exceeds code limit (V3) |
0x13 |
|||
Unlock By RF with invalid user code (V3) |
0x14 |
|||
Locked by RF with invalid user codes (V3) |
0x15 |
|||
Window/Door is open (V3) |
0x16 |
|||
Window/Door is closed (V3) |
0x17 |
|||
Reserved |
0x18-0x3F |
|||
Barrier performing Initialization process (V4) |
0x40 |
(1 byte) 0xFF = Performing Process 0x00 = Process Complete 0x01 – 0xFE = Reserved |
||
Barrier operation (Open / Close) force has been exceeded. (V4) |
0x41 |
|||
Barrier motor has exceeded manufacturer’s operational time limit (V4) |
0x42 |
(1 byte) 0x00-0x7F = 0sec-127sec 0x80-0xFE = 1min-127min |
||
Barrier operation has exceeded physical mechanical limits. (For example: barrier has opened past the open limit) (V4) |
0x43 |
|||
……. |
ZWAVE Alarm Report Command相关推荐
- ZWAVE ALARM CLASS -- 过时的sensor告警和事件上报机制
qq:380939960 Sensors may bedesigned for two purposes: A multilevel sensor advertises a measurement. ...
- 【Zigbee】Zigbee ZCL report command 相关翻译
#ZIGBEE CLUSTER LIBRARY SPECIFICATION #Chapter 2 Foundation Specification (基础规范) ##2.4 General Comma ...
- c专家编程/c陷阱_编程中的进取陷阱
c专家编程/c陷阱 "Gumption traps" are a term introduced by Robert M. Pirsig in Chapter 26 of Zen ...
- ZWAVE通过Alarm TypeSupported Get Command获得设备支持的告警类型
Alarm TypeSupported Get Command qq:380939960 The Alarm TypeSupported Get Command is used to request ...
- ZWAVE Node Information Frame 实例
Node Information Frame qq:380939960 在gateway上层应用程序中,可能我们会想知道某个节点支持哪些功能?例如是否支持user code?是否支持schedule? ...
- ZWAVE Door Lock Logging Records
Door Lock Logging Records QQ:380939960 对于ZWAVE门锁来说,它可以支持纪录一定数量的操作纪录,以供用户查阅.但是并不是所有的锁都支持纪录查询:因此ZWAVE定 ...
- Microbalze Vitis bug:cannot suspend TCF error report Stalled on memory access
报错信息: Cannot suspend:TCF error report : Command:RunControl suspend "JTAG - jsn - JTAG -SMT2-210 ...
- php alarm,GitHub - tal-tech/alarm-dog-php-sdk: 哮天犬告警平台PHP SDK
哮天犬告警通知SDK 该SDK为哮天犬监控告警平台告警接口的PHP实现,增加了非常友好的方式使用,开箱即用. 特性 支持协程/非协程模式自动切换 支持 Laravel5 ~ Laravel7 开箱即用 ...
- 《安富莱嵌入式周报》第309期:开源脑机接口套件,三相多电平逆变器,开源电位仪,单片机并行计算,蓝牙市场分析报告,AI密码破解,nRF54H2发布,Z-Wave
周报汇总地址:http://www.armbbs.cn/forum.php?mod=forumdisplay&fid=12&filter=typeid&typeid=104 视 ...
最新文章
- DefWndProc/WndProc/IMessageFilter的区别
- UA MATH565C 随机微分方程V 算子半群理论简介
- 兼容多种屏幕分辨率的通栏大图实现方法
- python---str和repr
- android添加hidl,android hidl
- linux服务器安装gmt,linux 安装GMT详解 (zhuan)
- 标准h5的定位_不但亲民还安全 红旗H5车门/防撞梁拆解
- 理解vue中$watch使用
- java多线程下如何调用一个共同的内存单元(调用同一个对象)
- 计算机辅助几何设计知识点,计算机辅助几何设计
- 基于matlab的简易诊断系统,基于matlab的图像识别
- Golden Gate - 概念和机制
- 【浪漫程序员系列】情人节给女友写代码表达爱意,让她感动到哭
- js设置浏览器不缓存
- 数据中心解决方案安全技术
- 交叉测试、探索性测试的概念、价值、实践
- 计算机入门知识(如何使用操作系统)
- 测试 软通动力软件测试机试_软通动力软件测试笔试题 (转)
- Android游戏: 中国象棋-局域网版
- 【Microsoft Azure 的1024种玩法】六十.通过Azure Virtual Machines快速搭建个人Ghost博客系统
热门文章
- 初创产品如何零成本冷启动,拿下第一批种子用户?
- react中解决下拉时,多个tooltip包裹的列表中,hover时,tooltip快速触发,闪烁问题
- Revit二次开发入门[一]载入Add-In Manager
- Python仿真二级供应链测试安全库存模型
- 验证失败,可能为XMind 2013 Pro序列号。升级到XMind 8?
- 腾讯云服务器怎么样?腾讯云服务器性能评测
- 一文看尽2019全年AI技术突破
- android便签工具下载,爱便签(多功能效率工具)
- 猫猫学iOS之微博国际版的一个关于线程调用的异常修复Main Thread Checker: UI API called on a background thread 异常
- python将txt文件按行数分成多个txt文件