New Binding for Caddx alarm panels [NX584, NX8e, ...]

Hi

So it turns out that the Alarm Memory at Partition level is not so much a “memory” as an active switch.
The channel is ON while the alarm is triggered and goes back to OFF as soon as the alarm is cancelled. Different to the Zone level which is always ON after an alarm event - till the next event clears and updates to last event.

I am using the following rule to keep track of the activations:

rule "Partition 1 Alarm Timestamp"
when
    Item Partition1_AlarmMemory changed to ON 
then
        postUpdate(Partition1_Last_Alarm, new DateTimeType())
        logInfo("", "Partition 1 Alarm Timestamp " + Partition1_Last_Alarm.state )
end

And display in the Sitemap as:

 Default item=Partition1_Last_Alarm              label="Partition1_Last_Alarm [%1$td %1$tb %1$tl:%1$tM %1$tp]" 

I guess I could display alarms in the last X hours etc and use Groups as well as “visibility” to only show partitions with alarms in that time period? Any suggestions on how to do this more elegantly? (limit coding knowledge).

Mark

ad. 1
Yes; I tested serveral things: First of all, zone 1-8 on the main board are working well.
My setup has 3 keypads and 2 wired expander cards

Then I triggered zone 16 (7th of the first expander card) with several conditions:

  • 1 expander, 3 keypads connected

    15:10:17.558 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Partition Status Message [Partition: 0]
    15:10:17.559 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 09 86 00 20 00 08 41 01 00 80 7A A6
    15:10:17.565 [INFO ] [smarthome.event.ItemStateChangedEvent] - caddx_partition_f8f0aaaf_partition1_partition_ready_to_arm changed from ON to OFF
    15:10:17.566 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
    15:10:17.567 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F
    15:10:17.619 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Partitions Snapshot Message
    15:10:17.620 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 09 87 11 02 02 02 02 02 02 01 AE DD
    15:10:17.622 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
    15:10:17.623 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F
    15:10:17.659 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zone Status Message [Zone: 7]
    15:10:17.661 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 08 84 07 01 01 05 C4 00 00 5F 0B
    15:10:17.663 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
    15:10:17.663 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F
    15:10:17.700 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zones Snapshot Message
    15:10:17.701 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 0A 85 00 00 00 00 00 08 00 00 10 A7 D5
    15:10:17.712 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
    15:10:17.713 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F

1 expander, 1 keypad (192)

15:27:38.394 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Partition Status Message [Partition: 0]
15:27:38.524 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 09 86 00 20 00 08 41 01 00 80 7A A6
15:27:38.672 [INFO ] [smarthome.event.ItemStateChangedEvent] - caddx_partition_f8f0aaaf_partition1_partition_ready_to_arm changed from ON to OFF
15:27:38.678 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
15:27:38.684 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F
15:27:38.729 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Partitions Snapshot Message
15:27:38.776 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 09 87 11 02 02 02 02 02 02 01 AE DD
15:27:38.792 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
15:27:38.794 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F
15:27:38.828 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zone Status Message [Zone: 7]
15:27:38.830 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 08 84 07 01 01 05 C4 00 00 5F 0B
15:27:38.834 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
15:27:38.836 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F
15:27:38.889 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zones Snapshot Message
15:27:38.891 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 0A 85 00 00 00 00 00 08 00 00 10 A7 D5
15:27:39.032 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
15:27:39.033 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F

with zone doubling enabled (this was not…) (same results with the option 'Disable on board zones)

15:39:42.010 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Partition Status Message [Partition: 0]
15:39:42.012 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 09 86 00 20 00 08 41 01 00 A0 9A C6
15:39:42.017 [INFO ] [smarthome.event.ItemStateChangedEvent] - caddx_partition_f8f0aaaf_partition1_partition_ready_to_arm changed from ON to OFF
15:39:42.020 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
15:39:42.021 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F
15:39:42.071 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Partitions Snapshot Message
15:39:42.072 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 09 87 11 02 02 02 02 02 02 01 AE DD
15:39:42.074 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
15:39:42.075 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F
15:39:42.112 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zone Status Message [Zone: 7]
15:39:42.113 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 08 84 07 01 01 05 C4 00 00 5F 0B
15:39:42.115 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
15:39:42.116 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F
15:39:42.153 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zones Snapshot Message
15:39:42.154 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 0A 85 00 00 00 00 00 08 00 00 10 A7 D5
15:39:42.162 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
15:39:42.163 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F

As mentioned earlier; When re-enable the caddx bridge, the zone is updated correctly (only once):

20:51:12.201 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Zones Snapshot Request
20:51:12.202 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 02 25 00 27 50
20:51:12.246 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zones Snapshot Message
20:51:12.247 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 0A 05 00 00 00 00 00 08 00 00 00 17 C0
20:51:12.261 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'caddx:panel:f8f0aaaf:panel' changed from OFFLINE to ONLINE
20:51:12.266 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'caddx:bridge:f8f0aaaf' changed from OFFLINE to ONLINE
20:51:12.274 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Zones Snapshot Request
20:51:12.276 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 02 25 01 28 51
20:51:12.346 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zones Snapshot Message
20:51:12.347 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 0A 05 01 00 10 00 00 10 00 00 00 30 5A
20:51:12.349 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Zones Snapshot Request
20:51:12.350 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 02 25 02 29 52
20:51:12.407 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zones Snapshot Message
20:51:12.408 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 0A 05 02 00 00 00 00 00 03 11 11 36 EE
20:51:12.410 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Zones Snapshot Request
20:51:12.411 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 02 25 03 2A 53
20:51:12.448 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zones Snapshot Message
20:51:12.449 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 0A 05 03 00 00 00 00 00 00 00 00 12 BB
20:51:12.451 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Zones Snapshot Request
20:51:12.452 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 02 25 04 2B 54
20:51:12.509 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zones Snapshot Message
20:51:12.510 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 0A 05 04 00 00 00 00 00 00 00 00 13 C4
20:51:12.512 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Zones Snapshot Request
20:51:12.513 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 02 25 05 2C 55
20:51:12.549 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zones Snapshot Message
20:51:12.550 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 0A 05 05 00 00 00 00 00 00 00 00 14 CD
20:51:12.552 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Zones Snapshot Request
20:51:12.553 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 02 25 06 2D 56
20:51:12.590 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zones Snapshot Message
20:51:12.591 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 0A 05 06 00 00 00 00 00 00 00 00 15 D6
20:51:12.593 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Zones Snapshot Request
20:51:12.594 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 02 25 07 2E 57
20:51:12.651 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zones Snapshot Message
20:51:12.652 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 0A 05 07 00 00 00 00 00 00 00 00 16 DF
20:51:12.654 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Zones Snapshot Request
20:51:12.655 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 02 25 08 2F 58
20:51:12.692 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zones Snapshot Message
20:51:12.693 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 0A 05 08 00 00 00 00 00 00 00 00 17 E8
20:51:12.695 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Zones Snapshot Request
20:51:12.696 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 02 25 09 30 59
20:51:12.753 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zones Snapshot Message
20:51:12.754 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 0A 05 09 00 00 00 00 00 00 00 00 18 F1
20:51:12.756 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Zones Snapshot Request
20:51:12.757 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 02 25 0A 31 5A
20:51:12.794 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zones Snapshot Message
20:51:12.795 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 0A 05 0A 00 00 00 00 00 00 00 00 19 FA
20:51:12.796 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Zones Snapshot Request
20:51:12.798 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 02 25 0B 32 5B
20:51:12.854 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zones Snapshot Message
20:51:12.855 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 0A 05 0B 00 00 00 00 00 00 00 00 1A 04
20:51:12.857 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Partition Status Request [Partition: 0]
20:51:12.858 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 02 26 00 28 52
20:51:12.895 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Partition Status Message [Partition: 0]
20:51:12.896 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 09 06 00 20 00 00 41 62 04 A0 77 46
20:51:12.903 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Partitions Snapshot Request
20:51:12.904 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 27 28 29
20:51:12.904 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'caddx:partition:f8f0aaaf:partition1' changed from OFFLINE to ONLINE
20:51:12.956 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Partitions Snapshot Message
20:51:12.957 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 09 07 03 02 02 02 02 02 02 01 20 E8
20:51:12.959 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Zone Status Request [Zone: 15]
20:51:12.960 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 02 24 0F 35 5D
20:51:12.997 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zone Status Message [Zone: 15]
20:51:12.998 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 08 04 0F 01 00 13 F0 00 00 20 F6
20:51:13.008 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Zone Name Request
20:51:13.009 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 02 23 0F 34 5B
20:51:13.032 [INFO ] [smarthome.event.ItemStateChangedEvent] - caddx_zone_f8f0aaaf_zone16_zone_faulted changed from OPEN to CLOSED
20:51:13.034 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'caddx:zone:f8f0aaaf:zone16' changed from OFFLINE to ONLINE
20:51:13.315 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zone Name Message
20:51:13.317 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 12 03 0F 4D 43 20 69 6E 62 20 6B 61 73 74 20 20 20 20 20 84 AE
20:51:13.319 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Partition Status Request [Partition: 0]
20:51:13.320 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 02 26 00 28 52
20:51:13.396 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Partition Status Message [Partition: 0]
20:51:13.397 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 09 06 00 20 00 00 41 62 04 A0 77 46
20:51:13.404 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Zone Status Request [Zone: 6]
20:51:13.406 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 02 24 06 2C 54
20:51:13.457 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zone Status Message [Zone: 6]
20:51:13.458 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 08 04 06 01 01 05 C4 00 00 DD 00
20:51:13.465 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Zone Name Request
20:51:13.466 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 02 23 06 2B 52
20:51:13.466 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'caddx:zone:f8f0aaaf:zone7' changed from OFFLINE to ONLINE
20:51:13.748 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zone Name Message
20:51:13.749 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 12 03 06 52 4D 20 6F 75 64 65 72 73 6B 20 20 20 20 20 20 9B 07

ad. 2. The panel worked after I got a ‘custom’ lua file from Futzle (this post, this file)

ad. 3 . This is an interesting question; as in your plugin and in DL900 as well, none is given! How do you manage the firmware of the panel? It seems nog possible with DL900.

Thanks again for you’re great work, I hope I can enjoy also soon :slight_smile:
Have a nice weekend!

Hi @Jo0p,

From the logs above, it seems that even if only one expansion card is connected the panel behaves the same. Connect again everything.
When you trip zone 16, the panel sends 07 as the zone number. This actually means zone 8. (the index is 0-based) I have to change the logging message.

When the panel bridge is re-enabled, Openhab asks the binding to refresh the configured things and the binding sends for every cofigured zone a “Zone Status Request” to the binding

The request is sent with zone number 0F (zone 16) and the panel correctly answers with 0F in the zone number.

One more question. Did you buy all the alarm parts from the same supplier? I read somewhere in the internet that the US and the EU versions are not 100% compatible.

Anyway, let’s collect logs. On the following screesnshot


Uncheck all the transitions except for “Zone Status” and trip a zone (Please a zone with number greater than 16). I will need the logs from this time period.
Then check also the “Zones snapshot” checkbox and trip the same zone and collect the logs.

The Vera plugin collects the information from the Zones Snapshot message whereas the openhab binding collects it from the Zone Status message. If the Zones Snapshot message behaves correctly on your system i could update the basic flags of the Zone also from this message. Let’s see.

About the firmware. I’m also not aware of a way it can be updated. My panel has version 5.37.
image

Hi @jossuar,

I bought the panel en first keypad via ebay in Florida, an expander card in Canada and also 1 in The Netherlands. For that its a ‘mixed configuration’. But; The performance of the keypads and all the zones are ok.

The keypads are different comparing the version and primary language:
keypad192

Then; I changed the log as you advised and tripped zone 30:
Diagnostics in DL900:
diagnostics DL900

Log in openHAB:

15:51:46.647 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zone Status Message [Zone: 5]
15:51:46.648 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 08 84 05 01 01 05 C4 00 00 5D FC
15:51:46.649 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
15:51:46.650 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F

Hi @Jo0p,

The panel sent:

The fourth byte is the zone number. The panel sent 05 and the binding interprets it as Zone 6.
Can you also enable the Zones Snapshot message? Vera’s plugin worked with those messages. If this is sent correctly then I will probably be able to do something.

Hi @jossuar

Hereby:

20:30:01.368 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zone Status Message [Zone: 5]
20:30:01.370 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 08 84 05 01 01 05 C4 00 00 5D FC
20:30:01.371 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
20:30:01.372 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F
20:30:01.409 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zones Snapshot Message
20:30:01.410 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 0A 85 01 00 10 00 00 10 00 10 00 C0 7F
20:30:01.413 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
20:30:01.415 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F

Hi @Jo0p,

7E 85 01 00 10 00 00 10 00 10 00 C0 7F

The 7E is the start byte.
The 85 is the message number.
The 01 means that we start counting from 17.
The 0 means: Zone18 is not faulted, not bypassed, not in trouble, no alarm memory.
The 0 means: Zone17 is not faulted, not bypassed, not in trouble, no alarm memory.
The 1 means: Zone20 is faulted, not bypassed, not in trouble, no alarm memory.
The 0 means: Zone19 is not faulted, not bypassed, not in trouble, no alarm memory.
The 0 means: Zone22 is not faulted, not bypassed, not in trouble, no alarm memory.
The 0 means: Zone21 is not faulted, not bypassed, not in trouble, no alarm memory.
The 0 means: Zone24 is not faulted, not bypassed, not in trouble, no alarm memory.
The 0 means: Zone23 is not faulted, not bypassed, not in trouble, no alarm memory.
The 1 means: Zone26 is faulted, not bypassed, not in trouble, no alarm memory.
The 0 means: Zone25 is not faulted, not bypassed, not in trouble, no alarm memory.
The 0 means: Zone28 is not faulted, not bypassed, not in trouble, no alarm memory.
The 0 means: Zone27 is not faulted, not bypassed, not in trouble, no alarm memory.
The 1 means: Zone30 is faulted, not bypassed, not in trouble, no alarm memory.
The 0 means: Zone29 is not faulted, not bypassed, not in trouble, no alarm memory.
The 0 means: Zone32 is not faulted, not bypassed, not in trouble, no alarm memory.
The 0 means: Zone31 is not faulted, not bypassed, not in trouble, no alarm memory.
The C0 7F is the checksum.

That means I will need to change the message handling. :slight_smile:

I need one more message to be 100% sure.
Can you trip a zone with a number higher than 32 and send me the Zones Snapshot request message?
The 3rd byte should be 02.

I will change the binding to handle the Zones Snapshot message. Maybe with an extra configuration. I will have to think a little bit about it.

Also it will take some time. I have switched my dev environment to Openhab 3 and I’m currently converting my previous code branches. What version is your installation?

I triggered respectively zone 33 and 34, but can’t recognize the 02 in the third bit:

23:30:00.965 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zone Status Message [Zone: 0]
23:30:00.968 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 08 84 00 01 01 05 C4 00 00 58 D9
23:30:00.970 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
23:30:00.973 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F
23:30:01.005 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zones Snapshot Message
23:30:01.008 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 0A 85 02 01 00 00 00 00 00 11 11 B4 F2
23:30:01.014 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
23:30:01.017 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F
23:30:02.413 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zone Status Message [Zone: 1]
23:30:02.415 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 08 84 01 01 01 05 C4 00 00 59 E0
23:30:02.418 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
23:30:02.420 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F
23:30:02.454 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zones Snapshot Message
23:30:02.456 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 0A 85 02 11 00 00 00 00 00 11 11 C4 73
23:30:02.463 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
23:30:02.466 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F

Triggering zone 37:

23:37:40.031 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zone Status Message [Zone: 4]
23:37:40.033 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 08 84 04 01 01 05 C4 00 00 5C F5
23:37:40.036 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
23:37:40.038 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F
23:37:40.071 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: Zones Snapshot Message
23:37:40.073 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - <-: 7E 0A 85 02 00 00 01 00 00 00 11 11 B4 F0
23:37:40.080 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
23:37:40.082 [DEBUG] [ding.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F

TL;DR:
Zone; Status; Snapshot
33: 7E 08 84 00 01 01 05 C4 00 00 58 D9; 7E 0A 85 02 01 00 00 00 00 00 11 11 B4 F2
34: 7E 08 84 01 01 01 05 C4 00 00 59 E0; 7E 0A 85 02 11 00 00 00 00 00 11 11 C4 73
37: 7E 08 84 04 01 01 05 C4 00 00 5C F5; 7E 0A 85 02 00 00 01 00 00 00 11 11 B4 F0

In production, I use OH 2.5.2 (latest image in the docker repository for Synology), but also reproduced the issue on RPi4/Raspbian with OH 2.5.8 for testing. I’m free to upgrade :wink: working sensors are the biggest goal now.

Keep up the good work! :slight_smile:

HI @Jo0p,

Don’t worry. It is there.
7E 0A 85
02 : Zone offset
1 : Zone 33
1 : Zone 34
00 00 00 00 00 11 11 C4 73

7E 0A 85
02 : Zone offset
00 00
0
1 : Zone 37
00 00 00 11 11 B4 F0

Would DEBUG logs be of any assistance at all?

What is strange is the command works on the Partiton level, but not at the Panel level. So not sure if I am doing something wrong or there is something else going on.

Thanks
Mark

Hi @Mark_VG,

i do not need DEBUG logs now.
I’m currently cleaning up and migrating the code to adhere to a 3.0 branch.

From a quick look I had in the code there is nothing obvious that something is wrong. But I cannot test it currently and I’m not 100% sure.

Also if you send the command to the Panel it is applied to all Partitions.

Hi @jossuar

Yip, that is what I would like. To silence all alarms without disarming etc. I use the Master code. The other codes are limited to their relevant Partitions.

Looking forward to any updates you may have.

Mark

Hi,
I could finaly pick up again on integrating my caddx to OH. Looks like a lot has been done in the meantime. Many thanks @jossuar for the great work!!
Recently installed the official binding via Paper UI and then did the rest with confirguration files. The stuff I have is working fine. I can monitor the status of the partition and zones.
Now, as a next level, I wanted to work with the actions. To start test the bypass for a zone (motion sensor).
A first question. Is there any reason why the actions are not mentionned in the offical documentation? They are described here.

For my test, probably something basic is missing.
I have a test rule like this:

rule "test Zone Bypass "
when
Item testItem changed from ON to OFF
then
val actions = getActions(“caddx”,“caddx:zone:thebridge:zone1”)
if (null === actions) {
logWarn(“actions”, “Actions not found, check thing ID for bridge”)
return
}
actions.bypass()
end

Thing file:
Bridge caddx:bridge:thebridge “Bridge” [ protocol=“Binary”, serialPort="/dev/ttyUSB0", baudrate=9600 ] {
Thing partition partition1 “Partitie 1” [ partitionNumber=1 ]
Thing zone zone1 “Room1” [ zoneNumber=1 ]
Thing zone zone2 “Room2” [ zoneNumber=2 ]

}

Whenever, the testitem is being triggered, the log is only providing:
2020-12-01 21:31:27.852 [WARN ] [lipse.smarthome.model.script.actions] - Actions not found, check thing ID for bridge

There is only one version of the binding running:
openhab> bundle:list -s |grep caddx
240 x Active x 80 x 2.5.9 x org.openhab.binding.caddx

Hi @Senna600,

The actions support is not yet merged in the official repo. The 2nd link is my Github fork of openhab where i do the development.
I got my last two PRs (Pull Requests) merged with bug fixes circa two weeks ago.

There is still a bug currently with the actions because they are named on the Panel and the Partition thing with the same name. The behavior is that the actions on the panel cannot be called from the DSL rules.
I will probably submit two PRs against 3 and 2.5.x in about a week or so.

But I don’t know if the enhancements will be merged in the 2.5.x branch or only on the version 3 branch.
We’ll see.

Download: Latest release (6 Dec 2020)

Hi @Jo0p,
I added a flag on the bridge configuration to ignore the zone transitions. You have to set the flag to true.
Please give it a try and tell me if the binding works correctly on your installation.

Hi @Mark_VG,
You can also test the latest binding if you like. The actions on the panel should be working now.
I added the suffix OnPanel to the action names.
See the Readme below:

Hi @Senna600,
I also submitted the following PR to have the thing actions incorporated to the official binding if you want to follow the progress. This PR is for Openhab 3. Once it is merged i will also submit a PR against 2.5.x.

Hi jossuar,

Thanks for the new version, great!

This is the eventlog when adding Zone 30 as an item:

2020-12-06 20:36:03.149 [hingStatusInfoChangedEvent] - 'caddx:zone:6b261e68:zone30' changed from UNINITIALIZED to INITIALIZING
2020-12-06 20:36:03.157 [hingStatusInfoChangedEvent] - 'caddx:zone:6b261e68:zone30' changed from INITIALIZING to OFFLINE
2020-12-06 20:36:03.161 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_partition1-caddx:zone:6b261e68:zone30:zone_partition1' has been added.
2020-12-06 20:36:03.164 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_partition2-caddx:zone:6b261e68:zone30:zone_partition2' has been added.
2020-12-06 20:36:03.167 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_partition3-caddx:zone:6b261e68:zone30:zone_partition3' has been added.
2020-12-06 20:36:03.171 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_partition4-caddx:zone:6b261e68:zone30:zone_partition4' has been added.
2020-12-06 20:36:03.174 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_partition5-caddx:zone:6b261e68:zone30:zone_partition5' has been added.
2020-12-06 20:36:03.176 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_partition6-caddx:zone:6b261e68:zone30:zone_partition6' has been added.
2020-12-06 20:36:03.180 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_partition7-caddx:zone:6b261e68:zone30:zone_partition7' has been added.
2020-12-06 20:36:03.183 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_partition8-caddx:zone:6b261e68:zone30:zone_partition8' has been added.
2020-12-06 20:36:03.185 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_name-caddx:zone:6b261e68:zone30:zone_name' has been added.
2020-12-06 20:36:03.187 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_fire-caddx:zone:6b261e68:zone30:zone_fire' has been added.
2020-12-06 20:36:03.188 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_24hour-caddx:zone:6b261e68:zone30:zone_24hour' has been added.
2020-12-06 20:36:03.193 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_key_switch-caddx:zone:6b261e68:zone30:zone_key_switch' has been added.
2020-12-06 20:36:03.194 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_follower-caddx:zone:6b261e68:zone30:zone_follower' has been added.
2020-12-06 20:36:03.196 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_entry_exit_delay_1-caddx:zone:6b261e68:zone30:zone_entry_exit_delay_1' has been added.
2020-12-06 20:36:03.200 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_entry_exit_delay_2-caddx:zone:6b261e68:zone30:zone_entry_exit_delay_2' has been added.
2020-12-06 20:36:03.201 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_interior-caddx:zone:6b261e68:zone30:zone_interior' has been added.
2020-12-06 20:36:03.203 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_local_only-caddx:zone:6b261e68:zone30:zone_local_only' has been added.
2020-12-06 20:36:03.205 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_keypad_sounder-caddx:zone:6b261e68:zone30:zone_keypad_sounder' has been added.
2020-12-06 20:36:03.207 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_yelping_siren-caddx:zone:6b261e68:zone30:zone_yelping_siren' has been added.
2020-12-06 20:36:03.210 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_steady_siren-caddx:zone:6b261e68:zone30:zone_steady_siren' has been added.
2020-12-06 20:36:03.212 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_chime-caddx:zone:6b261e68:zone30:zone_chime' has been added.
2020-12-06 20:36:03.214 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_bypassable-caddx:zone:6b261e68:zone30:zone_bypassable' has been added.
2020-12-06 20:36:03.217 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_group_bypassable-caddx:zone:6b261e68:zone30:zone_group_bypassable' has been added.
2020-12-06 20:36:03.219 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_force_armable-caddx:zone:6b261e68:zone30:zone_force_armable' has been added.
2020-12-06 20:36:03.232 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_entry_guard-caddx:zone:6b261e68:zone30:zone_entry_guard' has been added.
2020-12-06 20:36:03.234 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_fast_loop_response-caddx:zone:6b261e68:zone30:zone_fast_loop_response' has been added.
2020-12-06 20:36:03.244 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_double_eol_tamper-caddx:zone:6b261e68:zone30:zone_double_eol_tamper' has been added.
2020-12-06 20:36:03.249 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_type_trouble-caddx:zone:6b261e68:zone30:zone_type_trouble' has been added.
2020-12-06 20:36:03.253 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_cross_zone-caddx:zone:6b261e68:zone30:zone_cross_zone' has been added.
2020-12-06 20:36:03.255 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_dialer_delay-caddx:zone:6b261e68:zone30:zone_dialer_delay' has been added.
2020-12-06 20:36:03.257 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_swinger_shutdown-caddx:zone:6b261e68:zone30:zone_swinger_shutdown' has been added.
2020-12-06 20:36:03.262 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_restorable-caddx:zone:6b261e68:zone30:zone_restorable' has been added.
2020-12-06 20:36:03.267 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_listen_in-caddx:zone:6b261e68:zone30:zone_listen_in' has been added.
2020-12-06 20:36:03.269 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_faulted-caddx:zone:6b261e68:zone30:zone_faulted' has been added.
2020-12-06 20:36:03.275 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_tampered-caddx:zone:6b261e68:zone30:zone_tampered' has been added.
2020-12-06 20:36:03.277 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_trouble-caddx:zone:6b261e68:zone30:zone_trouble' has been added.
2020-12-06 20:36:03.279 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_bypassed-caddx:zone:6b261e68:zone30:zone_bypassed' has been added.
2020-12-06 20:36:03.283 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_inhibited-caddx:zone:6b261e68:zone30:zone_inhibited' has been added.
2020-12-06 20:36:03.285 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_low_battery-caddx:zone:6b261e68:zone30:zone_low_battery' has been added.
2020-12-06 20:36:03.288 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_loss_of_supervision-caddx:zone:6b261e68:zone30:zone_loss_of_supervision' has been added.
2020-12-06 20:36:03.290 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_alarm_memory-caddx:zone:6b261e68:zone30:zone_alarm_memory' has been added.
2020-12-06 20:36:03.299 [.ItemChannelLinkAddedEvent] - Link 'caddx_zone_6b261e68_zone30_zone_bypass_memory-caddx:zone:6b261e68:zone30:zone_bypass_memory' has been added.
2020-12-06 20:36:05.917 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_partition1 changed from NULL to ON
2020-12-06 20:36:05.921 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_partition2 changed from NULL to OFF
2020-12-06 20:36:05.925 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_partition3 changed from NULL to OFF
2020-12-06 20:36:05.930 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_partition4 changed from NULL to OFF
2020-12-06 20:36:05.935 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_partition5 changed from NULL to OFF
2020-12-06 20:36:05.940 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_partition6 changed from NULL to OFF
2020-12-06 20:36:05.946 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_partition7 changed from NULL to OFF
2020-12-06 20:36:05.950 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_partition8 changed from NULL to OFF
2020-12-06 20:36:05.956 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_fire changed from NULL to OFF
2020-12-06 20:36:05.960 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_24hour changed from NULL to OFF
2020-12-06 20:36:05.976 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_key_switch changed from NULL to OFF
2020-12-06 20:36:05.982 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_follower changed from NULL to ON
2020-12-06 20:36:05.987 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_entry_exit_delay_1 changed from NULL to ON
2020-12-06 20:36:05.994 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_entry_exit_delay_2 changed from NULL to OFF
2020-12-06 20:36:05.999 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_interior changed from NULL to ON
2020-12-06 20:36:06.010 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_local_only changed from NULL to OFF
2020-12-06 20:36:06.023 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_keypad_sounder changed from NULL to ON
2020-12-06 20:36:06.077 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_yelping_siren changed from NULL to ON
2020-12-06 20:36:06.082 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_steady_siren changed from NULL to OFF
2020-12-06 20:36:06.108 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_chime changed from NULL to OFF
2020-12-06 20:36:06.114 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_bypassable changed from NULL to ON
2020-12-06 20:36:06.118 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_group_bypassable changed from NULL to OFF
2020-12-06 20:36:06.127 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_force_armable changed from NULL to OFF
2020-12-06 20:36:06.131 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_entry_guard changed from NULL to OFF
2020-12-06 20:36:06.150 [hingStatusInfoChangedEvent] - 'caddx:zone:6b261e68:zone30' changed from OFFLINE to ONLINE
2020-12-06 20:36:06.153 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_fast_loop_response changed from NULL to OFF
2020-12-06 20:36:06.156 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_double_eol_tamper changed from NULL to OFF
2020-12-06 20:36:06.167 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_type_trouble changed from NULL to OFF
2020-12-06 20:36:06.169 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_cross_zone changed from NULL to OFF
2020-12-06 20:36:06.172 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_dialer_delay changed from NULL to ON
2020-12-06 20:36:06.174 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_swinger_shutdown changed from NULL to ON
2020-12-06 20:36:06.176 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_restorable changed from NULL to ON
2020-12-06 20:36:06.179 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_listen_in changed from NULL to ON
2020-12-06 20:36:06.181 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_faulted changed from NULL to CLOSED
2020-12-06 20:36:06.183 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_tampered changed from NULL to OFF
2020-12-06 20:36:06.185 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_trouble changed from NULL to OFF
2020-12-06 20:36:06.188 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_bypassed changed from NULL to OFF
2020-12-06 20:36:06.190 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_inhibited changed from NULL to OFF
2020-12-06 20:36:06.192 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_low_battery changed from NULL to OFF
2020-12-06 20:36:06.195 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_loss_of_supervision changed from NULL to OFF
2020-12-06 20:36:06.197 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_alarm_memory changed from NULL to OFF
2020-12-06 20:36:06.199 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_bypass_memory changed from NULL to OFF
2020-12-06 20:36:06.389 [vent.ItemStateChangedEvent] - caddx_zone_6b261e68_zone30_zone_name changed from NULL to PIR kantoor

Another question: Is there a way to supress every available channel is enabled, or by default, is disabled?

Then the openhab.log, when adding and triggering Zone 30:

2020-12-06 20:36:05.840 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - ->: Zone Status Request [Zone: 30]
2020-12-06 20:36:05.841 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - ->: 7E 02 24 1D 43 6B
2020-12-06 20:36:05.903 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - <-: Zone Status Message [Zone: 30]
2020-12-06 20:36:05.904 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - <-: 7E 08 04 1D 01 58 13 F0 00 00 86 13
2020-12-06 20:36:05.910 [DEBUG] [dx.internal.handler.ThingHandlerZone] - Received: partition: null, zone: 30, keypad: null
Context: COMMAND
Message:  4 Zone Status Message
	Message number: 04 - 4 - 
	Zone number: 1d - 29 - 
	Partition 1 enable: true
	Partition 2 enable: false
	Partition 3 enable: false
	Partition 4 enable: false
	Partition 5 enable: false
	Partition 6 enable: false
	Partition 7 enable: false
	Partition 8 enable: false
	Fire: false
	24 Hour: false
	Key-switch: false
	Follower: true
	Entry / exit delay 1: true
	Entry / exit delay 2: false
	Interior: true
	Local only: false
	Keypad sounder: true
	Yelping siren: true
	Steady siren: false
	Chime: false
	Bypassable: true
	Group bypassable: false
	Force armable: false
	Entry guard: false
	Fast loop response: false
	Double EOL tamper: false
	Trouble: false
	Cross zone: false
	Dialer delay: true
	Swinger shutdown: true
	Restorable: true
	Listen in: true
	Faulted (or delayed trip): false
	Tampered: false
	Trouble: false
	Bypassed: false
	Inhibited (force armed): false
	Low battery: false
	Loss of supervision: false
	Alarm memory: false
	Bypass memory: false

2020-12-06 20:36:06.063 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - ->: Zone Name Request
2020-12-06 20:36:06.065 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - ->: 7E 02 23 1D 42 69
2020-12-06 20:36:06.381 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - <-: Zone Name Message
2020-12-06 20:36:06.382 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - <-: 7E 12 03 1D 50 49 52 20 6B 61 6E 74 6F 6F 72 20 20 20 20 20 DF A7
2020-12-06 20:36:06.385 [DEBUG] [dx.internal.handler.ThingHandlerZone] - Received: partition: null, zone: 30, keypad: null
Context: COMMAND
Message:  3 Zone Name Message
	Message number: 03 - 3 - 
	Zone number: 1d - 29 - 
	Zone name: PIR kantoor      

50 - P
49 - I
52 - R
20 -  
6b - k
61 - a
6e - n
74 - t
6f - o
6f - o
72 - r
20 -  
20 -  
20 -  
20 -  
20 -  


2020-12-06 20:37:04.729 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - <-: Zone Status Message [Zone: 6]
2020-12-06 20:37:04.730 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - <-: 7E 08 84 05 01 01 05 C4 00 00 5D FC
2020-12-06 20:37:04.731 [DEBUG] [.internal.handler.CaddxBridgeHandler] - Zone 6 Transition ignored.
2020-12-06 20:37:04.732 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
2020-12-06 20:37:04.733 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F
2020-12-06 20:37:04.790 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - <-: Zones Snapshot Message
2020-12-06 20:37:04.791 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - <-: 7E 0A 85 01 00 10 00 00 10 00 10 00 C0 7F
2020-12-06 20:37:04.807 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
2020-12-06 20:37:04.808 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F
2020-12-06 20:37:06.682 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - <-: Zone Status Message [Zone: 6]
2020-12-06 20:37:06.683 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - <-: 7E 08 84 05 01 01 05 C4 00 00 5D FC
2020-12-06 20:37:06.684 [DEBUG] [.internal.handler.CaddxBridgeHandler] - Zone 6 Transition ignored.
2020-12-06 20:37:06.686 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
2020-12-06 20:37:06.687 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F
2020-12-06 20:37:06.723 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - <-: Zones Snapshot Message
2020-12-06 20:37:06.724 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - <-: 7E 0A 85 01 00 10 00 00 10 00 00 00 B0 5F
2020-12-06 20:37:06.744 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - ->: Positive Acknowledge
2020-12-06 20:37:06.745 [DEBUG] [ing.caddx.internal.CaddxCommunicator] - ->: 7E 01 1D 1E 1F

Unfortunately, the channel Faulted (caddx:zone:6b261e68:zone30:zone_faulted) isn’t updated.

I’ve uninstalled the whole binding and restarted OH2, but no differences :frowning:

I hope the logfiles help you further. Thanks!

Hi @jossuar
Thanks for the update. I have updated and there is now no longer an error, however the actions " turnOffAnySounderOrAlarmOnPanel" now seems to disarm all partitions - not just Silence the alarm.

Not sure that this would be expected behaviour?
Thanks
Mark

Hi @Jo0p,

From the below two messages i see that in general the binding works as designed. :slight_smile:

The below message got ignored correctly.

2020-12-06 20:37:04.729 - <-: Zone Status Message [Zone: 6]
2020-12-06 20:37:04.730 - <-: 7E 08 84 05 01 01 05 C4 00 00 5D FC
2020-12-06 20:37:04.731 - Zone 6 Transition ignored.

From the below messages i can see the change in the 4th byte from the end.

2020-12-06 20:37:04.790 - <-: Zones Snapshot Message
2020-12-06 20:37:04.791 - <-: 7E 0A 85 01 00 10 00 00 10 00 **10** 00 C0 7F

2020-12-06 20:37:06.723 - <-: Zones Snapshot Message
2020-12-06 20:37:06.724 - <-: 7E 0A 85 01 00 10 00 00 10 00 **00** 00 B0 5F

I have probably still a bug somewhere on the handling of the Zones Snapshot Message. With the above info i can construct a test case and resolve the bug. Probably during the weekend.

Hi @Mark_VG,

I will have a look in the code, but unfortunately i cannot check it because i only have one partition.
Thanks for the testing. :slight_smile: