Push Notifications with Pictures (Ariela + Ubiquiti)

Hi all,

Have anyone succeded in sending Push Notifications using the Ariela app and HANotify?

What I have right now is a pretty standard setup, where my cameras are added and shows a picture that updates every 10th second. If I long press the picture it provides me with a live feed.

EDIT: What I want to accomplished is, to provide a push notification with a picture from my cameras when a sensor is triggered or my alarm goes off. I don’t need live stream, because that is covered in another app. For now it is fine with a picture.

Anyone having it running and perhaps an easy explanation of how to achieve it?

What do your cameras have to do with Ariela and HANotify?

I’m using android notifications with Ariela here, they work fine. Probably more reliably than HTML5 notifications. The setup is laid out pretty well in the documentation.

http://ariela.surodev.com/2018/11/08/push-notifications/

Sorry I forgot to provide that information initially. Let me edit my post!

Hey all,
For those of you who are interested, i got it up and running by setting up this automation:

### Backyard Motion Sensor Notification w. Picture ###
- alias: '[Backyard] Android Notifikation - Motion w. picture'
  trigger:
    platform: state
    entity_id: binary_sensor.motion_sensor_xxxxxxxxxxxxxxxxxx
    to: 'on'
  condition:
    - condition: state
      entity_id: alarm_control_panel.house
      state: 'armed_away'
  action:
  - delay: 2
  - service: camera.snapshot
    data:
      entity_id: camera.xxxxx
      filename: '/config/www/camera.xxxxx.jpg'
  - service: notify.android
    data_template:
      title: cam
      message: move
      data:
        image: 'http://1yourdomainorIP/local/ccamera.xxxxx.jpg?{{now().second}}'

Works like a charm! :slight_smile:

3 Likes

@Yoinkz i am testing your example :

- service: notify.android
    data_template:
      title: cam
      message: move
      data:
        image: 'http://1yourdomainorIP/local/ccamera.xxxxx.jpg'

But when i click on notify, the image not shows on screen,i want full image and not small image.
An alternative?

Hmm, I’m not sure if I understand you correctly.
But what happens on my phone is that I get a Notification, from Ariela app. If I then slide down the top menu bar it shows a bigger picture within that. I can’t click on it and then Android notification bar) a ‘full’ picture is shown. I haven’t tried to fiddle around with that part.

The picture size is enough for me thou on the notification.

Here is an example:

1 Like

Hello all, How my cam can take a snapshot while motion detection. I can only see the cam view. I want to push notification with pictures when motion detect. I have Dahua cam DH-IPC-HDBW4433R-S in my setup.

Component -platform: generic i must click on the card for view cam, but platform: ffmpeg i can see the view without a click on the card.

i use motion detection with component binary_sensor:

binary_sensor:
  - platform: ffmpeg_motion
    input: rtsp://admin:[email protected]:12100
    name: Outdoor motion
    changes: 50
    reset: 20

Camera view method 1

camera:
  - platform: generic
    stream_source: rtsp://admin:[email protected]:12100/VideoInput/1/h264/1
    still_image_url: http://192.168.1.223:12100/cgi-bin/snapshot.cgi
    verify_ssl: true
    authentication: basic
    name: cam

and Camera view method 2

  - platform: ffmpeg
    input: !secret Dahua_dome_cam_ffmpeg
    name: Outdoor