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).
Please share your code is code fences. Pictures are very hard to work from.
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
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
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
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
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
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
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
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