Rule with the Fibaro Smoke Sensor

Hi !

I recently purchased the Fibaro Smoke Detector and I have a question about on how to use it in a rule.
My item :

Contact	DinningRoom_SmokeSensor	""	{zwave="11:command=sensor_alarm,alarm_type=1" }

My configuration :

And my rule :

rule "smokeAlert"
when
	Item DinningRoom_SmokeSensor changed from CLOSED to OPEN
then
	sendCommand("Sirene_Etage_ChambreArriere", "ON")
end

But when I make a test (by pushing the center button for 10 seconds), my item isn’t updated.

Do you have an idea ?

Thank you,

Gary Wes

Check your events.log file to see what the sensor does.
If that doesn’t work set your z-wave logging to debug and check that.

Nothing when I push the center button for 10 seconds :confused:
My logs :

NODE 12: Application Command Request (ALIVE:GET_CONFIGURATION)
2015-09-18 17:03:45.818 [DEBUG] [ApplicationCommandMessageClass:56  ]- NODE 12: Incoming command class ALARM
2015-09-18 17:03:45.835 [DEBUG] [z.i.p.c.ZWaveAlarmCommandClass:82  ]- NODE 12: Received Alarm Request
2015-09-18 17:03:45.843 [DEBUG] [z.i.p.c.ZWaveAlarmCommandClass:94  ]- NODE 12: Alarm report - Value = 0
2015-09-18 17:03:45.854 [DEBUG] [z.i.p.c.ZWaveAlarmCommandClass:112 ]- NODE 12: Alarm Type = General (0)
2015-09-18 17:03:45.863 [DEBUG] [b.z.i.protocol.ZWaveController:682 ]- Notifying event listeners: ZWaveAlarmValueEvent
2015-09-18 17:03:45.874 [DEBUG] [.z.internal.ZWaveActiveBinding:433 ]- ZwaveIncomingEvent
2015-09-18 17:03:45.886 [DEBUG] [.z.internal.ZWaveActiveBinding:450 ]- NODE 12: Got a value event from Z-Wave network, endpoint = 0, command class = ALARM, value = 0
2015-09-18 17:03:45.901 [DEBUG] [ApplicationCommandMessageClass:85  ]- Transaction not completed: node address inconsistent.
2015-09-18 17:03:46.005 [DEBUG] [eController$ZWaveReceiveThread:1528]- Receive Message = 01 09 00 04 00 07 03 30 03 FF 3A 

and when I make a test with the GREEN menu :

2015-09-18 17:03:25.520 [DEBUG] [ApplicationCommandMessageClass:38  ]- NODE 12: Application Command Request (ALIVE:GET_CONFIGURATION)
2015-09-18 17:03:25.537 [DEBUG] [ApplicationCommandMessageClass:56  ]- NODE 12: Incoming command class ALARM
2015-09-18 17:03:25.540 [DEBUG] [z.i.p.c.ZWaveAlarmCommandClass:82  ]- NODE 12: Received Alarm Request
2015-09-18 17:03:25.573 [DEBUG] [z.i.p.c.ZWaveAlarmCommandClass:94  ]- NODE 12: Alarm report - Value = 0
2015-09-18 17:03:25.594 [DEBUG] [z.i.p.c.ZWaveAlarmCommandClass:112 ]- NODE 12: Alarm Type = General (0)
2015-09-18 17:03:25.612 [DEBUG] [b.z.i.protocol.ZWaveController:682 ]- Notifying event listeners: ZWaveAlarmValueEvent
2015-09-18 17:03:25.614 [DEBUG] [.z.internal.ZWaveActiveBinding:433 ]- ZwaveIncomingEvent
2015-09-18 17:03:25.617 [DEBUG] [.z.internal.ZWaveActiveBinding:450 ]- NODE 12: Got a value event from Z-Wave network, endpoint = 0, command class = ALARM, value = 0
2015-09-18 17:03:25.643 [DEBUG] [ApplicationCommandMessageClass:85  ]- Transaction not completed: node address inconsistent.
2015-09-18 17:03:25.660 [DEBUG] [eController$ZWaveReceiveThread:1528]- Receive Message = 01 0D 00 04 08 0C 07 9C 02 0C 01 00 00 00 66 
2015-09-18 17:03:25.721 [DEBUG] [b.z.i.protocol.ZWaveController:1210]- Receive queue TAKE: Length=0
2015-09-18 17:03:25.726 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 0D 00 04 08 0C 07 9C 02 0C 01 00 00 00 66 
2015-09-18 17:03:25.726 [DEBUG] [eController$ZWaveReceiveThread:1452]- Receive queue ADD: Length=0
2015-09-18 17:03:25.737 [DEBUG] [b.z.i.protocol.ZWaveController:1211]- Process Message = 01 0D 00 04 08 0C 07 9C 02 0C 01 00 00 00 66 
2015-09-18 17:03:25.761 [DEBUG] [b.z.i.protocol.ZWaveController:190 ]- Message: class = ApplicationCommandHandler (0x04), type = Request (0x00), payload = 08 0C 07 9C 02 0C 01 00 00 00 
2015-09-18 17:03:25.763 [DEBUG] [ApplicationCommandMessageClass:38  ]- NODE 12: Application Command Request (ALIVE:GET_CONFIGURATION)
2015-09-18 17:03:25.772 [DEBUG] [ApplicationCommandMessageClass:56  ]- NODE 12: Incoming command class SENSOR_ALARM
2015-09-18 17:03:25.774 [DEBUG] [c.ZWaveAlarmSensorCommandClass:85  ]- NODE 12: Received Sensor Alarm Request
2015-09-18 17:03:25.777 [DEBUG] [c.ZWaveAlarmSensorCommandClass:104 ]- NODE 12: Alarm Report: Source=12, Type=Smoke(1), Value=0
2015-09-18 17:03:25.780 [DEBUG] [b.z.i.protocol.ZWaveController:682 ]- Notifying event listeners: ZWaveAlarmSensorValueEvent
2015-09-18 17:03:25.808 [DEBUG] [.z.internal.ZWaveActiveBinding:433 ]- ZwaveIncomingEvent
2015-09-18 17:03:25.810 [DEBUG] [.z.internal.ZWaveActiveBinding:450 ]- NODE 12: Got a value event from Z-Wave network, endpoint = 0, command class = SENSOR_ALARM, value = 0
2015-09-18 17:03:25.849 [DEBUG] [ApplicationCommandMessageClass:85  ]- Transaction not completed: node address inconsistent.
2015-09-18 17:03:25.857 [DEBUG] [eController$ZWaveReceiveThread:1528]- Receive Message = 01 0D 00 04 00 0C 07 9C 02 0C 01 00 00 00 6E 
2015-09-18 17:03:25.886 [DEBUG] [b.z.i.protocol.ZWaveController:1210]- Receive queue TAKE: Length=0
2015-09-18 17:03:25.890 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 0D 00 04 00 0C 07 9C 02 0C 01 00 00 00 6E 
2015-09-18 17:03:25.891 [DEBUG] [eController$ZWaveReceiveThread:1452]- Receive queue ADD: Length=0
2015-09-18 17:03:25.913 [DEBUG] [b.z.i.protocol.ZWaveController:1211]- Process Message = 01 0D 00 04 00 0C 07 9C 02 0C 01 00 00 00 6E 
2015-09-18 17:03:25.917 [DEBUG] [b.z.i.protocol.ZWaveController:190 ]- Message: class = ApplicationCommandHandler (0x04), type = Request (0x00), payload = 00 0C 07 9C 02 0C 01 00 00 00 
2015-09-18 17:03:25.942 [DEBUG] [ApplicationCommandMessageClass:38  ]- NODE 12: Application Command Request (ALIVE:GET_CONFIGURATION)
2015-09-18 17:03:25.944 [DEBUG] [ApplicationCommandMessageClass:56  ]- NODE 12: Incoming command class SENSOR_ALARM
2015-09-18 17:03:25.951 [DEBUG] [c.ZWaveAlarmSensorCommandClass:85  ]- NODE 12: Received Sensor Alarm Request
2015-09-18 17:03:25.953 [DEBUG] [c.ZWaveAlarmSensorCommandClass:104 ]- NODE 12: Alarm Report: Source=12, Type=Smoke(1), Value=0
2015-09-18 17:03:25.955 [DEBUG] [b.z.i.protocol.ZWaveController:682 ]- Notifying event listeners: ZWaveAlarmSensorValueEvent
2015-09-18 17:03:25.969 [DEBUG] [.z.internal.ZWaveActiveBinding:433 ]- ZwaveIncomingEvent
2015-09-18 17:03:25.981 [DEBUG] [.z.internal.ZWaveActiveBinding:450 ]- NODE 12: Got a value event from Z-Wave network, endpoint = 0, command class = SENSOR_ALARM, value = 0
2015-09-18 17:03:26.000 [DEBUG] [ApplicationCommandMessageClass:85  ]- Transaction not completed: node address inconsistent.
2015-09-18 17:03:26.014 [DEBUG] [eController$ZWaveReceiveThread:1528]- Receive Message = 01 09 00 04 08 0C 03 20 01 00 D4 
2015-09-18 17:03:26.051 [DEBUG] [b.z.i.protocol.ZWaveController:1210]- Receive queue TAKE: Length=0
2015-09-18 17:03:26.055 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 09 00 04 08 0C 03 20 01 00 D4 
2015-09-18 17:03:26.057 [DEBUG] [eController$ZWaveReceiveThread:1452]- Receive queue ADD: Length=0
2015-09-18 17:03:26.073 [DEBUG] [b.z.i.protocol.ZWaveController:1211]- Process Message = 01 09 00 04 08 0C 03 20 01 00 D4 
2015-09-18 17:03:26.076 [DEBUG] [b.z.i.protocol.ZWaveController:190 ]- Message: class = ApplicationCommandHandler (0x04), type = Request (0x00), payload = 08 0C 03 20 01 00 
2015-09-18 17:03:26.079 [DEBUG] [ApplicationCommandMessageClass:38  ]- NODE 12: Application Command Request (ALIVE:GET_CONFIGURATION)
2015-09-18 17:03:26.102 [DEBUG] [ApplicationCommandMessageClass:56  ]- NODE 12: Incoming command class BASIC
2015-09-18 17:03:26.104 [DEBUG] [z.i.p.c.ZWaveBasicCommandClass:74  ]- NODE 12: Received Basic Request
2015-09-18 17:03:26.106 [DEBUG] [z.i.p.c.ZWaveBasicCommandClass:78  ]- NODE 12: Basic Set sent to the controller will be processed as Basic Report

I conclude that the result looks different depending on the test method. I wonder how can I test my rule ?

I noticed that you have node 11 in your item configuration and habmin screen, but in the log it shows it is zwave node 12. Seems that your device is changed to 12 (can happen after re-inclusion?)
hence you will likely need to change your item configuration to node 12?

…zwave="11:command=sensor_alarm …
should be …zwave="12:command=sensor_alarm …

I checked again my FGSD002, and actually get same info in the log from my Openhab when I press test button for 10 seconds.
When I set my items to command class Alarm to match this response, the returned value 0 gets translated to “close”, which means alarm not triggered.

This command class is not mentioned in the FGSD user manual, and no matter how I try, I don’t get the sensor_alarm , alarm type=1 signal in openhab when I press the test button. Gary, what version of firmware is on your FGSD002? I have firmware 3.3 on my FGSD002. I saw on other forums that firmware 3.3 includes some changes and people from Zipato made some update to support it. But I don’t know what exactly those changes are.

I am using Razberry on raspberry pi, when I start the Zway controller program instead of Openhab, the smoke alarm is correctly received. So my guess is that the sensor sends another z-wave command class signal but it is not supported by the Openhab binding yet…

Did you get to any solution @James_Huang? I am currently working on a similar thing. Also, were you able to get battery report from the smoke detector?

I was able to get battery report.

I wrote mail to Fibaro Support in Poland and they said that the device is using command class alarm, not sensor_alarm

Fibaro Smoke detector with firmware 3.3 during smoke alarm use command class Alarm (0×71).

Ok - did you manage to capture the command and respond to it? Could you please post your config?

Thanks!

will share config later when I get home
also I read another discussion https://groups.google.com/forum/#!msg/openhab/s7OCHoDnYys/83Baj97FqDgJ
where the workaround seems to be listening to the Basic Set command instead of Alarm class,
you might want to have a look :smile:

Here is my config for the battery and temperature that works,
But the smoke alarm I haven’t tested lately so i didn’t include here. (don’t want to get my wife annoyed with the sound, you know…) Will test the alarm part later.

Switch Smoke_1_Tamper “Tamper trigger [MAP(tamper.map):%s]” <_stop> (Fire) { zwave=“14:0:command=SENSOR_ALARM,alarm_type=0” }
Switch Smoke_1_heat “HEAT detection [MAP(smoke.map):%s]” (Fire) { zwave=“14:0:command=SENSOR_ALARM,alarm_type=4” }
Number Smoke_1_Battery “Smoke Battery [%.0f %%]” (Fire) { zwave=“14:command=BATTERY,refresh_interval=43200” }
Number Smoke_1_Temp “FGSD Temperature [%.1f °C]” (Fire) { zwave=“14:command=SENSOR_MULTILEVEL,sensor_type=1”,refresh_interval=7200" }

Hello!
@James_Huang, have you tested your configuration since your last post? Did you manage to create a configuration that will correctly react on Smoke Alarm and Excess Temperature Alarm?

I have recently bought three Fibaro Smoke Sensors (Model FGSD-002) and have nearly the same problems.
I have configured my sensor in the following way:


Node1 (the controller) is in Association Group 4 (SENSOR_ALARM notification group according to the doc).
And here is the items configuration:

Contact Smoke_Sensor_Bedroom “Smoke sensor bedroom: [MAP(sensor.map):%s]” (Bedroom, All_Sensors) {zwave=“45:command=sensor_alarm,alarm_type=1”}
Contact Overheat_Sensor_Bedroom “Overheat sensor bedroom: [MAP(sensor.map):%s]” (Bedroom, All_Sensors) {zwave=“45:command=sensor_alarm,alarm_type=4”}
Number Temperature_Bedroom “Temperature Bedroom: [%.1f °C]” (Bedroom, All_Sensors) {zwave=“45:command=sensor_multilevel,sensor_type=1”}

And here’s what I get in result:

  1. Temperature_Bedroom is being read correctly, so it’s ok.
  2. When the temperature falls below 10C (param #30), excess temperature alarm is being triggered (a blue light is lit on, a beep is made), but Overheat_Sensor_Bedroom or Smoke_Sensor_Bedroom don’t become OPEN, and here’s what do I see in the log:

    18:50:34.048 [DEBUG] [eController$ZWaveReceiveThread:1528 ] - Receive Message = 01 0F 00 04 00 2D 09 71 05 00 00 00 FF 04 02 00 5D
    18:50:34.049 [DEBUG] [b.z.i.protocol.ZWaveController:1210 ] - Receive queue TAKE: Length=0
    18:50:34.050 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ] - Assembled message buffer = 01 0F 00 04 00 2D 09 71 05 00 00 00 FF 04 02 00 5D
    18:50:34.050 [DEBUG] [b.z.i.protocol.ZWaveController:1211 ] - Process Message = 01 0F 00 04 00 2D 09 71 05 00 00 00 FF 04 02 00 5D
    18:50:34.050 [DEBUG] [b.z.i.protocol.ZWaveController:190 ] - Message: class = ApplicationCommandHandler (0x04), type = Request (0x00), payload = 00 2D 09 71 05 00 00 00 FF 04 02 00
    18:50:34.051 [DEBUG] [ApplicationCommandMessageClass:38 ] - NODE 45: Application Command Request (ALIVE:DONE)
    18:50:34.051 [DEBUG] [ApplicationCommandMessageClass:56 ] - NODE 45: Incoming command class ALARM
    18:50:34.051 [DEBUG] [z.i.p.c.ZWaveAlarmCommandClass:82 ] - NODE 45: Received Alarm Request
    18:50:34.051 [DEBUG] [z.i.p.c.ZWaveAlarmCommandClass:94 ] - NODE 45: Alarm report - Value = 0
    18:50:34.051 [DEBUG] [z.i.p.c.ZWaveAlarmCommandClass:112 ] - NODE 45: Alarm Type = General (0)
    18:50:34.051 [DEBUG] [b.z.i.protocol.ZWaveController:682 ] - Notifying event listeners: ZWaveAlarmValueEvent
    18:50:34.052 [DEBUG] [.z.internal.ZWaveActiveBinding:433 ] - ZwaveIncomingEvent
    18:50:34.052 [DEBUG] [.z.internal.ZWaveActiveBinding:450 ] - NODE 45: Got a value event from Z-Wave network, endpoint = 0, command class = ALARM, value = 0
    18:50:34.052 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:63 ] - Sent message Message: class = SendData (0x13), type = Request (0x00), payload = 2D 02 84 08
    18:50:34.052 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:64 ] - Recv message Message: class = ApplicationCommandHandler (0x04), type = Request (0x00), payload = 00 2D 09 71 05 00 00 00 FF 04 02 00
    18:50:34.053 [DEBUG] [eController$ZWaveReceiveThread:1452 ] - Receive queue ADD: Length=0
    18:50:34.053 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:65 ] - Checking transaction complete: class=ApplicationCommandHandler, expected=SendData, cancelled=false

    So, the rule is not triggered, because Alarm Type is General, not Heat as required, and (which is much more important than Alarm Type) it’s value is 0, that means CLOSED, not OPEN.
  3. When I hold the button for 10 seconds (smoke test mode), smoke alarm is being triggered (a red light is flashing, a loud beep is repeating), but again, Smoke_Sensor_Bedroom doesn’t become OPEN, and here’s what do I see in the log:

    12:57:39.754 [DEBUG] [eController$ZWaveReceiveThread:1528 ] - Receive Message = 01 10 00 04 00 2D 0A 71 05 00 00 00 FF 01 00 01 02 45
    12:57:39.755 [DEBUG] [b.z.i.protocol.ZWaveController:1210 ] - Receive queue TAKE: Length=0
    12:57:39.755 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ] - Assembled message buffer = 01 10 00 04 00 2D 0A 71 05 00 00 00 FF 01 00 01 02 45
    12:57:39.755 [DEBUG] [b.z.i.protocol.ZWaveController:1211 ] - Process Message = 01 10 00 04 00 2D 0A 71 05 00 00 00 FF 01 00 01 02 45
    12:57:39.756 [DEBUG] [b.z.i.protocol.ZWaveController:190 ] - Message: class = ApplicationCommandHandler (0x04), type = Request (0x00), payload = 00 2D 0A 71 05 00 00 0
    0 FF 01 00 01 02
    12:57:39.756 [DEBUG] [ApplicationCommandMessageClass:38 ] - NODE 45: Application Command Request (ALIVE:DONE)
    12:57:39.756 [DEBUG] [ApplicationCommandMessageClass:56 ] - NODE 45: Incoming command class ALARM
    12:57:39.756 [DEBUG] [z.i.p.c.ZWaveAlarmCommandClass:82 ] - NODE 45: Received Alarm Request
    12:57:39.757 [DEBUG] [z.i.p.c.ZWaveAlarmCommandClass:94 ] - NODE 45: Alarm report - Value = 0
    12:57:39.757 [DEBUG] [z.i.p.c.ZWaveAlarmCommandClass:112 ] - NODE 45: Alarm Type = General (0)
    12:57:39.757 [DEBUG] [b.z.i.protocol.ZWaveController:682 ] - Notifying event listeners: ZWaveAlarmValueEvent
    12:57:39.757 [DEBUG] [eController$ZWaveReceiveThread:1452 ] - Receive queue ADD: Length=0
    12:57:39.757 [DEBUG] [.z.internal.ZWaveActiveBinding:433 ] - ZwaveIncomingEvent
    12:57:39.758 [DEBUG] [.z.internal.ZWaveActiveBinding:450 ] - NODE 45: Got a value event from Z-Wave network, endpoint = 0, command class = ALARM, value = 0
    12:57:39.758 [DEBUG] [ApplicationCommandMessageClass:85 ] - Transaction not completed: node address inconsistent.
    12:57:39.822 [DEBUG] [eController$ZWaveReceiveThread:1528 ] - Receive Message = 01 0D 00 04 08 2D 07 9C 02 2D 01 00 00 00 66
    12:57:39.822 [DEBUG] [eController$ZWaveReceiveThread:1452 ] - Receive queue ADD: Length=1
    12:57:39.823 [DEBUG] [b.z.i.protocol.ZWaveController:1210 ] - Receive queue TAKE: Length=0
    12:57:39.823 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ] - Assembled message buffer = 01 0D 00 04 08 2D 07 9C 02 2D 01 00 00 00 66
    12:57:39.823 [DEBUG] [b.z.i.protocol.ZWaveController:1211 ] - Process Message = 01 0D 00 04 08 2D 07 9C 02 2D 01 00 00 00 66
    12:57:39.824 [DEBUG] [b.z.i.protocol.ZWaveController:190 ] - Message: class = ApplicationCommandHandler (0x04), type = Request (0x00), payload = 08 2D 07 9C 02 2D 01 00 00 00
    12:57:39.824 [DEBUG] [ApplicationCommandMessageClass:38 ] - NODE 45: Application Command Request (ALIVE:DONE)
    12:57:39.824 [DEBUG] [ApplicationCommandMessageClass:56 ] - NODE 45: Incoming command class SENSOR_ALARM
    12:57:39.824 [DEBUG] [c.ZWaveAlarmSensorCommandClass:85 ] - NODE 45: Received Sensor Alarm Request
    12:57:39.824 [DEBUG] [c.ZWaveAlarmSensorCommandClass:104 ] - NODE 45: Alarm Report: Source=45, Type=Smoke(1), Value=0
    12:57:39.825 [DEBUG] [b.z.i.protocol.ZWaveController:682 ] - Notifying event listeners: ZWaveAlarmSensorValueEvent
    12:57:39.825 [DEBUG] [.z.internal.ZWaveActiveBinding:433 ] - ZwaveIncomingEvent
    12:57:39.825 [DEBUG] [.z.internal.ZWaveActiveBinding:450 ] - NODE 45: Got a value event from Z-Wave network, endpoint = 0, command class = SENSOR_ALARM, value = 0
    12:57:39.829 [DEBUG] [ApplicationCommandMessageClass:85 ] - Transaction not completed: node address inconsistent.
    12:57:39.834 [DEBUG] [eController$ZWaveReceiveThread:1528 ] - Receive Message = 01 0D 00 04 00 2D 07 9C 02 2D 01 00 00 00 6E
    12:57:39.835 [DEBUG] [eController$ZWaveReceiveThread:1452 ] - Receive queue ADD: Length=1
    12:57:39.835 [DEBUG] [b.z.i.protocol.ZWaveController:1210 ] - Receive queue TAKE: Length=0
    12:57:39.835 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ] - Assembled message buffer = 01 0D 00 04 00 2D 07 9C 02 2D 01 00 00 00 6E
    12:57:39.836 [DEBUG] [b.z.i.protocol.ZWaveController:1211 ] - Process Message = 01 0D 00 04 00 2D 07 9C 02 2D 01 00 00 00 6E
    12:57:39.836 [DEBUG] [b.z.i.protocol.ZWaveController:190 ] - Message: class = ApplicationCommandHandler (0x04), type = Request (0x00), payload = 00 2D 07 9C 02 2D 01 00 00 00
    12:57:39.836 [DEBUG] [ApplicationCommandMessageClass:38 ] - NODE 45: Application Command Request (ALIVE:DONE)
    12:57:39.836 [DEBUG] [ApplicationCommandMessageClass:56 ] - NODE 45: Incoming command class SENSOR_ALARM
    12:57:39.837 [DEBUG] [c.ZWaveAlarmSensorCommandClass:85 ] - NODE 45: Received Sensor Alarm Request
    12:57:39.837 [DEBUG] [c.ZWaveAlarmSensorCommandClass:104 ] - NODE 45: Alarm Report: Source=45, Type=Smoke(1), Value=0
    12:57:39.837 [DEBUG] [b.z.i.protocol.ZWaveController:682 ] - Notifying event listeners: ZWaveAlarmSensorValueEvent
    12:57:39.837 [DEBUG] [.z.internal.ZWaveActiveBinding:433 ] - ZwaveIncomingEvent
    12:57:39.838 [DEBUG] [.z.internal.ZWaveActiveBinding:450 ] - NODE 45: Got a value event from Z-Wave network, endpoint = 0, command class = SENSOR_ALARM, value = 0
    12:57:39.838 [DEBUG] [ApplicationCommandMessageClass:85 ] - Transaction not completed: node address inconsistent.

    So, again, the rule is not triggered, because the value of the event is 0, that means CLOSED, not OPEN.

Could anybody help me setting up this sensor correctly?
Thanks in advance.

I also assume that changing “SENSOR_ALARM” to “ALARM” in the items configuration will not help, as the value will be still 0 (so, CLOSED).

I’ve also tried to add Node1 into the 2nd Association Group of the sensor (Basic Reports), and I can see that no BASIC event at all is received when Smoke Alarm or Excess Temperature Alarm is being triggered.

Can anybody help me?

Although I don’t have this device I suggest to point the association group “device status” to Node 1, the controller.

Thanks for the answer!
Of course, the association group “device status” is also pointing to Node 1. It was by default, I didn’t change it.
To sum up, the controller is in three groups:
Group 1 - “device status”;
Group 2 - “BASIC alerts”;
Group 4 - “SENSOR_ALARM alerts”.

@roher I have the same problems. Could you solve it?

No, not yet.

Did you try to put the sounder into association with the sensor? This way it should go off regardsless of the openHAB, which might be better, especially in extreme cases like fire…

But the sensor already has a built-in siren.

I am not sure if CLOSED is wrong on alarms. I don’t know the spec on this (@chris: do you ?), but
some binary sensors are ‘normally open’ while others are ‘normally closed’, and in alarm systems, a ‘closed’ contact usually means ‘alarm’.
Either way, you have to interpret the value yourself per-item in openHAB.
Can’t you trigger on ‘CLOSED’ ?

Here’s (condensed) what I get when pushing the button.
Note the 255 on ‘smoke’ and 0 on ‘heat’.

pi@pi /usr/share/openhab/configurations $ egrep -i 'NODE 54.*ALARM'  /var/log/openhab/openhab.log
2015-11-20 10:59:20.209 [DEBUG] [z.i.p.c.ZWaveAlarmCommandClass] - NODE 54: Received Alarm Request
2015-11-20 10:59:20.209 [DEBUG] [z.i.p.c.ZWaveAlarmCommandClass] - NODE 54: Alarm report - Value = 0
2015-11-20 10:59:20.210 [DEBUG] [z.i.p.c.ZWaveAlarmCommandClass] - NODE 54: Alarm Type = General (0)
2015-11-20 10:59:20.214 [DEBUG] [.z.internal.ZWaveActiveBinding] - NODE 54: Got a value event from Z-Wave network, endpoint = 0, command class = ALARM, value = 0
2015-11-20 10:59:40.451 [DEBUG] [ApplicationCommandMessageClass] - NODE 54: Incoming command class SENSOR_ALARM
2015-11-20 10:59:40.452 [DEBUG] [c.ZWaveAlarmSensorCommandClass] - NODE 54: Received Sensor Alarm Request
2015-11-20 10:59:40.527 [DEBUG] [c.ZWaveAlarmSensorCommandClass] - NODE 54: Alarm Report: Source=54, Type=Smoke(1), Value=255
2015-11-20 10:59:40.543 [DEBUG] [.z.internal.ZWaveActiveBinding] - NODE 54: Got a value event from Z-Wave network, endpoint = 0, command class = SENSOR_ALARM, value = 255
2015-11-20 10:59:40.635 [DEBUG] [ApplicationCommandMessageClass] - NODE 54: Incoming command class SENSOR_ALARM
2015-11-20 10:59:40.636 [DEBUG] [c.ZWaveAlarmSensorCommandClass] - NODE 54: Received Sensor Alarm Request
2015-11-20 10:59:40.637 [DEBUG] [c.ZWaveAlarmSensorCommandClass] - NODE 54: Alarm Report: Source=54, Type=Heat(4), Value=0
2015-11-20 10:59:40.652 [DEBUG] [.z.internal.ZWaveActiveBinding] - NODE 54: Got a value event from Z-Wave network, endpoint = 0, command class = SENSOR_ALARM, value = 0
2015-11-20 10:59:40.701 [DEBUG] [ApplicationCommandMessageClass] - NODE 54: Incoming command class SENSOR_ALARM
2015-11-20 10:59:40.702 [DEBUG] [c.ZWaveAlarmSensorCommandClass] - NODE 54: Received Sensor Alarm Request
2015-11-20 10:59:40.703 [DEBUG] [c.ZWaveAlarmSensorCommandClass] - NODE 54: Alarm Report: Source=54, Type=Heat(4), Value=0
2015-11-20 10:59:40.706 [DEBUG] [.z.internal.ZWaveActiveBinding] - NODE 54: Got a value event from Z-Wave network, endpoint = 0, command class = SENSOR_ALARM, value = 0