Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable alarm triggering when broader range of devices are used, e.g. someone turns on light #1039

Open
2 tasks done
hajar97 opened this issue Oct 3, 2024 · 13 comments
Open
2 tasks done

Comments

@hajar97
Copy link

hajar97 commented Oct 3, 2024

Checklist

  • I checked for similar existing requests (both open and closed) before posting.
  • My request is generic, other users may benefit from it too.

Proposal

Currently alarm can be triggered only for sensors. However, it is equally valuable to trigger alarm when some devices are activated. For example, if someone breaks into a house and uses light switch to turn on. Since no one is home lights should not be activated. If someone activated them then its a trigger for alarm.

Additional info

Other examples include, moving curtains, opening/closing shutters, turning on devices connected to sockets, etc.

@lionslair
Copy link

Could just do this via automation if alarm is armed

@hajar97
Copy link
Author

hajar97 commented Oct 5, 2024 via email

@lionslair
Copy link

I could indeed. I could do the whole functionality of Alarmo via automations, but then whats the point of it at all, if its not the ease of use?To setup such automations its a lot of clicks per each device. In Alarmo UI I could just use it like any other sensor, tick the box next to it and if it is turned on/off I’d get alarm triggered. May be I am missing a good reason why not allow people to do that?On 5 Oct 2024, at 02:48, Nathan Rzepecki @.> wrote: Could just do this via automation if alarm is armed —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.>

Personally I don't see why you can not create extra sensors via helpers so that is shows what you want under the sensor list. Personally I would not want to see every possible other entity in my HA as a sensor in alarmo. Feel you want here is a little niche. Maybe at best a way to add in extra entities manually.

@hajar97
Copy link
Author

hajar97 commented Oct 5, 2024 via email

@lionslair
Copy link

Any time any alarm is triggered I turn on all lights in the whole house and outside regardless of time of day. I do not see how someone could get into the house without breaking a window entering via a door or ceiling and not triggering a motion sensor. Camera motion. Unless they were going ultra slow.

If they did all lights turn on. maybe I. Just making their life easier then.

Maybe your use case is you have less sensors to detect unauthorised entry.

Wouldn't work. In my situation I could turn on any light without pressing the switch. Over done it before I wouldn't want to trigger the alarm if I turn lights on while the house was armed.

@hajar97
Copy link
Author

hajar97 commented Oct 5, 2024 via email

@nielsfaber
Copy link
Owner

Alarmo only supports binary_sensor entities.
If you want to use the state of a light to trigger the alarm, you can create a template sensor.
See https://www.home-assistant.io/integrations/template/.

@hajar97
Copy link
Author

hajar97 commented Oct 19, 2024 via email

@nielsfaber
Copy link
Owner

No chance.
I cannot determine for everyone which entity states should be considered as safe and which should as unsafe.
I think it’s best if the user provides this mapping logic himself by means of a template sensor.
I don’t consider this a workaround, it’s just making use of features that are already in HA.

@hajar97
Copy link
Author

hajar97 commented Oct 19, 2024 via email

@nielsfaber
Copy link
Owner

What about them?
I still believe the desired behaviour depends on the user.
For example, I have lights that I leave on when I am out of the house in the night.
In this case it would make more sense to trigger the alarm when this light is turned off by a burglar.
In short, am not going to implement hard-coded mapping of entity states to safe/unsafe scenarios.
I suggest to use the template sensor to achieve your goal, I think it’s the most generic and flexible solution.

@hajar97
Copy link
Author

hajar97 commented Oct 19, 2024 via email

@nielsfaber
Copy link
Owner

I am sorry if you get the feeling I am not open to new ideas to expand Alarmo, this is not the case.
The fact is that feature requests are opened every week and I have very limited time available to implement them.
Hence I feel the need to be selective and consider the benefit for all users / generic use, rather than simply fulfilling a request of one user.
Since in this case you can already achieve your goal via template sensors, I think that is an acceptable compromise.
If you see Alarmo too limited for your usage and rather use the manual alarm, just go for it. I found that too limiting/cumbersome which is why I started this project in the first place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants