I have a Z-Wave door sensor hooked up to my door bell, that detects whenever someone rings the bell. Then I wish to trigger Blue Iris so that a picture from the camera overlooking the door is emailed to me. The triggering is via an automation in HA that is activated by the door sensor and sends an MQTT message to Blue Iris.
The door bell does indeed activate the door sensor every time, and does start the automation in HA, so that part seems ok.
If I run the automation manually be clicking “Run actions” in HA, then Blue Iris does indeed email me that picture, so that part seems ok, too.
However, when I ring the door bell, the automation runs, MQTT message is sent, but there is no action in Blue Iris.
I have tried to replace the MQTT message with a REST call from HA to Blue Iris, but with the exact same result.
Since Blue Iris does what I want it do when I click “Run actions” in HA, I suspect the issue must be within HA.
Automation:
alias: Ringeklokke
description: ''
trigger:
- type: opened
platform: device
device_id: be2be98882a05bbf94363272585ab9d9
entity_id: binary_sensor.door_window_sensor_access_control_window_door_is_open
domain: binary_sensor
condition: []
action:
- service: mqtt.publish
data:
topic: BlueIris/admin
payload: camera=Cam1&trigger&user=XXXX&pw=XXXX
mode: single
Any clues, please?