Triggering motion zones using admin http commands, not working how i thought they would?

mike392

n3wb
Apr 6, 2023
1
0
Australia
I'm currently trying to externally trigger my cameras to record alerts and sort the clips to their respective Zone A and Zone B folders.
Current set up:
Frigate > Home Assistant > ...
when HA Frigate integration sensor detects occupancy in frigate zone A...
send REST command to blue iris -- seen below from my home assistant config.

YAML:
####DRIVEWAY###########################
  driveway_zone_a_frigate_trigger:
    url: http://192.168.0.100:81/admin?camera=driveway&trigger&zones=1&memo=frigate_triggered_driveway_a

  driveway_zone_b_frigate_trigger:
    url: http://192.168.0.100:81/admin?camera=driveway&trigger&zones=2&memo=frigate_triggered_driveway_b

  bidriveway_frigate_stop_trigger:
    url: http://192.168.0.100:81/admin?camera=driveway&trigger=0&memo=frigate_stop_triggered_motion

####DOORBELL###########################
  doorbell_zone_a_frigate_trigger:
    url: http://192.168.0.100:81/admin?camera=doorbell&trigger&zones=1&memo=frigate_triggered_doorbell_a

  doorbell_zone_b_frigate_trigger:
    url: http://192.168.0.100:81/admin?camera=doorbell&trigger&zones=2&memo=frigate_triggered_doorbell_b

  bidoorbell_frigate_stop_trigger:
    url: http://192.168.0.100:81/admin?camera=doorbell&trigger=0&memo=frigate_stop_triggered_motion

Currently works flawlessly, except none of the clips are saved into their zone folders (views?), just Alerts.



As per BI's documentation, if im understanding correctly, the &zones=1 should be doing what I'm saying it should be?

/admin?camera=x&trigger=1&zones=z Trigger camera or group x (short name) as a Motion source. Zone bits z are combined powers of 2 … the zone A value is 1, zone B is 2, zone C is 4 … zone H is 128