Looking for a camera fully integrable in HA

Hi, I’m looking for a cheap camera which is fully integrable in Home Assistant (Hassio).
I need to create automations in which I command it to active presence detection and recording only if alarm system is in “away mode”, then if presence is detected it will start system in “alarm mode” and play siren.

I know Foscan camera support this commands but they are a little expensive (about 100 eur/usd).
Do you help me to find cheap camera (about 50 eur/usd) which is fully integrable in Home Assistant automations?

I don’t use it but there is this:

Wyze Cam:

camera:
  - platform: ffmpeg
    name: Test Cam
    input: "rtsp://username:password@ipaddr/live"

$25 on Amazon: https://amzn.to/2mQqQ2w
$20 at their site directly: https://wyze.com/wyze-cam.html