New app update (test: 2.6.14):
- FIX: ZD2102-5 external switch
@PeterW made a change based on your logs
- FIX: ZD2102-5 external switch
@PeterW made a change based on your logs
Still the same
“failed_to_set_Enable_External_Switch_to_255_size_1” is I try to set Use External Switch to Yes
Log below contains
Magnet on/off (correct alarm)
External on/off x 2 (nothing)
Release of tamper switch (correct alarm
94f4749a-83af-42f9-af32-207905ca7358
[2021-12-30T20:01:47.303Z] Node[38]: [COMMAND_CLASS_BASIC] {"Value (Raw)":{"type":"Buffer","data":[0]},"Value":0}
[2021-12-30T20:01:47.331Z] Node[38]: [COMMAND_CLASS_NOTIFICATION] {"V1 Alarm Type (Raw)":{"type":"Buffer","data":[6]},"V1 Alarm Type":6,"V1 Alarm Level (Raw)":{"type":"Buffer","data":[0]},"V1 Alarm Level":0,"Notification Status (Raw)":{"type":"Buffer","data":[255]},"Notification Status":"On","Notification Type (Raw)":{"type":"Buffer","data":[6]},"Notification Type":"Access Control","Event (Raw)":{"type":"Buffer","data":[23]},"Event":23,"Properties1 (Raw)":{"type":"Buffer","data":[0]},"Properties1":{"Event Parameters Length":0,"Sequence":false},"Sequence Number (Raw)":{"type":"Buffer","data":[0]},"Sequence Number":0}
[2021-12-30T20:01:52.326Z] Node[38]: [COMMAND_CLASS_BASIC] {"Value (Raw)":{"type":"Buffer","data":[255]},"Value":255}
[2021-12-30T20:01:52.350Z] Node[38]: [COMMAND_CLASS_NOTIFICATION] {"V1 Alarm Type (Raw)":{"type":"Buffer","data":[6]},"V1 Alarm Type":6,"V1 Alarm Level (Raw)":{"type":"Buffer","data":[255]},"V1 Alarm Level":255,"Notification Status (Raw)":{"type":"Buffer","data":[255]},"Notification Status":"On","Notification Type (Raw)":{"type":"Buffer","data":[6]},"Notification Type":"Access Control","Event (Raw)":{"type":"Buffer","data":[22]},"Event":22,"Properties1 (Raw)":{"type":"Buffer","data":[0]},"Properties1":{"Event Parameters Length":0,"Sequence":false},"Sequence Number (Raw)":{"type":"Buffer","data":[0]},"Sequence Number":0}
[2021-12-30T20:01:55.806Z] Node[8]: [COMMAND_CLASS_METER] {"Properties1 (Raw)":{"type":"Buffer","data":[33]},"Properties1":{"Meter Type":1,"Rate Type":1,"Scale bit 2":false},"Properties2 (Raw)":{"type":"Buffer","data":[116]},"Properties2":{"Size":4,"Scale bits 10":2,"Precision":3},"Meter Value (Raw)":{"type":"Buffer","data":[0,0,0,0]},"Meter Value":{"type":"Buffer","data":[0,0,0,0]}}
[2021-12-30T20:01:55.913Z] Node[33]: [COMMAND_CLASS_SENSOR_MULTILEVEL] {"Sensor Type (Raw)":{"type":"Buffer","data":[4]},"Sensor Type":"Power (version 2)","Level (Raw)":{"type":"Buffer","data":[34]},"Level":{"Size":2,"Scale":0,"Precision":1},"Sensor Value (Raw)":{"type":"Buffer","data":[0,161]},"Sensor Value":{"type":"Buffer","data":[0,161]}}
[2021-12-30T20:02:08.263Z] Node[7]: [COMMAND_CLASS_METER] {"Properties1 (Raw)":{"type":"Buffer","data":[33]},"Properties1":{"Meter Type":1,"Rate Type":1,"Scale bit 2":false},"Properties2 (Raw)":{"type":"Buffer","data":[116]},"Properties2":{"Size":4,"Scale bits 10":2,"Precision":3},"Meter Value (Raw)":{"type":"Buffer","data":[0,0,70,101]},"Meter Value":{"type":"Buffer","data":[0,0,70,101]}}
[2021-12-30T20:02:12.236Z] Node[14]: [COMMAND_CLASS_METER] {"Properties1 (Raw)":{"type":"Buffer","data":[33]},"Properties1":{"Meter Type":1,"Rate Type":1,"Scale bit 2":false},"Properties2 (Raw)":{"type":"Buffer","data":[116]},"Properties2":{"Size":4,"Scale bits 10":2,"Precision":3},"Meter Value (Raw)":{"type":"Buffer","data":[0,0,0,0]},"Meter Value":{"type":"Buffer","data":[0,0,0,0]}}
[2021-12-30T20:02:14.579Z] Node[27]: [COMMAND_CLASS_BASIC] {"Value (Raw)":{"type":"Buffer","data":[0]},"Value":0}
[2021-12-30T20:02:14.598Z] Node[27]: [COMMAND_CLASS_ALARM] {"Alarm Type (Raw)":{"type":"Buffer","data":[7]},"Alarm Type":7,"Alarm Level (Raw)":{"type":"Buffer","data":[0]},"Alarm Level":0,"Zensor Net Source Node ID (Raw)":{"type":"Buffer","data":[0]},"Zensor Net Source Node ID":0,"ZWave Alarm Status (Raw)":{"type":"Buffer","data":[255]},"ZWave Alarm Status":"On","ZWave Alarm Type (Raw)":{"type":"Buffer","data":[7]},"ZWave Alarm Type":"Burglar","ZWave Alarm Event (Raw)":{"type":"Buffer","data":[2]},"ZWave Alarm Event":2,"Number of Event Parameters (Raw)":{"type":"Buffer","data":[0]},"Number of Event Parameters":0}
[2021-12-30T20:02:17.967Z] Node[38]: [COMMAND_CLASS_NOTIFICATION] {"V1 Alarm Type (Raw)":{"type":"Buffer","data":[7]},"V1 Alarm Type":7,"V1 Alarm Level (Raw)":{"type":"Buffer","data":[255]},"V1 Alarm Level":255,"Notification Status (Raw)":{"type":"Buffer","data":[255]},"Notification Status":"On","Notification Type (Raw)":{"type":"Buffer","data":[7]},"Notification Type":"Home Security","Event (Raw)":{"type":"Buffer","data":[3]},"Event":3,"Properties1 (Raw)":{"type":"Buffer","data":[0]},"Properties1":{"Event Parameters Length":0,"Sequence":false},"Sequence Number (Raw)":{"type":"Buffer","data":[0]},"Sequence Number":0}
@PeterW
Alright will check.
Node 36 right?
Nope, 38
and 27 is a ZP3102 (Giving general alarm constantly, but the PIR works great!)
- FIX: ZD2102-5 external switch
FIX: ZD2102-5 external switch - custom check
@PeterW Happy new year ![]()
Made a new test version. Can you check it? ![]()
Thanks! Happy New Year to you as well.
Unfortunately, no success yet. same status as above.
It seems like the external switch doesn’t generate any traffic at all.
Tried to “Turn on the external input”, same error still.
[2022-01-01T22:11:06.628Z] Node[38]: [COMMAND_CLASS_BASIC] {"Value (Raw)":{"type":"Buffer","data":[0]},"Value":0}
[2022-01-01T22:11:06.652Z] Node[38]: [COMMAND_CLASS_NOTIFICATION] {"V1 Alarm Type (Raw)":{"type":"Buffer","data":[6]},"V1 Alarm Type":6,"V1 Alarm Level (Raw)":{"type":"Buffer","data":[0]},"V1 Alarm Level":0,"Notification Status (Raw)":{"type":"Buffer","data":[255]},"Notification Status":"On","Notification Type (Raw)":{"type":"Buffer","data":[6]},"Notification Type":"Access Control","Event (Raw)":{"type":"Buffer","data":[23]},"Event":23,"Properties1 (Raw)":{"type":"Buffer","data":[0]},"Properties1":{"Event Parameters Length":0,"Sequence":false},"Sequence Number (Raw)":{"type":"Buffer","data":[0]},"Sequence Number":0}
[2022-01-01T22:11:06.995Z] Node[38]: [COMMAND_CLASS_BASIC] {"Value (Raw)":{"type":"Buffer","data":[255]},"Value":255}
[2022-01-01T22:11:07.020Z] Node[38]: [COMMAND_CLASS_NOTIFICATION] {"V1 Alarm Type (Raw)":{"type":"Buffer","data":[6]},"V1 Alarm Type":6,"V1 Alarm Level (Raw)":{"type":"Buffer","data":[255]},"V1 Alarm Level":255,"Notification Status (Raw)":{"type":"Buffer","data":[255]},"Notification Status":"On","Notification Type (Raw)":{"type":"Buffer","data":[6]},"Notification Type":"Access Control","Event (Raw)":{"type":"Buffer","data":[22]},"Event":22,"Properties1 (Raw)":{"type":"Buffer","data":[0]},"Properties1":{"Event Parameters Length":0,"Sequence":false},"Sequence Number (Raw)":{"type":"Buffer","data":[0]},"Sequence Number":0}
[2022-01-01T22:11:30.976Z] Node[38]: [COMMAND_CLASS_NOTIFICATION] {"V1 Alarm Type (Raw)":{"type":"Buffer","data":[7]},"V1 Alarm Type":7,"V1 Alarm Level (Raw)":{"type":"Buffer","data":[255]},"V1 Alarm Level":255,"Notification Status (Raw)":{"type":"Buffer","data":[255]},"Notification Status":"On","Notification Type (Raw)":{"type":"Buffer","data":[7]},"Notification Type":"Home Security","Event (Raw)":{"type":"Buffer","data":[3]},"Event":3,"Properties1 (Raw)":{"type":"Buffer","data":[0]},"Properties1":{"Event Parameters Length":0,"Sequence":false},"Sequence Number (Raw)":{"type":"Buffer","data":[0]},"Sequence Number":0}
487fac24-c089-4456-b969-c2f741a3cd9e–
- FIX: ZD2102-5 external switch
- FIX: ZD2102-5 external switch - custom check
- FIX: ZD2021-5 set external switch setting
@PeterW sorry it took a bit longer this time ![]()
I made a change to enable the external switch. According to the manual of the ZD2102-5 the external switch is default disabled and should be enabled trough the setting. Hopefully this works now ![]()
@martijnpoppen
No problems at all. here is no stress!
Now stuff happened! But only once…
It is now possible to enable the external port on the -5 switch and after that is worked, once.
Also, it was the Contact Alarm that was triggered. I am trying to find out what is happening now. It might need some time to propagate the change.
The “old” and the -5 switch seems to work a bit different:
“Old” switch:
Tamper alarm doesn’t indicate.
Magnet closed/open indicates as Contalt Alarm
External input closed/open indicates as General Alarm
-5 Switch
Tamper alarm indicates
Magnet closed/open indicates as Contalt Alarm, if External port is: “off”
External input closed/open indicates as Contact Alarm, if External port is: “on”
(The last part ceased to work after one trial. After setting the config to “off” and later “on”, the external doesn’t work.)
Log:
Configured external: “no”:
[2022-01-05T08:44:14.143Z] Node[39]: [COMMAND_CLASS_NOTIFICATION] {"V1 Alarm Type (Raw)":{"type":"Buffer","data":[7]},"V1 Alarm Type":7,"V1 Alarm Level (Raw)":{"type":"Buffer","data":[0]},"V1 Alarm Level":0,"Notification Status (Raw)":{"type":"Buffer","data":[255]},"Notification Status":"On","Notification Type (Raw)":{"type":"Buffer","data":[7]},"Notification Type":"Home Security","Event (Raw)":{"type":"Buffer","data":[0]},"Event":0,"Properties1 (Raw)":{"type":"Buffer","data":[0]},"Properties1":{"Event Parameters Length":0,"Sequence":false},"Sequence Number (Raw)":{"type":"Buffer","data":[0]},"Sequence Number":0}
[2022-01-05T08:44:35.171Z] Node[39]: [COMMAND_CLASS_BASIC] {"Value (Raw)":{"type":"Buffer","data":[0]},"Value":0}
[2022-01-05T08:44:35.191Z] Node[39]: [COMMAND_CLASS_NOTIFICATION] {"V1 Alarm Type (Raw)":{"type":"Buffer","data":[6]},"V1 Alarm Type":6,"V1 Alarm Level (Raw)":{"type":"Buffer","data":[0]},"V1 Alarm Level":0,"Notification Status (Raw)":{"type":"Buffer","data":[255]},"Notification Status":"On","Notification Type (Raw)":{"type":"Buffer","data":[6]},"Notification Type":"Access Control","Event (Raw)":{"type":"Buffer","data":[23]},"Event":23,"Properties1 (Raw)":{"type":"Buffer","data":[0]},"Properties1":{"Event Parameters Length":0,"Sequence":false},"Sequence Number (Raw)":{"type":"Buffer","data":[0]},"Sequence Number":0}
[2022-01-05T08:44:41.900Z] Node[39]: [COMMAND_CLASS_BASIC] {"Value (Raw)":{"type":"Buffer","data":[255]},"Value":255}
[2022-01-05T08:44:41.928Z] Node[39]: [COMMAND_CLASS_NOTIFICATION] {"V1 Alarm Type (Raw)":{"type":"Buffer","data":[6]},"V1 Alarm Type":6,"V1 Alarm Level (Raw)":{"type":"Buffer","data":[255]},"V1 Alarm Level":255,"Notification Status (Raw)":{"type":"Buffer","data":[255]},"Notification Status":"On","Notification Type (Raw)":{"type":"Buffer","data":[6]},"Notification Type":"Access Control","Event (Raw)":{"type":"Buffer","data":[22]},"Event":22,"Properties1 (Raw)":{"type":"Buffer","data":[0]},"Properties1":{"Event Parameters Length":0,"Sequence":false},"Sequence Number (Raw)":{"type":"Buffer","data":[0]},"Sequence Number":0}
[2022-01-05T08:44:49.471Z] Node[39]: [COMMAND_CLASS_NOTIFICATION] {"V1 Alarm Type (Raw)":{"type":"Buffer","data":[7]},"V1 Alarm Type":7,"V1 Alarm Level (Raw)":{"type":"Buffer","data":[255]},"V1 Alarm Level":255,"Notification Status (Raw)":{"type":"Buffer","data":[255]},"Notification Status":"On","Notification Type (Raw)":{"type":"Buffer","data":[7]},"Notification Type":"Home Security","Event (Raw)":{"type":"Buffer","data":[3]},"Event":3,"Properties1 (Raw)":{"type":"Buffer","data":[0]},"Properties1":{"Event Parameters Length":0,"Sequence":false},"Sequence Number (Raw)":{"type":"Buffer","data":[0]},"Sequence Number":0}
Configured External: “yes”
[2022-01-05T09:01:19.017Z] Node[39]: Marked as online
[2022-01-05T09:01:22.518Z] Node[39]: Marked as offline
[2022-01-05T09:01:39.433Z] Node[39]: [COMMAND_CLASS_NOTIFICATION] {"V1 Alarm Type (Raw)":("type":"Buffer","data":[7]},"V1 Alarm Type":7,"V1 Alarm Level (Raw)":{"type":"Buffer","data":[0]},"V1 Alarm Level":0,"Notification Status (Raw)":{"type":"Buffer","data":[255]},"Notification Status":"On","Notification Type (Raw)":{"type":"Buffer","data":[7]},"Notification Type":"Home Security","Event (Raw)":{"type":"Buffer","data":[0]},"Event":0,"Properties1 (Raw)":{"type":"Buffer","data":[0]},"Properties1":{"Event Parameters Length":0,"Sequence":false},"Sequence Number (Raw)":{"type":"Buffer","data":[0]},"Sequence Number":0}
That is when I closed the cover to disable the tamper alarm.
Actuating eitger magnet or external input gives nothing.
I will wait for some time and see…
@PeterW Ah but that’s good news!
I already thought that the magnet shouldn’t work because I saw different commands in your log.
I’ll check the logs and make a change accordingly. Hope I don’t break the normal ZD2102. If I do I’ll create separate device for the ZD2102-5.
But from what I read it’s better to separate the devices. 
Will come back with a update for it.
I am checking the “old” switch in parallell, so nothing strange happens with that one.
Only “issue” there is the lacking tamper alarm, but I couldn’t care less! 
@Caseda I see you do something to format the log entries. Is that something I can do while posting?
- FIX: ZD2102-5 external switch
- FIX: ZD2102-5 external switch - custom check
- FIX: ZD2021-5 set external switch setting
- NEW: ZD2102-5
@PeterW Added the ZD2102-5 as a separate device. Too much overlap in code. So best thing to do is remove it in Homey and at it again as a ZD2102-5
@martijnpoppen
Tamper and magnet works ok, but I get the usual error code while trying to configure for the external input.
7626ad93-2eb8-4bf0-9bfd-59abaee3f50c
- NEW: ZD2102-5
- FIX: ZD2102-5 external switch
@PeterW setting was wrong. chnaged it back to the value what worked.
Almost there now… 
Now it works, if I close the magnet AND the external input at the same time.
Separately, it doesn’t generate any Z-wave traffic.
[2022-01-07T08:04:06.706Z] Node[40]: [COMMAND_CLASS_BASIC] {“Value (Raw)”:{“type”:“Buffer”,“data”:[0]},“Value”:0}
[2022-01-07T08:04:06.730Z] Node[40]: [COMMAND_CLASS_NOTIFICATION] {“V1 Alarm Type (Raw)”:{“type”:“Buffer”,“data”:[6]},“V1 Alarm Type”:6,“V1 Alarm Level (Raw)”:{“type”:“Buffer”,“data”:[0]},“V1 Alarm Level”:0,“Notification Status (Raw)”:{“type”:“Buffer”,“data”:[255]},“Notification Status”:“On”,“Notification Type (Raw)”:{“type”:“Buffer”,“data”:[6]},“Notification Type”:“Access Control”,“Event (Raw)”:{“type”:“Buffer”,“data”:[23]},“Event”:23,“Properties1 (Raw)”:{“type”:“Buffer”,“data”:[0]},“Properties1”:{“Event Parameters Length”:0,“Sequence”:false},“Sequence Number (Raw)”:{“type”:“Buffer”,“data”:[0]},“Sequence Number”:0}
[2022-01-07T08:04:09.503Z] Node[40]: [COMMAND_CLASS_BASIC] {“Value (Raw)”:{“type”:“Buffer”,“data”:[255]},“Value”:255}
[2022-01-07T08:04:09.527Z] Node[40]: [COMMAND_CLASS_NOTIFICATION] {“V1 Alarm Type (Raw)”:{“type”:“Buffer”,“data”:[6]},“V1 Alarm Type”:6,“V1 Alarm Level (Raw)”:{“type”:“Buffer”,“data”:[255]},“V1 Alarm Level”:255,“Notification Status (Raw)”:{“type”:“Buffer”,“data”:[255]},“Notification Status”:“On”,“Notification Type (Raw)”:{“type”:“Buffer”,“data”:[6]},“Notification Type”:“Access Control”,“Event (Raw)”:{“type”:“Buffer”,“data”:[22]},“Event”:22,“Properties1 (Raw)”:{“type”:“Buffer”,“data”:[0]},“Properties1”:{“Event Parameters Length”:0,“Sequence”:false},“Sequence Number (Raw)”:{“type”:“Buffer”,“data”:[0]},“Sequence Number”:0}
0be74935-4ca4-48e2-977b-815d61dc7871
@PeterW !
Oh yes almost
Alright i’ll check tomorrow. 
@martijnpoppen I just discovered that the generic alarm has disappeared from the “old” sensor (ZD2102.)
Probably in one of the last updates.
Peter
@PeterW ,
Yeah saw that too. It’s already fixed for the next update 
Hope i can push a update today. Otherwise tomorrow morning
No hurry, it is our doorbell that stopped working and we don’t expåect any nightly visitors. 