I have tried playing around with this widget and found that my knowledge is not where i thought it was. I have read different posts on this widget and I noticed that there are some things that are not clear hence the adoption of the 6-part widget is not for the faint-hearted. The documentation appears to be lacking or not clear. I have installed this widget security so that I could make it part of my DSC implementation. After 3 days of continuous effort, I finally got it to show the sensor items. I am not able to figure out why after entering the pin, nothing happens except get an error in the log.
Just like the topic on the same issue, i am now thinking modding the code so that i can be able to arm or disarm my alarm. The two widgets have thoroughly challenged abilities. my challenges seems to be similar to those faced by @ stamate_viorel.
Noted and apologies, Im probably very confused at the moment, i think i branched off where you advised someone to open a new thread and assumed that applied to me as well. I created the all groups that i thought i saw in the trails. I searched for the groups and created those i saw referenced.
You can continue here, no problem. We ask to open new topics when questions come up that do not completely fit into the original topic.
To elaborate a bit more on your first post.
The security widget was never meant to be a complete security system, but just a „simple“ way to arm or disarm your alarm system, secured with a pin code.
It also should give you a quick overview over some security relevant item states, like windows, doors, cameras.
This all is still valid for the upcoming openHAB 4 version, which will include some performance tweaks and a complete restyling of the equipment widgets.
Thank you. I have installed the security widget with the code that you stated that it was standalone which should work with OH4. I also installed the Keyboard security widget. On the main security widget, there are 3 properties that can be set, which are the security group, securitymode and security pin. for the security, i created the following groups
a group called gMainHouseSecurity. This group contains all my door, window and motion sensors. This is the group linked to SecurityGroup. I created another group called gDoorsOpen, contains all door sensors. Another called gWindowsOpen for all windows. and last one motionDetected for all motion sensors.
On Keypad input, i could not see any direct configurable items, it appears to me that the widget is controlled in the main security card widget. On DSC the partition1_Arm_Mode is mirrored to a StringItem updated via rules. The string Item has 3 states,armed-away, armed-home and disarm. This stringItem is linked to SecurityMode. I cannot figure out how the security card is supposed to arm and disarm using the keypad. I can arm manually from my alarm app and the card will reflect it. From within OH, i cannot arm or disarm or figure out how to validate the pin and activate the alarm
When embedding this widget into a page and enter the widget config, you should enter your items holding this information.
When you press one of the security mode buttons, the keypad widget opens as a popup.
After entering the correct pin, compared to the above mentioned Item, the state of the “securityMode” Item will be changed according to your button press.
This is not necessary, door and window contacts are included in respective groups
Thank you. that flow for Keypad works. How can I compare that value which is stored in a thing. On the DSC binding, there is a thing called Panel that holds the PIN in its config, the pin is hidden away from view. I know its easy to create and keep an item.
How does success from keypad now link back to activating/deactivating