I have DSC 1864 panel with Envisanlink4 interface. The interface works because I can arm/disarm my panel when logging into the Envisalink web page. My problem is that I can’t arm/disarm the panel in OH3.3. Most of the discussion in this forum is related to OH2 (and to OH1) so I’m not sure if the discussion is relevant for OH3.
I’m using following rule for arming the DSC panel:
configuration: {}
triggers:
- id: "1"
configuration:
command: ON
itemName: DSCarming
type: core.ItemCommandTrigger
conditions: []
actions:
- inputs: {}
id: "3"
configuration:
command: SEND_DSC_ALARM_COMMAND.partition_arm_mode("1")
itemName: EyezOnEnvisalink
type: core.ItemCommandAction
I have also tried to use command
SEND_DSC_ALARM_COMMAND.sendCommand("030,1")
Command 030 is supposed to be Partition Arm Control. I get the following error message in the OH log:
2022-10-12 16:22:21.377 [ERROR] [al.handler.DSCAlarmBaseBridgeHandler] - sendCommand(): Command 'UnknownCode' Not Sent - Invalid!
Any ideas what I’m missing?