Home assistant 117 Button Automation Alarm
Average Automation
Today we are setting up a button automation that will allow us to arm and disarm the alarm system set up in previous videos.
As stated in the video this is a one code button that can easily be cloned by someone to send the same code to arm and disarm the alarm. If you are concerned about safety or someone cloning the button, I would always suggest getting a different alarm system or not using the button.
Items used: Fixed code button 10 Pack https://www.banggood.com/custlink/DDGvMZ8HVE
Additional items used not shown in the video. Sonoff RF Bridge https://www.banggood.com/custlink/DGKKnwmNWb
Wireless door sensor with 2 codes https://www.banggood.com/custlink/vDvDN7GQdU
Pir Sensor https://www.banggood.com/custlink/Kvm3NTGbte
Ftdi Programer https://www.banggood.com/custlink/GmvmsfGN5p
Code in configuration.yaml
- platform: mqtt state_topic: "tele/tasmota/RESULT" name: 'button1' value_template: '{{value_json.RfReceived.Data}}' payload_on: '2C4528' payload_off: '2C4524' device_class: lock
Follow me on Twitter https://twitter.com/AvgAuto ... https://www.youtube.com/watch?v=ZA8ci9ACQAc
74734849 Bytes