Home alarm status management (armed/disarmed)

The goal of the feature is to be able to put the house in « armed/disarmed » mode, whether manually or in scenes.

Then, in the scenes, there needs to be 1 new trigger:

  • When the house is armed/disarmed

As well as 1 new condition:

  • If the house is armed/disarmed

I came across this kind of visual in the early days of v4, and it’s something that could be interesting in v4 :slight_smile:

I really like the visual and the idea, especially. I try to do this kind of thing as best I can, but it will clearly be more functional through a dedicated interface.
A mini tablet in the entrance for the Gladys interface and that’s it!

That’s exactly what I plan to do.

That’s what I would like to do as well, with two things:

  1. The 2D or 3D plan of the house
  2. The « lock » mode of the house

Wow, I came across this topic and guess what… I made a mockup for managing something similar!

@pierre-gilles I wouldn’t take on all the projects :smiley: but when I have ideas, I note them down and it can help advance the idea for others… (more skilled developers than me)

@syper Don’t worry, I always say the same thing: code is only 10% of development.

The hardest part is agreeing on specifications (both functional and technical) :slight_smile:

I’ve actually had quite a bit of feedback on your proposal!

First, I get the impression that you’re reinventing the wheel in terms of many mechanisms that we already have in Gladys.

Typically, all the programming/what happens when an intrusion is detected/etc., should, in my opinion, be entirely managed in the scenes, rather than recoding a similar mechanism outside. This allows the user to create very rich scenes, with the alarm that can be activated automatically when certain criteria are met, that kind of thing.

Then, in my opinion, the alarm management should be done at the « house » level and not at the « global » level in Gladys, because you can manage multiple houses in Gladys.

If you have 2 houses: a main residence and a secondary residence, you won’t activate the alarm globally, you want to set the alarm on your main residence when you are on vacation in the secondary residence, and vice versa.

After that, I think there are some very good ideas in your proposal too, and I think we need a hybrid approach between something « super generic » as I propose, and something « too specific » as you propose. It needs to be powerful, but simple to understand and implement :slight_smile:

Typically, all programming/what happens when an intrusion is detected/etc., should, in my opinion, be entirely managed within the scenes, rather than re-coding a similar mechanism outside. This allows the user to create very rich scenes, with the alarm that can be automatically activated when certain criteria are met, that kind of thing.

Indeed, but for beginners, scenes are not the best. So I’m torn because indeed, scenes fulfill their function …

Next, alarm management should be done at the « house » level in my opinion, and not at the « global » level in Gladys, because you can manage several houses in Gladys.

I hadn’t thought of that

After that, I think there are very good ideas in your proposal too, and I think we need a hybrid approach between something « super generic » as I propose, and something « too specific » as you propose. It needs to be powerful, but simple to understand and implement :slight_smile:

Everything is said! I will think about it.

The render looks ultra clean, can’t wait to see the progress :open_mouth:

Hello @pierre-gilles,
I wanted to know if you were able to make progress on this kind of change?
Is this 100% core?
Or will this change be part of an alarm-type module?

I haven’t touched this subject! It’s 100% core, yes.

Depending on the other topics (everything is constantly evolving), I could work on it in Q3 2023, but to be honest, despite the number of votes it’s really not at all my priority, I have many many many other topics that I see as more of a priority for the life

No worries, in the meantime I’ll keep using a Node-RED HMI :wink:

A video to get inspiration for this integration

Given the request, I’ll take the topic on soon :slight_smile:

I’ve started the functional specifications so we can all agree.

Objective of the feature

Be able to manage an « alarm state » of a house in order to set up a real alarm system in Gladys.

The different states

I propose 4 states:

  • Disarmed
  • Armed
  • Night mode
  • Panic

Changing states manually

To switch states manually, the user can click a button on the dashboard:

Changing states in scenes

In scenes, an action allows changing the alarm state:

When arming

I think it would be useful to distinguish Gladys devices that are « wall-mounted tablets with open access » from devices like « my phone/personal computer ».

For that, I propose adding a button on the dashboard:

(Don’t pay attention to the design)

This button would allow telling Gladys « this device is an open-access tablet that should be locked when alarm mode is triggered »

When alarm mode is triggered, all Gladys interfaces on the tablets will be locked:

To unlock the alarm from the tablet, you will need to enter a code of XX digits.

If you unlock the alarm from another device, the tablets will unlock automatically.

In scenes

In scenes, a new trigger will be possible:

Which will allow performing actions on the house being locked/unlocked.

There will also be a condition that allows actions like « if there is movement AND the alarm is armed THEN »:

Conclusion

The complete diagram of the feature: Alarm

What do you think?

It looks pretty good at first glance.

With the new condition in scenes, the user will be able to create the scenes they need. That works for me.

My tablet is already in place and is just waiting for this feature to arrive :grinning_face:

Excellent. I’m waiting to get more feedback before I start development.

I find the whole setup rather good!!
It reproduces almost the same functionality as what I have at home, with the added « screen lock », which I think would be a big plus!! :+1:

Actually there should be 3 states (for homes :blush:)

Disarmed
Partial arming (activates only external sensors)
Full arming (in case of absence)

That’s exactly the case :slight_smile: Night mode is like that (well, you do what you want)

That’s perfect, I can’t wait.

I have a quick question, to come back to the request to make Gladys « speak ».
Is it possible, in the development of this feature, to include a few short phrases / a few sounds to play on the tablet in question?
Like:

  • « alarm activated »
  • « alert in 15 seconds »
  • « intrusion alert »

Things like that.