I have installed a z-wave natural gas detector. I would like to use it to send a message to my mobile phone when natural gas is detected.
mu question to all of you is: what is the best/easiest way to get Home Assistant to send a free message to a phone?
My first instinct is to set up a xmpp server and send message to my free xmpp client on my mobile phone.
What are other options? or is there an easy to do this? xmpp server is actually not that easy to set up. If there a better way to do this, I am interested in different options
I have now installed the free Telegram service and do like it a lot as I can send as many messages I want to a individual ppl or even groups… and it is damn fast … even supports sending Video-Snapshots taken from my surveillance feeds.
@kngharv. Home assistant has it’s own persistent notification option that sends notification to you when you set a trigger but there are also other available options to easily do so. I prefer pushetta for this because it is really easy to use and it also can send images along with notifications which can be beneficial at times. This service requires Wi-Fi or mobile data.
Have a look at this automation on my GH page. Living lights turn on depending on a light sensor. I get an iOS alert when this automation turns on the lights.
The HA persistent notification requires you to download the HA app on your device. Then you just need to add the persistent notification component to your automation and allow the HA app to send notification to your phone and then you will be good to go. @kngharv
action:
service: notify.NOTIFIER_NAME
data:
title: Send an images
message: "That's an example that sends an image."
data:
photo:
- url: http://192.168.1.28/camera.jpg
username: admin
password: secrete
- file: /tmp/picture.jpg
caption: Picture Title xy
- url: http://somebla.ie/video.png
caption: I.e. for a Title
and for video:
action:
service: notify.NOTIFIER_NAME
data:
title: Send a video
message: "That's an example that sends a video."
data:
video:
- url: http://192.168.1.28/camera.mp4
username: admin
password: secrete
- file: /tmp/video.mp4
caption: Video Title xy
- url: http://somebla.ie/video.mp4
caption: I.e. for a Title