SomfyProtect2MQTT icon indicating copy to clipboard operation
SomfyProtect2MQTT copied to clipboard

get the alarm alert status

Open yozart opened this issue 10 months ago • 2 comments

Hello guys, Pretty new to HA, I'm also using nodered which is very visual. When my alarm is yelling, I wanted to send an alert through home assistant to my phone. I can't find a way of doing it :/ might be dumb question, sorry, but didn't find anything in the how-to / forum / the web on how to perform it. Kind regards

yozart avatar Apr 14 '24 22:04 yozart

Hello,

I don't know how nodered works, but must work in HA automation:

description: "Notify on Alarm Triggered"
mode: single
trigger:
  - platform: state
    entity_id:
      - alarm_control_panel.somfy_home_alarm_maison
    to: triggered
condition: []
action:
  - service: notify.mobile_app_***
    metadata: {}
    data:
      title: Alarm
      message: Alarm is Triggered !!

Minims avatar Apr 17 '24 19:04 Minims

Hello,

i m new to nodered so i think something like this will work

  1. install "node-red-contrib-home-assistant-websocket" via Manage Palette (alt-p) or npm via npm install node-red-contrib-home-assistant-websocket
  2. add your server HA in config guide here
  3. in main tab add 'event : state' block from Home assistant image

double clic it to edit it conf fd9668fbb19644127f502e78555e105a server : your server entity : select your alarm if state : is triggered

kahatie avatar May 02 '24 13:05 kahatie

Hello, thanks for the reply, I managed to get it working by using a "State changed" event and the proper entity with below config :

image

image

yozart avatar May 06 '24 14:05 yozart