could it be used with different arming codes (for each family member)? Meaning each has its own code while keeping the panic mode code the same for all; by doing this it can be further included into a sensor to show who’s code was used for arming/disarming;
set the iframe color scheme to be the same as HADashboard (when used with HADashboard widget it is showing the proper background however with iframe it loads as in HA);
add a counter for each sensor triggering while in armed mode;
add digit input obfuscating; when used from the regular HA component digits are not shown however in the custom panel they are in clear.
I have a Cyrus 4 in 1 Multisensor and would like to use the motion sensor entity to trigger the alarm. There is also a entity called binary_sensor.vision_zp3111_multisensor_4in1_sensor but the status is always off. So I tried to use the entity sensor.vision_zp3111_multisensor_4in1_burglar instead. When no motion detected the status is “0”, when motion detected the status is “8”. I have tried it in the beggining with the normal “Manual Alarm” functionality in Home Assistant and it worked quite well with the following content in my automation.yaml:
action:
service: alarm_control_panel.alarm_trigger
alias: Trigger alarm while armed away
condition:
condition: state
entity_id: alarm_control_panel.ha_alarm
state: armed_away
id: ‘1517755696067’
trigger:
entity_id: sensor.vision_zp3111_multisensor_4in1_burglar
platform: state
to: ‘8’
action:
service: notify.einbrecher_meldung
data:
message: ALARM! The alarm has been triggered
alias: Send notification when alarm triggered
condition: []
id: ‘1517763798806’
trigger:
entity_id: alarm_control_panel.ha_alarm
platform: state
How can I add the sensor.vision_zp3111_multisensor_4in1_burglar into this alarm system with the status “0” and “8”?
The automation remains roughly the same (although I would suggest setting a binary sensor with on/off instead of the sensor with 8/0 payloads for motion as you could also use sensor class).
Just change the alarm panel entity_id to the actual one (alarm_control_panel.house if you did not modify the setting in the github).
thank you for your reply. I´m quite new in HA so could you explain more in detail what to do please?
I have added both entities (sensor.vision_zp3111_multisensor_4in1_burglar and binary_sensor.vision_zp3111_multisensor_4in1_sensor) into the alarm.yaml but I can only see the binary_sensor.vision_zp3111_multisensor_4in1_sensor in the panel below “All Sensors”.
The sensor.vision_zp3111_multisensor_4in1_burglar is not listed there.
The binary_sensor.vision_zp3111_multisensor_4in1_sensor always has the status “off” so for me it is not clear how to integrate the burglar sensor.
Does the automation work with the new entity id for the alarm panel?
My suggestion was that (after you solve the alarm panel issue) to use, in the automation, a binary sensor instead of a simple sensor as it can be setup with a class (it adds a custom icon for when is motion detected vs. when no motion). I was not referring to use the binary sensor set by Cyrus 4. A binary sensor in your case can be setup as a template (see below) although I think that the Z-wave panel should allow you to set it as “native” binary sensor (however, in my case, I found the process to be quite annoying).
Have a look at the binary sensor documentation:
Basically the payload need to be open/true/on or closed/false/off and it is easier to do automations based on state “on” or “off” as it is standardized.
Also, there’s another advantage for using binary sensor instead of simple sensor as in the state you can also use “for” clause (as in “how long was the binary sensor in the state on or off?”).
I didn’t used 0 as payload for false as my Z-wave sensor also throws 254 when not in use for some time.
Thank you very much. It works like a charm now.
I just had a little trouble with the device_class “motion” because in my sensors.yaml it didn´t work but then I have put in the my customize.yaml and now it works.