Home assistant 117 Button Automation Alarm

Опубликовано: 24 Июль 2026
на канале: Average Automation
1,959
41

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/DDG...

Additional items used not shown in the video.
Sonoff RF Bridge
https://www.banggood.com/custlink/DGK...

Wireless door sensor with 2 codes
https://www.banggood.com/custlink/vDv...

Pir Sensor
https://www.banggood.com/custlink/Kvm...

Ftdi Programer
https://www.banggood.com/custlink/Gmv...

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
  / avgauto