SomfyProtect2MQTT
SomfyProtect2MQTT copied to clipboard
get the alarm alert status
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
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 !!
Hello,
i m new to nodered so i think something like this will work
- install "node-red-contrib-home-assistant-websocket" via Manage Palette (alt-p) or npm via npm install node-red-contrib-home-assistant-websocket
- add your server HA in config guide here
- in main tab add 'event : state' block from Home assistant
double clic it to edit it conf
server : your server
entity : select your alarm
if state : is triggered
Hello, thanks for the reply, I managed to get it working by using a "State changed" event and the proper entity with below config :