Hi all. I just discovered that I can use cheap 433MHZ motion detectors and a Sonoff bridge with ESPHome. Works great! Now I want to have an automation that on motion detect sends an HTTP request to BlueIris to start a camera recording.
I need to send http://my.blueiris.server:6060/admin?camera=Hik-3&trigger=1
I looked at setting up a rest command service but I’m unclear on the details. If I do this:
rest_command:
record_backyard:
url: "http://my.blueiris.server:6060/"
method: get
content_type: "application/x-www-form-urlencoded"
payload: "admin?camera=Hik-3&trigger=1"
What do I put in the service data?
If anyone else has done this, I’d love to see your config files.
Thanks!