Paradox EVO Alarm binding using IP150

Maybe I can help if you have a specific request?
What would you like to do and with what items that you have defined?

As I mentioned above I have a complex widget that does a lot of stuff with the Paradox System, but it requires a fair level of knowledge with OH to be able to setup etc. It requires specific naming etc of Items and Groups.

However if you have a specific task I a could extract what you need and assist?

OK. I’m starting with some very basic things for now. I have an item defined which works perfectly (OPEN/CLOSED is detected perfectly thanks to your binding).

Now, i want to use it in my widget… If i get that working, i think i get moving pretty quick…

As you can see, the item state doesn’t get read properly…

I know the item syntax is not correct… But i’m not sure how to refer to “FEN_BUREAU” item and then to the Zone State state…

Please share your code is code fences. Pictures are very hard to work from.

image

Or use ``` at the start and end of code.

A quick and dirty example:

uid: Test
props:
  parameterGroups: []
  parameters:
    - name: prop1
      label: Prop 1
      type: TEXT
      description: A text prop
    - name: item
      label: Item
      type: TEXT
      context: item
      description: An item to control
tags: []
component: f7-card
config:
  title:  ="State of Zone_VX_Pool_Zone_State- " + items.Zone_VX_Pool_Zone_State.state

Gives:

That worked actually… I mean this :slight_smile:

uid: Test
props:
  parameterGroups: []
  parameters:
    - name: prop1
      label: Prop 1
      type: TEXT
      description: A text prop
    - name: item
      label: Item
      type: TEXT
      context: item
      description: An item to control
tags: []
component: f7-card
config:
  title:  ="State of Zone_VX_Pool_Zone_State- " + items.FEN_BUREAU_Zone_State.state

Still unsure what i was doing wrong but i have now a starting point. Thanks a lot

MArk, maybe you can help,me fixing this

uid: Test
tags: []
props:
  parameters:
    - description: A text prop
      label: Prop 1
      name: prop1
      required: false
      type: TEXT
    - context: item
      description: An item to control
      label: Item
      name: item
      required: false
      type: TEXT
  parameterGroups: []
timestamp: Sep 6, 2023, 1:56:37 PM
component: f7-card
config:
  title: Vue Generale
slots:
  default:
    - component: oh-list
      slots:
        default:
          - component: oh-repeater
            config:
              fragment: true
              for: item
              sourceType: itemsWithTags
              itemTags: Equipment,AlarmSystem
            slots:
              default:
                - component: oh-list-item
                  config:
                    title: = loop.item.name + " - " + loop.[item + "_Zone_State"].state

basically, it should end up with a list saying “FEN_BUREAU - OPEN”, “OPEN” coming from FEN_BUREAU_Zone_State…
Don’t know how to write this piece properly

loop.[item + "_Zone_State"].state

I have not used oh-repeater with tags. I have only used from a Group.

Maybe open a specific thread with your example and a Title explaining what you trying to do. One of the better qualified gurus would be better to help and they will pick up the thread based on title and tags

EDIT: What do you get with what you have?

Have you tried:

title: = loop.item.name + " - " + loop.item.state

yes but i had to go one step deeper.
That worked

title: = loop.item.name + " - " + items[loop.item.name + "_Zone_State"].state

I think i now understand how to write this. All good for now. Thanks a lot again

Guys, i’ve made great progress in reading the items so this is cool.
Now entering the difficult area of trying to send commands to the panel…
I have this defined

uid: Commandes_alarme
tags: []
props:
  parameters:
    - description: Alarme Partielle
      label: Name
      name: name
      required: false
      type: TEXT
    - context: item
      description: Control Item
      label: Control Item
      name: Paradox_IP150_Module_Connector_Communicator_Command
      required: false
      type: TEXT
    - context: item
      description: Sensor Item
      label: Sensor Item
      name: sensor_item
      required: false
      type: TEXT
  parameterGroups: []
timestamp: Sep 6, 2023, 5:35:45 PM
component: oh-toggle-item
config:
  title: ="Status Alarme Partielle"
  badgeColor: '=(items.Alarme_Partielle_Partition_State.state == "Disarmed") ? "green" : "red"'
  badge: '=(items.Alarme_Partielle_Partition_State.state == "Disarmed") ? "Disarmed" : "Armed"'
  icon: '=(items.Alarme_Partielle_Partition_State.state == "Disarmed") ? "f7:house" : "f7:house_fill"'
  iconColor: '=(items.Alarme_Partielle_Partition_State.state == "Disarmed") ? "green" : "red"'
  action: command
  actionItem: =items.Alarme_Partielle_Partition_Ready_To_Arm.state
  actionCommand: ON

Not sure how to use the toggle to arm the partial alarm (Zone 2). I also tried using the item called “Paradox_IP150_Module_Connector_Communicator_Command” but tbh, i have no clue what to send and how… I guess i need to tell IP150 which zone to arm, no (this is why i was tempted to use the ready_to_arm item because it is tight to a zone) ? how do i do this with the communicator item ?
Thanks for your great support
Regards

You need to send the correct command string to the CommunicatorCommand channel for the Area/Partiton you want to arm

- component: oh-button
  config:
    action: command
    actionCommand: STAY_ARM
    actionItem: =vars.selectedPartitionP + "_CommunicatorCommand"

Since these options are only recently available in 4.1 you need to look at that version of the docs:

Check the actual names used for the channels and items. I may have older versions of the names and did not update etc.

OK will dig into this. Thanks again !

Mark

I have created items (switch) out of the “Paradox Partition” Thing, ie /Channels/Communicator Command and added it to my model for Area 1 (total) & 2 (partial). These 2 new items are called Area_1_CommunicatorCommand & Area_2_CommunicatorCommand and they are grouped into the parent models (together with other points like label etc…).

I was expecting the following to work

uid: Test3
tags: []
props:
  parameters:
    - description: A text prop
      label: Prop 1
      name: prop1
      required: false
      type: TEXT
    - context: item
      description: An item to control
      label: Item
      name: item
      required: false
      type: TEXT
  parameterGroups: []
timestamp: Sep 7, 2023, 2:22:15 PM
component: oh-toggle
config:
  action: command
  actionCommand: STAY_ARM
  actionItem: "Area_1_CommunicatorCommand"

I have tried without the quotes etc… but i see nothing in the logs (grep “CommunicatorCommand”) nor in the Paradox app so nothing gets triggered when i toggle the button. I think it cannot be that complicated but i’m doing something wrong for sure…
Thanks for your help
Regards

How is your item configured?
You can shsre the yaml on the code tab.

I guess you refer to the code in /Things/Code

UID: paradoxalarm:partition:ip150:partition2
label: Paradox Partition
thingTypeUID: paradoxalarm:partition
configuration:
  disarmEnabled: false
  id: 2
bridgeUID: paradoxalarm:ip150:ip150

In other words, i used the UI to configure the items… i didn’t define anything under /etc/openhab/items

I am referring to the ITEM linked to the Command CHANNEL on the Partition THING (the ITEM must be a STRING):

label: Partition 3 Communicator Command
type: String
category: ""
groupNames:
  - Partition3
groupType: None
function: null
tags:
  - Point

I also think part of the issue is the oh-toggle, I did a quick test and it did not work, but works fine with an oh-button, the following works on my system:

uid: Test3
tags: []
props:
  parameters:
    - description: A text prop
      label: Prop 1
      name: prop1
      required: false
      type: TEXT
    - context: item
      description: An item to control
      label: Item
      name: item
      required: false
      type: TEXT
  parameterGroups: []
timestamp: Sep 7, 2023, 2:22:15 PM
component: oh-button
config:
  action: command
  actionCommand: STAY_ARM
  actionItem: Partition3_CommunicatorCommand
  text: STAY

OK, thanks to your hints, i have recreated the item called “Area_2_CommunicatorCommand” so that it looks like

label: Area 2 Communicator Command
type: String
category: ""
groupNames:
  - Alarme_Partielle
groupType: None
function: null
tags:
  - Point

Now, when i press the “STAY” button, i get “Area_2_CommunicatorCommand not found”

All I can suggest is to look at the ITEM anme and confirm that it matches. You can share a screen shot of the item as well as your code if you like.

Mark, this is getting interesting…
This seems to work in the sense i can see the value changing for the item

uid: Test3
tags: []
props:
  parameters:
    - description: A text prop
      label: Prop 1
      name: prop1
      required: false
      type: TEXT
    - context: item
      description: An item to control
      label: Item
      name: item
      required: false
      type: TEXT
  parameterGroups: []
timestamp: Sep 7, 2023, 3:40:22 PM
component: oh-button
config:
  action: command
  actionCommand: INSTANT_ARM
  actionItem: Area_2_Communicator_Command
  text: ARM

You can see the changes in the attached screenshot… However, nothing seems to happen in the Paradox app… I mean, the alarm is not set

Is the ITEM correctly linked to the CHANNEL?

Also not sure is the setting below is required for ARM?

I think so, see attached