Skip to content

MiguelRenato/HA_Alarmo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 

Repository files navigation

HA Alarmo

My Home Alarm Project

Go to Home Assistant ->HACS and install:

Integration Alarmo for Home Assistant: https://github.com/nielsfaber/alarmo

Lovelace Alarmo Card for Home Assistant: https://github.com/nielsfaber/alarmo-card

All credits and thanks go to: https://github.com/nielsfaber

alarmo-sensors.yaml

esphome:
  name: alarmo-sensors

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:
  password: !secret ota_password

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Alarmo Fallback Hotspot"
    password: !secret ap_password

captive_portal:
#################################
# ESPHome Alarm / Miguel Renato #
#################################
web_server:
  port: 2222
  auth:
    username: !secret username
    password: !secret password
#Sensor type PIR / Zones
binary_sensor:
  - platform: gpio
    name: "Zone 1"
    device_class: motion
    pin:
      number: GPIO16
      mode: INPUT_PULLDOWN
      inverted: True
#---------------------------
  - platform: gpio
    name: "Zone 2"
    device_class: motion
    pin:
      number: GPIO17
      mode: INPUT_PULLDOWN
      inverted: True
#---------------------------
  - platform: gpio
    name: "Zone 3"
    device_class: motion
    pin:
      number: GPIO18
      mode: INPUT_PULLDOWN
      inverted: True
#---------------------------
  - platform: gpio
    name: "Zone 4"
    device_class: motion
    pin:
      number: GPIO19
      mode: INPUT_PULLDOWN
      inverted: True
#---------------------------
  - platform: gpio
    name: "Zone 5"
    device_class: motion
    pin:
      number: GPIO21
      mode: INPUT_PULLDOWN
      inverted: True
#---------------------------
  - platform: gpio
    name: "Zone 6"
    device_class: motion
    pin:
      number: GPIO22
      mode: INPUT_PULLDOWN
      inverted: True
#---------------------------
  - platform: gpio
    name: "Zone 7"
    device_class: motion
    pin:
      number: GPIO23
      mode: INPUT_PULLDOWN
      inverted: True
#---------------------------
  - platform: gpio
    name: "Zone 8"
    device_class: motion
    pin:
      number: GPIO25
      mode: INPUT_PULLDOWN
      inverted: True
#---------------------------
  - platform: gpio
    name: "Alarm Tamper"
    device_class: door
    pin:
      number: GPIO26
      mode: INPUT_PULLDOWN
      inverted: False
# Outdoor Siren
switch: 
  - platform: gpio
    name: Outdoor Siren/Strobe
    pin: GPIO14
    
# Piezo buzzer
  - platform: gpio
    pin: GPIO13
    inverted: yes
    id: beep
    
  - platform: template
    name: Beep-Short
    turn_on_action:
      - switch.turn_on: beep
      - delay: 600ms
      - switch.turn_off: beep
      
  - platform: template
    name: Beep-Long
    turn_on_action:
      - switch.turn_on: beep
      - delay: 60000ms
      - switch.turn_off: beep
      
  - platform: template
    name: Beep-Three Times
    turn_on_action:
      - switch.turn_on: beep
      - delay: 60ms
      - switch.turn_off: beep
      - delay: 60ms
      - switch.turn_on: beep
      - delay: 60ms
      - switch.turn_off: beep
      - delay: 60ms
      - switch.turn_on: beep
      - delay: 60ms
      - switch.turn_off: beep

About

My Alarm Home Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published