Hello Again.
i managed to connect the Green api, and to send messages.
i will try to find how to take screenshots from my unifi cameras. but i have a bigger problem. after i scanned the QR from green-api i dont get notifications on my phone for new whatsapps. i can see the massages in the chats but i dont get notified about any whatsapp i get on my phone.
Hello! Using a different phone number than the one registered with our WhatsApp could be a potential solution. I’ve personally tried this approach, and haven’t found another workaround yet. Hope this helps!
Hi, you need create an automation, triggered by camera motion detection, then perform 2 actions: 1) take a snapshot from camera and store under selected location, 2) send message using the API with screenshot within data, please refer to below automation YAML
alias: WhatsApp alert on entrance person detection
description: WhatsApp alert on entrance person detection
trigger:
platform: state
entity_id:
<binary_sensor.YOUR_CAMERA_MOVEMENT_SENSOR>
to: “on”
condition:
action:
hello .
is there an option of sending a whatsapp to home assistant.
so basically when i send a whatsapp to a specific chat then i can make an automation to turn on the light for example.